すべてのプロダクト
Search
ドキュメントセンター

QueryMediaInfoJobList

最終更新日: Mar 18, 2020

Description

The QueryMediaInfoJobList API queries information about MediaInfo tasks.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to QueryMediaInfoJobList.
MediaInfoJobIds String Yes List of MediaInfo task IDs separated by commas (,). A maximum of 10 MediaInfo task IDs can be entered at a time.

Return parameters

Name Type Description
MediaInfoJobList AliyunMediaInfoJob[ ] MediaInfo task list.
NonExistMediaInfoJobIds String[ ] List of non-existing MediaInfo task IDs. If no data exists, this structure is not returned.

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com/?Action=QueryMediaInfoJobList&MediaInfoJobIds=88c6ca184c0e47098a5b665e2a126797<Public Parameters>

Return example

XML

  1. <QueryMediaInfoJobListResponse>
  2. <RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
  3. <MediaInfoJobList list="true">
  4. <MediaInfoJob>
  5. <JobId>88c6ca184c0e47098a5b665e2a126797</JobId>
  6. <Input>
  7. <Bucket>example-bucket</Bucket>
  8. <Location>oss-cn-hangzhou</Location>
  9. <Object>example.flv</Object>
  10. </Input>
  11. <UserData>testid-001</UserData>
  12. <State>Analyzing</State>
  13. <Properties>
  14. <Streams>
  15. <VideoStreamList>
  16. <VideoStream>
  17. <Index>1</Index>
  18. <CodecName>h264</CodecName>
  19. <CodecLongName>H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10</CodecLongName>
  20. <Profile>High</Profile>
  21. <CodecTimeBase>1001/48000</CodecTimeBase>
  22. <CodecTagString>[0][0][0][0]</CodecTagString>
  23. <CodecTag>0x0000</CodecTag>
  24. <Width>1920</Width>
  25. <Height>1080</Height>
  26. <HasBFrames>1</HasBFrames>
  27. <Sar>1:1</Sar>
  28. <Dar>16:9</Dar>
  29. <PixFmt>yuv420p</PixFmt>
  30. <Level>41</Level>
  31. <Fps>25</Fps>
  32. <AvgFPS>24000/1001</AvgFPS>
  33. <Timebase>1/1000</Timebase>
  34. <StartTime>0.042000</StartTime>
  35. <Duration>100</Duration>
  36. <Bitrate>30541090</Bitrate>
  37. <NumFrames>100</NumFrames>
  38. <Lang>eng</Lang>
  39. <NetworkCost>
  40. <PreloadTime>8</PreloadTime>
  41. <CostBandwidth>10</CostBandwidth>
  42. <AvgBitrate>300.34</AvgBitrate>
  43. </NetworkCost>
  44. </aliyun_video_stream>
  45. </VideoStreamList>
  46. <AudioStreamList>
  47. <AudioStream>
  48. <Index>1</Index>
  49. <CodecName>dca</CodecName>
  50. <CodecTimeBase>1/48000</CodecTimeBase>
  51. <CodecLongName>DCA (DTS Coherent Acoustics)</CodecLongName>
  52. <CodecTagString>[0][0][0][0]</CodecTagString>
  53. <CodecTag>0x0000</CodecTag>
  54. <SampleFmt>fltp</SampleFmt>
  55. <Samplerate>48000</Samplerate>
  56. <Channels>2</Channels>
  57. <ChannelLayout>5.1(side)</ChannelLayout>
  58. <Timebase>1/1000</Timebase>
  59. <StartTime>0.042000</StartTime>
  60. <Duration>123</Duration>
  61. <Bitrate>1536000</Bitrate>
  62. <NumFrames>123</NumFrames>
  63. <Lang>eng</Lang>
  64. </aliyun_audio_stream>
  65. </AudioStreamList>
  66. <SubtitleStreamList>
  67. <SubtitleStream>
  68. <Index>3</Index>
  69. <Lang>eng</Lang>
  70. </aliyun_subtitle_stream>
  71. </SubtitleStreamList>
  72. </Streams>
  73. <Format>
  74. <NumStreams>1</NumStreams>
  75. <NumPrograms>2</NumPrograms>
  76. <FormatName>matroska,webm</FormatName>
  77. <FormatLongName>Matroska / WebM</FormatLongName>
  78. <StartTime>0.042000</StartTime>
  79. <Duration>17.600000</Duration>
  80. <Size>70569598</Size>
  81. <Bitrate>32077090</Bitrate>
  82. </Format>
  83. </Properties>
  84. <Code> </Code>
  85. <Message> </Message>
  86. <PipelineId>88c6ca184c0e47098a5b665e2a126797</PipelineId>
  87. <CreationTime>2014-01-10T12:00:00Z</CreationTime>
  88. </MediaInfoJob>
  89. </MediaInfoJobList>
  90. </QueryMediaInfoJobListResponse>

JSON

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  3. "MediaInfoJobList":{
  4. "MediaInfoJob": [{
  5. "JobId": "88c6ca184c0e47098a5b665e2a126797",
  6. "Input": {
  7. "Bucket": "example-bucket",
  8. "Location": "oss-cn-hangzhou",
  9. "Object": "example.flv"
  10. },
  11. "Properties":{
  12. "Streams":{
  13. "VideoStreamList":{
  14. "VideoStream":[
  15. {
  16. "Index":"1",
  17. "CodecName":"h264",
  18. "CodecLongName":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
  19. "Profile":"High",
  20. "CodecTimeBase":"1001/48000",
  21. "CodecTagString":"[0][0][0][0]",
  22. "CodecTag":"0x0000",
  23. "Width":"1920",
  24. "Height":"1080",
  25. "HasBFrames":"1",
  26. "Sar":"1:1",
  27. "Dar":"16:9",
  28. "PixFmt":"yuv420p",
  29. "Level":"41",
  30. "Fps":"25",
  31. "AvgFPS":"24000/1001",
  32. "Timebase":"1/1000",
  33. "StartTime":"0.042000",
  34. "Duration":"100",
  35. "Bitrate":"30541090",
  36. "NumFrames":"100",
  37. "Lang":"eng",
  38. "NetworkCost":{
  39. "PreloadTime":"8",
  40. "CostBandwidth":"10",
  41. "AvgBitrate":"300.34"
  42. }
  43. }
  44. ]
  45. },
  46. "AudioStreamList":{
  47. "AudioStream":[
  48. {
  49. "Index":"1",
  50. "CodecName":"dca",
  51. "CodecTimeBase":"1/48000",
  52. "CodecLongName":"DCA (DTS Coherent Acoustics)",
  53. "CodecTagString":"[0][0][0][0]",
  54. "CodecTag":"0x0000",
  55. "SampleFmt":"fltp",
  56. "Samplerate":"48000",
  57. "Channels":"2",
  58. "ChannelLayout":"5.1(side)",
  59. "Timebase":"1/1000",
  60. "StartTime":"0.042000",
  61. "Duration":"123",
  62. "Bitrate":"1536000",
  63. "NumFrames":"123",
  64. "Lang":"eng"
  65. }
  66. ]
  67. },
  68. "SubtitleStreamList":{
  69. "SubtitleStream":[
  70. {
  71. "Index":"3",
  72. "Lang":"eng"
  73. }
  74. ]
  75. }
  76. },
  77. "Format":{
  78. "NumStreams":"1",
  79. "NumPrograms":"2",
  80. "FormatName":"matroska,webm",
  81. "FormatLongName":"Matroska / WebM",
  82. "StartTime":"0.042000",
  83. "Duration":"17.600000",
  84. "Size":"70569598",
  85. "Bitrate":"32077090"
  86. }
  87. },
  88. "UserData":"testid-001",
  89. "State": "Analyzing",
  90. "Code": "",
  91. "Message": "",
  92. "PipelineId": "88c6ca184c0e47098a5b665e2a126797",
  93. "CreationTime”:”2014-01-10T12:00:00Z"
  94. }]
  95. }
  96. }