All Products
Search
Document Center

ApsaraVideo VOD:GetTranscodeSummary

Last Updated:Jun 10, 2026

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

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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:

  • Setelah Anda mengunggah video di Konsol ApsaraVideo VOD, log on ke Konsol ApsaraVideo VOD lalu pilih Media Files > Audio/Video untuk melihat ID video.

  • Dapatkan nilai VideoId dari tanggapan operasi CreateUploadVideo yang Anda panggil untuk mendapatkan URL dan kredensial unggahan.

  • Dapatkan nilai VideoId dengan memanggil operasi SearchMedia. Metode ini berlaku untuk file yang telah diunggah.

"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: Transcoding is in process.

  • Partial: Some transcoding jobs were complete.

  • CompleteAllSucc: All transcoding jobs were successful.

  • CompleteAllFail: All transcoding jobs failed. If an exception occurs in the source file, no transcoding job is initiated and the transcoding task fails.

  • CompletePartialSucc: All transcoding jobs were complete but only some were successful.

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: [0,100].

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: Transcoding is in process.

  • TranscodeSuccess: The job was successful.

  • TranscodeFail: The job failed.

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.