Mengkueri ringkasan transkoding file audio dan video berdasarkan ID file. Ringkasan transkoding mencakup status dan progres transkoding.
Deskripsi operasi
An audio or video file may be transcoded multiple times. This operation returns only the latest transcoding summary.
You can query transcoding summaries for a maximum of 10 audio and video files in one request.
You can call the ListTranscodeTask operation to query historical transcoding tasks.
**You can call this operation to query information only about transcoding tasks created within the past year.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetTranscodeSummary |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VideoIds |
string |
Yes |
ID file audio atau video. Anda dapat menentukan hingga 10 ID. Pisahkan ID dengan koma (,). Anda dapat menggunakan salah satu metode berikut untuk mendapatkan ID:
|
"d4860fcc6ae9fed52e8938244****,e1db68cc586644b83e562bcd94****,hhhhhhh" |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4A*****F6-D7393642CA58 |
| NonExistVideoIds |
array |
The IDs of the audio or video files that do not exist. |
|
|
string |
The ID of the audio or video file that does not exist. |
["hhhhhhh"] |
|
| TranscodeSummaryList |
array<object> |
The transcoding summary of the file. |
|
|
array<object> |
|||
| CreationTime |
string |
The time when the transcoding task was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2019-01-23T12:35:12Z |
| VideoId |
string |
The ID of the audio or video file. |
e1db68cc586644b83e562bcd94**** |
| CompleteTime |
string |
The time when the transcoding task was complete. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2019-01-23T12:40:12Z |
| TranscodeStatus |
string |
The status of the transcoding task. Valid values:
|
Processing |
| TranscodeTemplateGroupId |
string |
The ID of the transcoding template group. |
44f9e406bbb*****736a9abe876ecc0 |
| TranscodeJobInfoSummaryList |
array<object> |
The summaries of transcoding jobs. |
|
|
object |
|||
| CreationTime |
string |
The time when the transcoding job was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2019-02-27T03:34:46Z |
| ErrorMessage |
string |
The error message returned when the transcoding job failed. |
ErrorMessage |
| Height |
string |
The height of the output video. Unit: pixels. |
960 |
| TranscodeProgress |
integer |
The transcoding progress. Valid values: |
100 |
| TranscodeTemplateId |
string |
The ID of the transcoding template. |
57496724ae2*****0968d6e08acc8f6 |
| Bitrate |
string |
The average bitrate of the output video. Unit: Kbit/s. |
749 |
| ErrorCode |
string |
The error code returned when the transcoding job failed. |
200 |
| CompleteTime |
string |
The time when the transcoding job was complete. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2019-02-27T03:40:51Z |
| Width |
string |
The width of the output video. Unit: pixels. |
544 |
| Duration |
string |
The duration of the output video. Unit: seconds. |
12 |
| Fps |
string |
The frame rate of the output video. Unit: frames per second. |
30 |
| TranscodeJobStatus |
string |
The status of the transcoding job. Valid values:
|
Transcoding |
| Filesize |
integer |
The size of the output video. Unit: bytes. |
1144259 |
| Format |
string |
The container format of the output video. |
mp4 |
| WatermarkIdList |
array |
The IDs of the watermarks that are applied to the output video. |
|
|
string |
The IDs of the watermarks that are applied to the output video. |
["af2afe4761992c*****d947dae97337"] |
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.