ComposeMediaTask
structure.BODY
as shown below (the fields with null value are omitted):{"EventType": "ComposeMediaComplete","ComposeMediaCompleteEvent": {"TaskId": "1256768367-ComposeMedia-f5ac8127b3b6b85cdc13f237c6005d8","Status": "FINISH","ErrCode": 0,"Message": "SUCCESS","Input": {"Tracks": [{"Type": "Video","TrackItems": [{"Type": "Video","SourceMedia": "5285485487985271487","AudioOperations": [{"Type": "Volume","VolumeParam": {"Mute": 1}}]}]},{"Type": "Audio","TrackItems": [{"Type": "Empty","EmptyItem": {"Duration": 5}},{"Type": "Audio","AudioItem": {"SourceMedia": "5285485487985271488","Duration": 15}},{"Type": "Audio","AudioItem": {"SourceMedia": "5285485487985271489","SourceMediaStartTime": 2,"Duration": 14}}]}],"Output": {"FileName": "Video composing effect test","Container": "mp4"}},"Output": {"FileType": "mp4","FileId": 5285485487985271490,"FileUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4"}}}
{"Response":{"EventSet":[{"EventHandle":"EventHandle.N","ComposeMediaCompleteEvent":{"TaskId":"1256768367-ComposeMedia-f5ac8127b3b6b85cdc13f237c6005d8","Status":"FINISH","ErrCode":0,"Message":"SUCCESS","Input":{"Tracks":[{"Type":"Video","TrackItems":[{"Type":"Video","SourceMedia":"5285485487985271487","AudioOperations":[{"Type":"Volume","VolumeParam":{"Mute":1}}]}]},{"Type":"Audio","TrackItems":[{"Type":"Empty","EmptyItem":{"Duration":5}},{"Type":"Audio","AudioItem":{"SourceMedia":"5285485487985271488","Duration":15}},{"Type":"Audio","AudioItem":{"SourceMedia":"5285485487985271489","SourceMediaStartTime":2,"Duration":14}}]}],"Output":{"FileName":"Video composing effect test","Container":"mp4"}},"Output":{"FileType":"mp4","FileId":5285485487985271490,"FileUrl":"http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4"}}}],"RequestId":"335bdaa3-db0e-46ce-9946-51941d9cb0f5"}}
Was this page helpful?