全部产品
云市场

查询视频转码摘要

更新时间:2019-03-01 19:28:52

描述

根据视频ID查询视频转码摘要,包括视频转码状态、转码进展等汇总信息。由于可能存在多次转码,故该接口只返回最近一次的转码摘要。

说明:如要查询历史转码任务信息,可调用 ListTranscodeTask 接口。

请求参数

参数名称 参数类型 必填项 描述
Action String 接口名称,取值:GetTranscodeSummary
VideoIds String 视频ID,多个用英文逗号分隔,最多支持10个

返回参数

参数名称 参数类型 描述
RequestId String 请求ID
TranscodeSummaryList TranscodeSummary[] 视频转码基础信息列表。
NonExistVideoIds String[] 不存在的视频ID列表。

请求示例

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

返回示例

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  3. "TranscodeSummaryList":[
  4. {
  5. "VideoId":"hhhhhhhhh",
  6. "TranscodeStatus":"Processing",
  7. "TranscodeTemplateGroupId":"uuuuuuuuuu",
  8. "CreationTime":"2019-01-23T12:35:12Z",
  9. "CompleteTime":"2019-01-23T12:35:12Z"
  10. "TranscodeJobInfoSummaryList": [
  11. {
  12. "Format": "mp4",
  13. "Encryption": "{}",
  14. "TranscodeProgress": 100,
  15. "Height": "960",
  16. "CreationTime": "2019-02-27T03:34:46Z",
  17. "CompleteTime": "2019-02-27T03:34:51Z",
  18. "TranscodeJobStatus": "TranscodeSuccess",
  19. "Filesize": 1144259,
  20. "WatermarkIdList": [
  21. "64079a0e3ea5c223b48a8c9413"
  22. ],
  23. "Duration": "12",
  24. "TranscodeTemplateId": "0ff6d65db780ccc643434f38ff",
  25. "Width": "544",
  26. "Fps": "30",
  27. "Bitrate": "749",
  28. "Definition": "LD"
  29. },
  30. {
  31. "Format": "m3u8",
  32. "Encryption": "{\"EncryptType\":\"AliyunVoDEncryption\"}",
  33. "TranscodeProgress": 100,
  34. "Height": "640",
  35. "CreationTime": "2019-02-27T03:34:46Z",
  36. "CompleteTime": "2019-02-27T03:34:50Z",
  37. "TranscodeJobStatus": "TranscodeSuccess",
  38. "Filesize": 759520,
  39. "Duration": "12",
  40. "TranscodeTemplateId": "fa0b39136499c54e9c63680ddcfd",
  41. "Width": "360",
  42. "Fps": "25",
  43. "Bitrate": "499",
  44. "Definition": "LD"
  45. },
  46. }
  47. ],
  48. "NonExistVideoIds":["ggggggg","ddddddddd"]
  49. }