add:支持动图任务

This commit is contained in:
wanjiewu
2021-09-10 20:49:59 +08:00
parent ff3b327fcb
commit 96b7f6d790
2 changed files with 40 additions and 0 deletions

View File

@@ -291,6 +291,27 @@ func InvokeMultiTasks() {
},
},
},
cos.MediaProcessJobOperation{
Tag: "Animation",
Output: &cos.JobOutput{
Region: "ap-chongqing",
Object: "output/go_117374C.gif",
Bucket: "wwj-cq-1253960454",
},
Animation: &cos.Animation{
Container: &cos.Container{
Format: "gif",
},
Video: &cos.AnimationVideo{
Codec: "gif",
AnimateOnlyKeepKeyFrame: "true",
},
TimeInterval: &cos.TimeInterval{
Start: "0",
Duration: "",
},
},
},
},
QueueId: "paaf4fce5521a40888a3034a5de80f6ca",
}