Parameter | Description |
Protocol | Adaptive bitrate streaming protocol. Currently, HLS and MPEG-DASH are supported. |
Encryption | Currently, only HLS supports simple AES encryption. MPEG-DASH does not support encryption. |
Substream specification | Controls how many substreams are output and the video and audio transcoding parameters of each substream: Video transcoding parameters: resolution, bitrate, frame rate, codec, etc. Audio transcoding parameters: sample rate, sound channel, codec, etc. |
Whether to filter "low resolution to high resolution" | Generally, a source video with a low resolution cannot be converted to high resolution to improve the video and sound quality. Enabling filtering "low resolution to high resolution" can help avoid unnecessary transcoding |
MediaProcessTask.AdaptiveDynamicStreamingTaskSet
to the ID of the adaptive bitrate streaming template in the API request.MediaProcessTask.AdaptiveDynamicStreamingTaskSet
), and use it to process videos in the console.MediaProcessTask.AdaptiveDynamicStreamingTaskSet
), and in the ApplyUpload request, set procedure
to the created task flow.MediaProcessTask.AdaptiveDynamicStreamingTaskSet
), and in the request to upload video from client, set procedure
to the created task flow.MediaProcessTask.AdaptiveDynamicStreamingTaskSet
), and when uploading video via the console, choose Automatic Processing After Upload and select the created task flow.{"EventType":"ProcedureStateChanged","ProcedureStateChangeEvent":{"TaskId":"1256768367-Procedure-2e1af2456351812be963e309cc133403t0","Status":"FINISH","FileId":"5285890784246869930","FileName":"Animal World","FileUrl":"http://1256768367.vod2.myqcloud.com/xxx/xxx/AtUCmy6gmIYA.mp4","MetaData":{"AudioDuration":60,"AudioStreamSet":[{"Bitrate":383854,"Codec":"aac","SamplingRate":48000}],"Bitrate":1021028,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Duration":60,"Height":480,"Rotate":0,"Size":7700180,"VideoDuration":60,"VideoStreamSet":[{"Bitrate":637174,"Codec":"h264","Fps":23,"Height":480,"Width":640}],"Width":640},"MediaProcessResultSet":[{"Type":"AdaptiveDynamicStreaming","AdaptiveDynamicStreamingTask":{"Status":"SUCCESS","ErrCode":0,"Message":"","Input":{"Definition":10},"Output":{"Definition":10,"Package":"hls","DrmType":"","Url":"http://1256768367.vod2.myqcloud.com/xxx/xxx/adp.10.m3u8"}}},{"Type":"AdaptiveDynamicStreaming","AdaptiveDynamicStreamingTask":{"Status":"SUCCESS","ErrCode":0,"Message":"","Input":{"Definition":20},"Output":{"Definition":20,"Package":"dash","DrmType":"","Url":"http://1256768367.vod2.myqcloud.com/xxx/xxx/adp.20.mpd"}}}],"TasksPriority":0,"TasksNotifyMode":""}}
ProcedureStateChangeEvent.MediaProcessResultSet
contains two adaptive bitrate streams, whose Type
is AdaptiveDynamicStreaming
and Definition
10 and 20 respectively.
Was this page helpful?