|
@@ -140,6 +140,12 @@ public class CloudVideoProcessUtil {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
+ String loadImage = "cutFrame/" + 12345 + "/${Number}.jpg";
|
|
|
+ Map<String, Object> stringObjectMap = videoCutFrameHandle("/video/2020-07-22/1595381635927-JX.美白丸混剪.mp4", loadImage);
|
|
|
+ System.err.println(stringObjectMap);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 数据万象发起视频抽帧处理请求
|
|
|
*/
|
|
@@ -180,7 +186,7 @@ public class CloudVideoProcessUtil {
|
|
|
Map JobsDetail = (Map) ((Map) mapResp.get("Response")).get("JobsDetail");
|
|
|
if (JobsDetail.get("Code").equals("Success")) {
|
|
|
Map jobStatusMap = null;
|
|
|
- for (int i = 0; i < 10; i++) {
|
|
|
+ for (int i = 0; i < 30; i++) {
|
|
|
try {
|
|
|
Thread.sleep(1000);
|
|
|
} catch (InterruptedException e) {
|