Templat transkoding mengelompokkan parameter pemrosesan untuk menyederhanakan pekerjaan transkoding dan alur kerja. MPS menyediakan templat preset statis (reguler, audio, konversi format kontainer, Narrowband HD™ 1.0, dan Narrowband HD™ 2.0), templat preset cerdas, serta templat preset versi sebelumnya.
Templat preset statis
Untuk menggunakan preset Narrowband HD™ 2.0 templates, pilih Narrowband HD 2.0 sebagai tipe antrian ApsaraVideo Media Processing (MPS). Untuk menggunakan templat preset statis lainnya, pilih standard MPS queue atau high-speed MPS queue.
Templat transkoding reguler
File output dapat berupa format HLS (M3U8 + TS), MP4, atau FLV. Bitrate audio dan video tidak boleh melebihi nilai maksimum pada tabel berikut. Semua templat menghasilkan output dengan lebar resolusi yang tercantum, sedangkan tingginya diskalakan secara proporsional berdasarkan video input. Fitur auto-rotate screen tidak didukung. Pemeriksaan resolusi video, bitrate video, dan bitrate audio juga tidak didukung. Jika resolusi video, bitrate video, atau bitrate audio file input lebih kecil daripada nilai maksimum yang ditentukan dalam templat, maka terjadi upsampling. Untuk menggunakan fitur-fitur tersebut, konfigurasikan parameter terkait saat mengirimkan pekerjaan transkoding melalui pemanggilan operasi API.
|
Template ID |
Template Name |
Display Name |
Container format |
Video encoding |
Audio encoding |
Maximum video bitrate (Kbit/s) |
Maximum audio bitrate (Kbit/s) |
Resolution - width (pixel) |
|
S00000001-100070 |
M3U8-4K |
H264-M3U8-4K |
M3U8 |
H.264 |
AAC |
6.000 |
160 |
3.840 |
|
S00000001-100060 |
M3U8-2K |
H264-M3U8-2K |
M3U8 |
H.264 |
AAC |
3.500 |
160 |
2.048 |
|
S00000001-100040 |
M3U8-FHD |
H264-M3U8-FHD-Intelligent |
M3U8 |
H.264 |
AAC |
3.000 |
160 |
1.920 |
|
S00000001-100030 |
M3U8-HD |
H264-M3U8-HD-Intelligent |
M3U8 |
H.264 |
AAC |
1.800 |
128 |
1.280 |
|
S00000001-100020 |
M3U8-SD |
H264-M3U8-SD-Intelligent |
M3U8 |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000001-100010 |
M3U8-LD |
H264-M3U8-LD-Intelligent |
M3U8 |
H.264 |
AAC |
400 |
64 |
640 |
|
S00000001-100050 |
M3U8-XLD |
H264-M3U8-XLD |
M3U8 |
H.264 |
AAC |
300 |
32 |
320 |
|
S00000001-200070 |
MP4-4K |
H264-MP4-4K |
MP4 |
H.264 |
AAC |
6.000 |
160 |
3.840 |
|
S00000001-200060 |
MP4-2K |
H264-MP4-2K |
MP4 |
H.264 |
AAC |
3.500 |
160 |
2.048 |
|
S00000001-200040 |
MP4-FHD |
H264-MP4-FHD-Intelligent |
MP4 |
H.264 |
AAC |
3.000 |
160 |
1.920 |
|
S00000001-200030 |
MP4-HD |
H264-MP4-HD-Intelligent |
MP4 |
H.264 |
AAC |
1.800 |
128 |
1.280 |
|
S00000001-200020 |
MP4-SD |
H264-MP4-SD-Intelligent |
MP4 |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000001-200010 |
MP4-LD |
H264-MP4-LD-Intelligent |
MP4 |
H.264 |
AAC |
400 |
64 |
640 |
|
S00000001-200050 |
MP4-XLD |
H264-MP4-XLD |
MP4 |
H.264 |
AAC |
300 |
32 |
320 |
|
S00000001-000070 |
FLV-4K |
H264-FLV-4K |
FLV |
H.264 |
AAC |
6.000 |
160 |
3.840 |
|
S00000001-000060 |
FLV-2K |
H264-FLV-2K |
FLV |
H.264 |
AAC |
3.500 |
160 |
2.048 |
|
S00000001-000040 |
FLV-FHD |
H264-FLV-FHD-Intelligent |
FLV |
H.264 |
AAC |
3.000 |
160 |
1.920 |
|
S00000001-000030 |
FLV-HD |
H264-FLV-HD-Intelligent |
FLV |
H.264 |
AAC |
1.800 |
128 |
1.280 |
|
S00000001-000020 |
FLV-SD |
H264-FLV-SD-Intelligent |
FLV |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000001-000010 |
FLV-LD |
H264-FLV-LD-Intelligent |
FLV |
H.264 |
AAC |
400 |
64 |
640 |
|
S00000001-000050 |
FLV-XLD |
H264-FLV-XLD |
FLV |
H.264 |
AAC |
300 |
32 |
320 |
Templat transkoding audio
File audio output berformat MP3. Bitrate tidak boleh melebihi nilai maksimum pada tabel berikut. Pemeriksaan bitrate audio tidak didukung. Jika bitrate file audio input lebih kecil daripada bitrate audio maksimum yang ditentukan dalam templat, maka terjadi upsampling. Untuk menggunakan fitur ini, konfigurasikan parameter terkait saat mengirimkan pekerjaan transkoding melalui pemanggilan operasi API.
|
Template ID |
Template Name |
Display Name |
Container format |
Maximum bitrate (Kbit/s) |
|
S00000001-300050 |
MP3-320 |
MP3-320 |
MP3 |
320 |
|
S00000001-300040 |
MP3-192 |
MP3-192 |
MP3 |
192 |
|
S00000001-300030 |
MP3-160 |
MP3-160 |
MP3 |
160 |
|
S00000001-300020 |
MP3-128 |
MP3-128 |
MP3 |
128 |
|
S00000001-300010 |
MP3-64 |
MP3-64 |
MP3 |
64 |
Templat untuk konversi format kontainer
Templat konversi format kontainer hanya mengonversi format kontainer file media. Operasi encoding seperti watermarking, editing, dan penggabungan tidak didukung.
Konversi format kontainer dapat gagal jika file media input memiliki sumber atau format yang tidak valid.
|
Template ID |
Template Name |
Display Name |
Container format |
|
S00000001-100000 |
M3U8-COPY |
M3U8-COPY |
M3U8 |
|
S00000001-200000 |
MP4-COPY |
MP4-COPY |
MP4 |
|
S00000001-000000 |
FLV-COPY |
FLV-COPY |
FLV |
Templat Narrowband HD™ 1.0
Templat Narrowband HD™ 1.0 menghasilkan video output dengan bitrate lebih rendah tanpa mengorbankan kualitas, sehingga mengurangi biaya CDN dan penyimpanan. Fitur auto-rotate screen didukung. Pemeriksaan resolusi video, bitrate video, dan bitrate audio tidak didukung. Jika resolusi video, bitrate video, atau bitrate audio file input lebih kecil daripada nilai maksimum yang ditentukan dalam templat, maka terjadi upsampling. Untuk menggunakan fitur-fitur tersebut, konfigurasikan parameter terkait saat mengirimkan pekerjaan transkoding melalui pemanggilan operasi API.
|
Template ID |
Template Name |
Display Name |
Container format |
Video encoding |
Audio encoding |
Maximum video bitrate (Kbit/s) |
Maximum audio bitrate (Kbit/s) |
Resolution - long side (pixel) |
|
S00000002-100070 |
M3U8-4K-NarrowBandHDV1 |
H264-M3U8-4K-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
8.000 |
128 |
3.840 |
|
S00000002-100060 |
M3U8-2K-NarrowBandHDV1 |
H264-M3U8-2K-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
4.000 |
128 |
2.048 |
|
S00000002-100050 |
M3U8-FHD-NarrowBandHDV1 |
H264-M3U8-FHD-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
3.000 |
128 |
1.920 |
|
S00000002-100040 |
M3U8-HD-NarrowBandHDV1 |
H264-M3U8-HD-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
1.500 |
128 |
1.280 |
|
S00000002-100030 |
M3U8-SD-NarrowBandHDV1 |
H264-M3U8-SD-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000002-100020 |
M3U8-LD-NarrowBandHDV1 |
H264-M3U8-LD-NarrowBandHDV1 |
M3U8 |
H.264 |
AAC |
400 |
32 |
640 |
|
S00000002-200070 |
MP4-4K-NarrowBandHDV1 |
H264-MP4-4K-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
8.000 |
128 |
3.840 |
|
S00000002-200060 |
MP4-2K-NarrowBandHDV1 |
H264-MP4-2K-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
4.000 |
128 |
2.048 |
|
S00000002-200050 |
MP4-FHD-NarrowBandHDV1 |
H264-MP4-FHD-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
3.000 |
128 |
1.920 |
|
S00000002-200040 |
MP4-HD-NarrowBandHDV1 |
H264-MP4-HD-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
1.500 |
128 |
1.280 |
|
S00000002-200030 |
MP4-SD-NarrowBandHDV1 |
H264-MP4-SD-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000002-200020 |
MP4-LD-NarrowBandHDV1 |
H264-MP4-LD-NarrowBandHDV1 |
MP4 |
H.264 |
AAC |
400 |
32 |
640 |
|
S00000002-000070 |
FLV-4K-NarrowBandHDV1 |
H264-FLV-4K-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
8.000 |
128 |
3.840 |
|
S00000002-000060 |
FLV-2K-NarrowBandHDV1 |
H264-FLV-2K-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
4.000 |
128 |
2.048 |
|
S00000002-000050 |
FLV-FHD-NarrowBandHDV1 |
H264-FLV-FHD-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
3.000 |
128 |
1.920 |
|
S00000002-000040 |
FLV-HD-NarrowBandHDV1 |
H264-FLV-HD-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
1.500 |
128 |
1.280 |
|
S00000002-000030 |
FLV-SD-NarrowBandHDV1 |
H264-FLV-SD-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000002-000020 |
FLV-LD-NarrowBandHDV1 |
H264-FLV-LD-NarrowBandHDV1 |
FLV |
H.264 |
AAC |
400 |
32 |
640 |
Templat Narrowband HD™ 2.0
Untuk menggunakan Narrowband HD™ 2.0 templates, pilih Narrowband HD 2.0 sebagai tipe antrian MPS.
Fitur auto-rotate screen didukung. Pemeriksaan resolusi video, bitrate video, dan bitrate audio tidak didukung. Jika resolusi video, bitrate video, atau bitrate audio file input lebih kecil daripada nilai maksimum yang ditentukan dalam templat, maka terjadi upsampling. Untuk menggunakan fitur-fitur tersebut, konfigurasikan parameter terkait saat mengirimkan pekerjaan transkoding melalui pemanggilan operasi API.
|
Template ID |
Template Name |
Display Name |
Container format |
Video encoding |
Audio encoding |
Maximum video bitrate (Kbit/s) |
Maximum audio bitrate (Kbit/s) |
Resolution - long side (pixel) |
|
S00000003-200050 |
MP4-FHD-NarrowBandHDV2 |
H264-MP4-FHD-NarrowBandHDV2 |
MP4 |
H.264 |
AAC |
3.000 |
128 |
1.920 |
|
S00000003-200040 |
MP4-HD-NarrowBandHDV2 |
H264-MP4-HD-NarrowBandHDV2 |
MP4 |
H.264 |
AAC |
1.500 |
128 |
1.280 |
|
S00000003-200030 |
MP4-SD-NarrowBandHDV2 |
H264-MP4-SD-NarrowBandHDV2 |
MP4 |
H.264 |
AAC |
800 |
80 |
848 |
|
S00000003-200020 |
MP4-LD-NarrowBandHDV2 |
H264-MP4-LD-NarrowBandHDV2 |
MP4 |
H.264 |
AAC |
400 |
32 |
640 |
Templat preset cerdas
Templat preset cerdas secara otomatis menyesuaikan parameter transkoding berdasarkan video input untuk menghasilkan output optimal.
Penerapan templat preset cerdas bergantung pada properti seperti resolusi dan bitrate video input. Sebelum menggunakan templat preset cerdas, panggil operasi SubmitAnalysisJob untuk menganalisis file media, lalu panggil operasi QueryAnalysisJobList untuk menanyakan templat preset cerdas yang tersedia. Gunakan templat yang sesuai saat mengirimkan pekerjaan transkoding.
|
Template ID |
Template Name |
Display Name |
Container format |
Bitrate range (Kbit/s) |
Resolution (pixel) |
|
S00000000-100050 |
M3U8-FHD |
M3U8-FHD |
M3U8 |
[2000,4000] |
[720,1080] |
|
S00000000-100040 |
M3U8-HD |
M3U8-HD |
M3U8 |
[1000,2000] |
≥ 576 |
|
S00000000-100030 |
M3U8-SD |
M3U8-SD |
M3U8 |
[500,1000] |
≥ 480 |
|
S00000000-100020 |
M3U8-LD |
M3U8-LD |
M3U8 |
< 500 |
≥ 270 |
|
S00000000-200050 |
MP4-FHD |
MP4-FHD |
MP4 |
[2000,4000] |
[720,1080] |
|
S00000000-200040 |
MP4-HD |
MP4-HD |
MP4 |
[1000,2000] |
≥ 576 |
|
S00000000-200030 |
MP4-SD |
MP4-SD |
MP4 |
[500,1000] |
≥ 480 |
|
S00000000-200020 |
MP4-LD |
MP4-LD |
MP4 |
< 500 |
≥ 270 |
|
S00000000-000050 |
FLV-FHD |
FLV-FHD |
FLV |
[2000,4000] |
[720,1080] |
|
S00000000-000040 |
FLV-HD |
FLV-HD |
FLV |
[1000,2000] |
≥ 576 |
|
S00000000-000030 |
FLV-SD |
FLV-SD |
FLV |
[500,1000] |
≥ 480 |
|
S00000000-000020 |
FLV-LD |
FLV-LD |
FLV |
< 500 |
≥ 270 |
Templat preset versi sebelumnya
Templat preset super-resolusi lama berikut telah ditinggalkan. Kami menyarankan agar Anda menggunakan templat preset versi terbaru sebagai gantinya.
Templat MP4-SDToHD dan MP4-2KTo4K multi-platform adalah templat super-resolusi preset. Templat ini hanya tersedia di wilayah China (Hangzhou) dan China (Shanghai).
|
Template ID |
Template Name |
Display Name |
Container format |
Maximum video bitrate (Kbit/s) |
Maximum audio bitrate (Kbit/s) |
Resolution - width (pixel) |
Remarks |
|
S00000001-400070 |
MP4-2KTo4K |
MP4-2KTo4K |
MP4 |
20.000 |
128 |
≤ 3.840 |
Templat super-resolusi versi sebelumnya yang menggunakan antrian MPS standar sempit. Templat ini dapat digunakan pada browser web, perangkat iOS, dan perangkat Android. |
|
S00000001-400040 |
MP4-SDToHD |
MP4-SDToHD |
MP4 |
6.000 |
128 |
≤ 1.280 |
Templat super-resolusi versi sebelumnya yang menggunakan antrian MPS standar sempit. Templat ini dapat digunakan pada browser web, perangkat iOS, dan perangkat Android. |
|
S00000003-400040 |
MP4-SDToHD-NarrowBandHDV2 |
MP4-SDToHD |
MP4 |
6.000 |
AAC |
1.280 |
Templat super-resolusi versi sebelumnya yang menggunakan antrian MPS Narrowband HD™ 2.0. |
|
S00000003-400070 |
MP4-2KTo4K-NarrowBandHDV2 |
MP4-2KTo4K |
MP4 |
20.000 |
AAC |
3840 |
Templat super-resolusi versi sebelumnya yang menggunakan antrian MPS Narrowband HD™ 2.0. |
Aturan penamaan ID templat preset
|
Nomor urut karakter |
Deskripsi |
|
1 |
Huruf kapital S. |
|
2 hingga 9 |
String yang dihasilkan oleh sistem. |
|
10 |
Tanda hubung (-). |
|
11 |
Kategori tempat templat tersebut termasuk. |
|
12 hingga 15 |
Nomor urut templat. |
|
16 |
Versi minor templat. |