Queries details about transcoding jobs based on the transcoding task ID.
Operation description
You can call this operation to query only transcoding tasks created within the past year.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TranscodeTaskId | string | Yes | The ID of the transcoding task. You can use one of the following methods to obtain the ID:
| b1b65ab107e14*****3dbb900f6c1fe0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F4C6D5BE-BF13-45*****6C-516EA8906DCD",
"TranscodeTask": {
"CreationTime": "2019-01-23T12:35:12Z",
"Trigger": "Auto ",
"TaskStatus": "Processing",
"VideoId": "883f5d98107*****b7f20aaa352f",
"CompleteTime": "2019-01-23T12:40:12Z",
"TranscodeTemplateGroupId": "b500c7094bd241*****3e9900752d7c3",
"TranscodeTaskId": "b1b65ab107e14*****3dbb900f6c1fe0",
"TranscodeJobInfoList": [
{
"Definition": "LD",
"CreationTime": "2019-02-26T08:27:16Z",
"InputFileUrl": "http://outin-40564*****e1403e7.oss-cn-shanghai.aliyuncs.com/customerTrans/5b95e568f8e*****47f38e/31f1184c-*****b2a2-f94-c213f.wmv",
"ErrorMessage": "ErrorMessage",
"ErrorCode": "200",
"CompleteTime": "2019-02-26T08:30:16Z",
"TranscodeProgress": 100,
"Priority": "6",
"TranscodeJobStatus": "Transcoding",
"TranscodeTemplateId": "174b0534fea3*****b51c8f0ad1374",
"TranscodeJobId": "38f0e513c88*****85515f9d50be188",
"OutputFile": {
"VideoStreamList": "[{\\\"AvgFPS\\\":\\\"30.0\\\",\\\"Bitrate\\\":\\\"933.814\\\",\\\"CodecLongName\\\":\\\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\\",\\\"CodecName\\\":\\\"h264\\\",\\\"CodecTag\\\":\\\"0x31637661\\\",\\\"CodecTagString\\\":\\\"avc1\\\",\\\"CodecTimeBase\\\":\\\"1/60\\\",\\\"Dar\\\":\\\"9:16\\\",\\\"Duration\\\":\\\"12.033333\\\",\\\"Fps\\\":\\\"30.0\\\",\\\"HasBFrames\\\":\\\"2\\\",\\\"Height\\\":\\\"360\\\",\\\"Index\\\":\\\"0\\\",\\\"Lang\\\":\\\"und\\\",\\\"Level\\\":\\\"30\\\",\\\"PixFmt\\\":\\\"yuv420p\\\",\\\"Profile\\\":\\\"High\\\",\\\"Sar\\\":\\\"81:256\\\",\\\"StartTime\\\":\\\"0.000000\\\",\\\"Timebase\\\":\\\"1/15360\\\",\\\"Width\\\":\\\"640\\\"}]",
"OutputFileUrl": "http://outin-40564*****e1403e7.oss-cn-shanghai.aliyuncs.com/883f5d*****f20aaa352f/c3be4f073*****7d5193ec8-{DestMd5}-od-S00000001-200000.mp4",
"Encryption": "{\\\"EncryptType\\\":\\\"AliyunVoDEncryption\\\"}",
"Height": "360",
"SubtitleStreamList": "[]",
"Bitrate": "964",
"AudioStreamList": "\"AudioStreamList\": \"[{\\\"Bitrate\\\":\\\"64.533\\\",\\\"ChannelLayout\\\":\\\"stereo\\\",\\\"Channels\\\":\\\"2\\\",\\\"CodecLongName\\\":\\\"AAC (Advanced Audio Coding)\\\",\\\"CodecName\\\":\\\"aac\\\",\\\"CodecTag\\\":\\\"0x6134706d\\\",\\\"CodecTagString\\\":\\\"mp4a\\\",\\\"CodecTimeBase\\\":\\\"1/44100\\\",\\\"Duration\\\":\\\"12.615533\\\",\\\"Index\\\":\\\"1\\\",\\\"Lang\\\":\\\"und\\\",\\\"SampleFmt\\\":\\\"fltp\\\",\\\"Samplerate\\\":\\\"44100\\\",\\\"StartTime\\\":\\\"-0.046440\\\",\\\"Timebase\\\":\\\"1/44100\\\"}]",
"Width": "640",
"Fps": "25",
"Duration": "12",
"Format": "m3u8",
"Filesize": 851076,
"WatermarkIdList": [
"[\"64079a0e3e286*****b48a8c9413\"]"
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Common errors
The following table describes the common errors that this operation can return.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
NoSuchResource | The specified resource %s does not exist. | 404 | The error message returned because the specified information does not exist. %s indicates the specified information. |