全部产品
媒体转码

查询模板分析作业

更新时间:2017-06-07 13:26:11   分享:   

查询模版分析作业

描述

查询模板分析作业接口,模板分析作业完成后,返回可用的预置模板列表。

请求参数

名称 类型 必填项 描述
Action String 操作接口名,系统规定参数,取值:QueryAnalysisJobList
AnalysisJobIds String 模板分析作业ID列表,一次最多查询10个,多个使用逗号”,”作为分隔符

返回参数

名称 类型 描述
AnalysisJobList AliyunAnalysisJob[ ] 模板分析作业列表
NonExistAnalysisJobIds String[ ] 不存在的模板分析作业ID列表,无数据时该结构不返回

示例

请求示例

  1. http://mts.cn-hangzhou.aliyuncs.com/?Action=QueryAnalysisJobList&AnalysisJobIds=31fa3c9ca8134f9cec2b4b0b0f787830&<公共参数>

返回示例

XML:

  1. <QueryAnalysisJobListResponse>
  2. <RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
  3. <AnalysisJobList list="true">
  4. <AnalysisJob>
  5. <Id>88c6ca184c0e47098a5b665e2a126797</Id>
  6. <InputFile>
  7. <Bucket>example-bucket</Bucket>
  8. <Location>oss-cn-hangzhou</Location>
  9. <Object>example.flv</Object>
  10. </InputFile>
  11. <AnalysisConfig>
  12. <QualityControl>
  13. <RateQuality>25</RateQuality>
  14. <MethodStreaming>network</MethodStreaming>
  15. </QualityControl>
  16. </AnalysisConfig>
  17. <UserData>testid-001</UserData>
  18. <State>Success</State>
  19. <Code> </Code>
  20. <Message> </Message>
  21. <Percent>100</Percent>
  22. <CreationTime>2014-01-10T12:00:00Z</CreationTime>
  23. <PipelineId>88c6ca184c0e47098a5b665e2a126797</PipelineId>
  24. <TemplateList list="true">
  25. <Template>
  26. <Id>S00000000-000020</Id>
  27. <Name>FLV-UD</Name>
  28. <Container>
  29. <Format>flv</Format>
  30. </Container>
  31. <Video>
  32. <Codec>Auto</Codec>
  33. <Profile>Auto</Profile>
  34. <Bitrate>Auto</Bitrate>
  35. <Crf>Auto</Crf>
  36. <Width>Auto</Width>
  37. <Height>Auto</Height>
  38. <Fps>Auto</Fps>
  39. <Gop>Auto</Gop>
  40. </Video>
  41. <Audio>
  42. <Codec>Auto</Codec>
  43. <Samplerate>Auto</Samplerate>
  44. <Bitrate>Auto</Bitrate>
  45. <Channels>Auto</Channels>
  46. </Audio>
  47. <State>Normal</State>
  48. </Template >
  49. </TemplateList>
  50. </AnalysisJob>
  51. </AnalysisJobList>
  52. </QueryAnalysisJobListResponse>

Json:

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  3. "AnalysisJobList": {
  4. "AnalysisJob": [{
  5. "Id": "88c6ca184c0e47098a5b665e2a126797",
  6. "InputFile": {
  7. "Bucket": "example-bucket",
  8. "Location": "oss-cn-hangzhou",
  9. "Object": "example.flv"
  10. },
  11. "AnalysisConfig": {
  12. "QualityControl": {
  13. "RateQuality": 25,
  14. "MethodStreaming": "network"
  15. }
  16. },
  17. "UserData":"testid-001",
  18. "State": "Success",
  19. "Code": "",
  20. "Message": "",
  21. "Percent": 100,
  22. "PipelineId": "88c6ca184c0e47098a5b665e2a126797",
  23. "CreationTime”:”2014-01-10T12:00:00Z"
  24. "TemplateList": {
  25. "Template": [{
  26. "Id": "S00000000-000020",
  27. "Name": "FLV-UD",
  28. "Container": {
  29. "Format": "flv"
  30. },
  31. "Video": {
  32. "Codec": "Auto",
  33. "Profile": "Auto",
  34. "Bitrate": "Auto",
  35. "Crf": "Auto",
  36. "Width": "Auto",
  37. "Height": "Auto",
  38. "Fps": "Auto",
  39. "Gop": "Auto"
  40. },
  41. "Audio": {
  42. "Codec": "AAC",
  43. "Samplerate": "44100",
  44. "Bitrate": "Auto",
  45. "Channels": "Auto"
  46. },
  47. "State": "Normal"
  48. }]
  49. }
  50. }]
  51. }
  52. }
本文导读目录
本文导读目录
以上内容是否对您有帮助?