|
@@ -273,6 +273,7 @@ public class MaterialCutFrameServiceImpl extends ServiceImpl<MaterialCutFrameMap
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
JSONArray resultSetArray = respJson.getJSONObject("WorkflowTask").getJSONArray("MediaProcessResultSet");
|
|
JSONArray resultSetArray = respJson.getJSONObject("WorkflowTask").getJSONArray("MediaProcessResultSet");
|
|
if (Check.isNull(resultSetArray)) {
|
|
if (Check.isNull(resultSetArray)) {
|
|
return;
|
|
return;
|
|
@@ -344,7 +345,7 @@ public class MaterialCutFrameServiceImpl extends ServiceImpl<MaterialCutFrameMap
|
|
LoadFileUtil.delFile(coverCutFramePath);
|
|
LoadFileUtil.delFile(coverCutFramePath);
|
|
// 请求从数据接口 获取其余14张截图
|
|
// 请求从数据接口 获取其余14张截图
|
|
Map<String, Object> coverMap = CloudVideoProcessUtil.videoCutFrameHandle(videoUrl, loadImage);
|
|
Map<String, Object> coverMap = CloudVideoProcessUtil.videoCutFrameHandle(videoUrl, loadImage);
|
|
- for (int i = 0; i <= 14; i++) {
|
|
|
|
|
|
+ for (int i = 0; i <= 13; i++) {
|
|
String url = (String) coverMap.get(String.valueOf(i));
|
|
String url = (String) coverMap.get(String.valueOf(i));
|
|
if (!Check.isNull(url)) {
|
|
if (!Check.isNull(url)) {
|
|
String cutFramePath = LoadFileUtil.downLoadFromUrl(url, imageUpLoadPath);
|
|
String cutFramePath = LoadFileUtil.downLoadFromUrl(url, imageUpLoadPath);
|