All Products
Search
Document Center

GetTranscodeSummary

Last Updated: Jul 11, 2019

Description

You can call this operation to query the transcoding summary of one or more videos based on the video IDs. The transcoding summary includes the transcoding status and transcoding progress of each video. A video may be transcoded for multiple times. This operation only returns the latest transcoding summary.

Note: To query information about historical transcoding jobs, call the ListTranscodeTask operation.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to GetTranscodeSummary.
VideoIds String Yes The ID of the video. Separate multiple video IDs with commas (,). You can enter a maximum of 10 video IDs.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
TranscodeSummaryList TranscodeSummary[] The basic information list of the video transcoding summary.
NonExistVideoIds String[] The ID list of videos that were not found.

Sample request

https://vod.cn-shanghai.aliyuncs.com?Action=GetTranscodeSummary&VideoIds="ddddddddd,ggggggg,hhhhhhh"

Sample response

{
  "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  "TranscodeSummaryList":[
    {
      "VideoId":"hhhhhhhhh",
      "TranscodeStatus":"Processing",
      "TranscodeTemplateGroupId":"uuuuuuuuuu",
      "CreationTime":"2019-01-23T12:35:12Z",
      "CompleteTime":"2019-01-23T12:35:12Z"
      "TranscodeJobInfoSummaryList": [
        {
          "Format": "mp4",
          "Encryption": "{}",
          "TranscodeProgress": 100,
          "Height": "960",
          "CreationTime": "2019-02-27T03:34:46Z",
          "CompleteTime": "2019-02-27T03:34:51Z",  
          "TranscodeJobStatus": "TranscodeSuccess",
          "Filesize": 1144259,
          "WatermarkIdList": [
            "64079a0e3ea5c223b48a8c9413"
          ],
          "Duration": "12",
          "TranscodeTemplateId": "0ff6d65db780ccc643434f38ff",
          "Width": "544",
          "Fps": "30",
          "Bitrate": "749",
          "Definition": "LD"
        },
        {
          "Format": "m3u8",
          "Encryption": "{\"EncryptType\":\"AliyunVoDEncryption\"}",
          "TranscodeProgress": 100,
          "Height": "640",
          "CreationTime": "2019-02-27T03:34:46Z",
          "CompleteTime": "2019-02-27T03:34:50Z",
          "TranscodeJobStatus": "TranscodeSuccess",
          "Filesize": 759520,
          "Duration": "12",
          "TranscodeTemplateId": "fa0b39136499c54e9c63680ddcfd",
          "Width": "360",
          "Fps": "25",
          "Bitrate": "499",
          "Definition": "LD"
        },
    }
  ],
  "NonExistVideoIds":["ggggggg","ddddddddd"]
}