edit-icon download-icon

Preset template details

Last Updated: Apr 18, 2018

Preset narrowband HD templates

Note: Preset narrowband HD templates are a type of transcoding templates unique to Alibaba Cloud Media Processing. While maintaining the same video definition as common transcoding templates, they provide a lower bit rate to reduce your costs.

Template ID Template name Description Container format Bit rate range Resolution-width
S00000003-200050 MP4-FHD-NarrowBandHDV2 MP4-FHD-Narrowband HD 2.0 MP4 ≤3000 1920
S00000003-200040 MP4-HD-NarrowBandHDV2 MP4-HD-Narrowband HD 2.0 MP4 ≤1500 1280
S00000003-200030 MP4-SD-NarrowBandHDV2 MP4-SD-Narrowband HD 2.0 MP4 ≤800 848
S00000003-200020 MP4-LD-NarrowBandHDV2 MP4-LD-Narrowband HD 2.0 MP4 ≤400 640
S00000002-000070 FLV-4K-NarrowBandHDV1 FLV-4K-Narrowband HD FLV ≤8000 3840
S00000002-000060 FLV-2K-NarrowBandHDV1 FLV-2K-Narrowband HD FLV ≤4000 2048
S00000002-000050 FLV-FHD-NarrowBandHDV1 FLV-FHD-Narrowband HD FLV ≤3000 1920
S00000002-000040 FLV-HD-NarrowBandHDV1 FLV-HD-Narrowband HD FLV ≤1500 1280
S00000002-000030 FLV-SD-NarrowBandHDV1 FLV-SD-Narrowband HD FLV ≤800 848
S00000002-000020 FLV-LD-NarrowBandHDV1 FLV-LD-Narrowband HD FLV ≤400 640
S00000002-100070 M3U8-4K-NarrowBandHDV1 M3U8-4K-Narrowband HD M3U8 ≤8000 3840
S00000002-100060 M3U8-2K-NarrowBandHDV1 M3U8-2K-Narrowband HD M3U8 ≤4000 2048
S00000002-100050 M3U8-FHD-NarrowBandHDV1 M3U8-FHD-Narrowband HD M3U8 ≤3000 1920
S00000002-100040 M3U8-HD-NarrowBandHDV1 M3U8-HD-Narrowband HD M3U8 ≤1500 1280
S00000002-100030 M3U8-SD-NarrowBandHDV1 M3U8-SD-Narrowband HD M3U8 ≤800 848
S00000002-100020 M3U8-LD-NarrowBandHDV1 M3U8-LD-Narrowband HD M3U8 ≤400 640
S00000002-200070 MP4-4K-NarrowBandHDV1 MP4-4K-Narrowband HD MP4 ≤8000 3840
S00000002-200060 MP4-2K-NarrowBandHDV1 MP4-2K-Narrowband HD MP4 ≤4000 2048
S00000002-200050 MP4-FHD-NarrowBandHDV1 MP4-FHD-Narrowband HD MP4 ≤3000 1920
S00000002-200040 MP4-HD-NarrowBandHDV1 MP4-HD-Narrowband HD MP4 ≤1500 1280
S00000002-200030 MP4-SD-NarrowBandHDV1 MP4-SD-Narrowband HD MP4 ≤800 848
S00000002-200020 MP4-LD-NarrowBandHDV1 MP4-LD-Narrowband HD MP4 ≤400 640

Preset static templates

Compared with a preset smart template, a preset static template does not have to be analyzed before being called. Preset static templates include video transcoding templates, audio MP3 transcoding templates, and conversion and encapsulation templates.

1. Video transcoding templates

A video transcoding template basically controls the resolution when duly controlling the bit rate. Each preset static template outputs a fixed preset resolution width. The resolution height scales down at the original aspect ratio.

Preset static templates - video transcoding templates

Template ID Template name Description Container format Video bit rate (Kbit/s) Audio bit rate (Kbit/s) Resolution-width Remarks
S00000001-000070 FLV-4K FLV-4K FLV 6000 160 3840 Flash video
S00000001-000060 FLV-2K FLV-2K FLV 3500 160 2048 Flash video
S00000001-000040 FLV-FHD FLV-FHD FLV 3000 160 1920 Flash video
S00000001-000030 FLV-HD FLV-HD FLV 1800 128 1280 Flash video
S00000001-000020 FLV-SD FLV-SD FLV 800 80 848 Flash video
S00000001-000010 FLV-LD FLV-LD FLV 400 64 640 Flash video
S00000001-100070 M3U8-4K M3U8-4K M3U8 6000 160 3840 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-100060 M3U8-2K M3U8-2K M3U8 3500 160 2048 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-100040 M3U8-FHD M3U8-FHD M3U8 3000 160 1920 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-100030 M3U8-HD M3U8-HD M3U8 1800 128 1280 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-100020 M3U8-SD M3U8-SD M3U8 800 80 848 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-100010 M3U8-LD M3U8-LD M3U8 400 64 640 Applicable to Web, iOS devices (iPhone 4 or later and iPad), and Android devices (Android 3.0 or later)
S00000001-200070 MP4-4K MP4-4K MP4 6000 160 3840 Applicable to Web and mobile devices (iOS and Android)
S00000001-200060 MP4-2K MP4-2K MP4 3500 160 2048 Applicable to Web and mobile devices (iOS and Android)
S00000001-200040 MP4-FHD MP4-FHD MP4 3000 160 1920 Applicable to Web and mobile devices (iOS and Android)
S00000001-200030 MP4-HD MP4-HD MP4 1800 128 1280 Applicable to Web and mobile devices (iOS and Android)
S00000001-200020 MP4-SD MP4-SD MP4 800 80 848 Applicable to Web and mobile devices (iOS and Android)
S00000001-200010 MP4-LD MP4-LD MP4 400 64 640 Applicable to Web and mobile devices (iOS and Android)

2. Conversion and encapsulation templates

A conversion and encapsulation template does not recode the input media file, but only converts the format of the file. Operations that require recoding, such as watermarking, editing, and joining, are not supported.

NOTE: Conversion and encapsulation may fail because the sources and formats of input media files are not supported. In this case, transcoding tasks using the conversion and encapsulation template fail to run.

Preset static templates - conversion and encapsulation templates

Template ID Template name Description Container format
S00000001-000000 FLV-COPY Convert to the FLV format. FLV
S00000001-100000 M3U8-COPY M3U8 slice M3U8
S00000001-200000 MP4-COPY Convert to the MP4 format. MP4

3. Audio transcoding templates

Currently, audio transcoding templates only support output in MP3 format and are used to control the bit rate.

Preset static templates - audio transcoding templates

Template ID Template name Description Container format Maximum bit rate (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

4. Resolution doubling templates

The output width and height double the input width and height. The output resolution is determined by the width. If the doubled width exceeds the upper threshold, the width takes the upper threshold value, and the height scales down at the original aspect ratio.

Template ID Template name Description Container format Video bit rate (Kbit/s) Audio bit rate (Kbit/s) Resolution-width Remarks
S00000001-400070 MP4-2KTo4K MP4-2KTo4K MP4 ≤20000 128 ≤3840 Applicable to Web and mobile devices (iOS and Android)
S00000001-400040 MP4-SDToHD MP4-SDToHD MP4 ≤6000 128 ≤1280 Applicable to Web and mobile devices (iOS and Android)

Preset smart templates

Note: Before you use a preset smart template when submitting a transcoding task, the preset smart template must be analyzed by Media Processing. An OSS file must proactively call the “SubmitAnalysisJob” API and poll the “QueryAnalysisJobList” API to obtain a list of preset smart templates available for the OSS file.

Opened preset smart templates for bit rate control are as follows (the output resolution fluctuates within a certain range because the resolution is optimized based on the input video):

Template ID Template name Description Container format Bit rate range Resolution
S00000000-000050 FLV-FHD FLV-FHD FLV 2 Mbit/s to 4 Mbit/s [720p,1080p]
S00000000-000040 FLV-HD FLV-HD FLV 1 Mbit/s to 2 Mbit/s ≥576p
S00000000-000030 FLV-SD FLV-SD FLV 500 Kbit/s to 1 Mbit/s ≥480p
S00000000-000020 FLV-LD FLV-LD FLV <500 Kbit/s ≥270p
S00000000-100050 M3U8-FHD M3U8-FHD M3U8 2 Mbit/s to 4 Mbit/s [720p,1080p]
S00000000-100040 M3U8-HD M3U8-HD M3U8 1 Mbit/s to 2 Mbit/s ≥576p
S00000000-100030 M3U8-SD M3U8-SD M3U8 500 Kbit/s to 1 Mbit/s ≥480p
S00000000-100020 M3U8-LD M3U8-LD M3U8 <500 Kbit/s ≥270p
S00000000-200050 MP4-FHD MP4-FHD MP4 2 Mbit/s to 4 Mbit/s [720p,1080p]
S00000000-200040 MP4-HD MP4-HD MP4 1 Mbit/s to 2 Mbit/s ≥576p
S00000000-200030 MP4-SD MP4-SD MP4 500 Kbit/s to 1 Mbit/s ≥480p
S00000000-200020 MP4-LD MP4-LD MP4 <500 Kbit/s ≥270p

Template ID rules:

Serial number of the character in the ID Definition
1 S
2 to 9 Reserved
10 Separator -
11 Category
12 to 15 Serial number
16 Minor version
Thank you! We've received your feedback.