This topic describes the basic information about the preset templates of Intelligent Media Services (IMS).
Preset transcoding templates
Preset transcoding templates include standard transcoding templates and audio and image enhancement templates. Standard transcoding templates include regular transcoding templates, narrowband HDTM 1.0 templates, narrowband HDTM 2.0 templates, audio transcoding templates, and container format conversion templates.
1.1. Standard transcoding templates
Regular transcoding templates
Template ID | Template name | Name | Container format | Video bitrate (Kbit/s) | Audio bitrate (Kbit/s) | Resolution - width | Description |
Template ID | Template name | Name | Container format | Video bitrate (Kbit/s) | Audio bitrate (Kbit/s) | Resolution - width | Description |
S00000001-000010 | FLV-LD | FLV-LD | FLV | 400 | 64 | 640 | Flash video |
S00000001-000020 | FLV-SD | FLV-SD | FLV | 800 | 80 | 848 | Flash video |
S00000001-000030 | FLV-HD | FLV-HD | FLV | 1800 | 128 | 1280 | Flash video |
S00000001-000040 | FLV-FHD | FLV-FHD | FLV | 3000 | 160 | 1920 | Flash video |
S00000001-000050 | FLV-XLD | FLV-XLD | FLV | ≤ 300 | 32 | 320 | Flash video |
S00000001-000060 | FLV-2K | FLV-2K | FLV | 3500 | 160 | 2048 | Flash video |
S00000001-000070 | FLV-4K | FLV-4K | FLV | 6000 | 160 | 3840 | Flash video |
S00000001-100010 | M3U8-LD | M3U8-LD | M3U8 | 400 | 64 | 640 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100020 | M3U8-SD | M3U8-SD | M3U8 | 800 | 80 | 848 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100030 | M3U8-HD | M3U8-HD | M3U8M3U8 | 1800 | 128 | 1280 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100040 | M3U8-FHD | M3U8-FHD | M3U8 | 3000 | 160 | 1920 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100050 | M3U8-XLD | M3U8-XLD | M3U8 | 150 | 32 | 320 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100060 | M3U8-2K | M3U8-2K | M3U8 | 3500 | 160 | 2048 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-100070 | M3U8-4K | M3U8-4K | M3U8 | 6000 | 160 | 3840 | This template can be used only on web browsers, iPhone models later than iPhone 4, iPads, and devices that run Android versions later than 3.0. |
S00000001-200010 | MP4-LD | MP4-LD | MP4 | 400 | 64 | 640 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-200020 | MP4-SD | MP4-SD | MP4 | 800 | 80 | 848 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-200030 | MP4-HD | MP4-HD | MP4 | 1800 | 128 | 1280 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-200040 | MP4-FHD | MP4-FHD | MP4 | 3000 | 160 | 1920 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-200050 | MP4-XLD | MP4-XLD | MP4 | 150 | 32 | 320 | This template can be used only on web browsers, iOS devices, and Android devices. |
S00000001-200060 | MP4-2K | MP4-2K | MP4 | 3500 | 160 | 2048 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-200070 | MP4-4K | MP4-4K | MP4 | 6000 | 160 | 3840 | This template can be used only on web browsers, iOS devices, and Android devices. |
Narrowband HDTM 1.0 templates
Template ID | Template name | Name | Container format | Bitrate range (Kbit/s) | Resolution - width |
Template ID | Template name | Name | Container format | Bitrate range (Kbit/s) | Resolution - width |
S00000002-000070 | FLV-4K-NarrowBandHDV1 | FLV-4K-Narrowband HDTM | FLV | ≤ 8,000 | 3840 |
S00000002-000060 | FLV-2K-NarrowBandHDV1 | FLV-2K-Narrowband HDTM | FLV | ≤ 4,000 | 2048 |
S00000002-000050 | FLV-FHD-NarrowBandHDV1 | FLV-FHD-Narrowband HDTM | FLV | ≤ 3,000 | 1920 |
S00000002-000040 | FLV-HD-NarrowBandHDV1 | FLV-HD-Narrowband HDTM | FLV | ≤ 1,500 | 1280 |
S00000002-000030 | FLV-SD-NarrowBandHDV1 | FLV-SD-Narrowband HDTM | FLV | ≤ 800 | 848 |
S00000002-000020 | FLV-LD-NarrowBandHDV1 | FLV-LD-Narrowband HDTM | FLV | ≤ 400 | 640 |
S00000002-100070 | M3U8-4K-NarrowBandHDV1 | M3U8-4K-Narrowband HDTM | M3U8 | ≤ 8,000 | 3840 |
S00000002-100060 | M3U8-2K-NarrowBandHDV1 | M3U8-2K-Narrowband HDTM | M3U8 | ≤ 4,000 | 2048 |
S00000002-100050 | M3U8-FHD-NarrowBandHDV1 | M3U8-FHD-Narrowband HDTM | M3U8 | ≤ 3,000 | 1920 |
S00000002-100040 | M3U8-HD-NarrowBandHDV1 | M3U8-HD-Narrowband HDTM | M3U8 | ≤ 1,500 | 1280 |
S00000002-100030 | M3U8-SD-NarrowBandHDV1 | M3U8-SD-Narrowband HDTM | M3U8 | ≤ 800 | 848 |
S00000002-100020 | M3U8-LD-NarrowBandHDV1 | M3U8-LD-Narrowband HDTM | M3U8 | ≤ 400 | 640 |
S00000002-200070 | MP4-4K-NarrowBandHDV1 | MP4-4K-Narrowband HDTM | MP4 | ≤ 8,000 | 3840 |
S00000002-200060 | MP4-2K-NarrowBandHDV1 | MP4-2K-Narrowband HDTM | MP4 | ≤ 4,000 | 2048 |
S00000002-200050 | MP4-FHD-NarrowBandHDV1 | MP4-FHD-Narrowband HDTM | MP4 | ≤ 3,000 | 1920 |
S00000002-200040 | MP4-HD-NarrowBandHDV1 | MP4-HD-Narrowband HDTM | MP4 | ≤ 1,500 | 1280 |
S00000002-200030 | MP4-SD-NarrowBandHDV1 | MP4-SD-Narrowband HDTM | MP4 | ≤ 800 | 848 |
S00000002-200020 | MP4-LD-NarrowBandHDV1 | MP4-LD-Narrowband HDTM | MP4 | ≤ 400 | 640 |
Narrowband HDTM 2.0 templates
The multi-platform MP4-SDToHD and MP4-2KTo4K templates are preset super-resolution templates. These templates are available only in the China (Hangzhou) and China (Shanghai) regions. To use these templates, you need to first enable the Narrowband HDTM 2.0 pipeline.
Template ID | Template name | Name | Container format | Bitrate range (Kbit/s) | Resolution - width |
Template ID | Template name | Name | Container format | Bitrate range (Kbit/s) | Resolution - width |
S00000003-200050 | MP4-FHD-NarrowBandHDV2 | MP4-FHD-Narrowband HDTM 2.0 | MP4 | ≤ 3,000 | 1920 |
S00000003-200040 | MP4-HD-NarrowBandHDV2 | MP4-HD-Narrowband HDTM 2.0 | MP4 | ≤ 1,500 | 1280 |
S00000003-200030 | MP4-SD-NarrowBandHDV2 | MP4-SD-Narrowband HDTM 2.0 | MP4 | ≤ 800 | 848 |
S00000003-200020 | MP4-LD-NarrowBandHDV2 | MP4-LD-Narrowband HDTM 2.0 | MP4 | ≤ 400 | 640 |
Audio transcoding templates
Template ID | Template name | Name | Container format | Maximum bitrate (Kbit/s) |
Template ID | Template name | 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 |
Templates for container format conversion
Template ID | Template name | Name | Container format |
Template ID | Template name | Name | Container format |
S00000001-000000 | FLV-COPY | FLV-COPY | FLV |
S00000001-100000 | M3U8-COPY | M3U8-COPY | M3U8 |
S00000001-200000 | MP4-COPY | MP4-COPY | MP4 |
S00000001-500000 | TS-COPY | TS-COPY | TS |
1.2. Audio and image enhancement templates
Template ID | Template name | Name | Container format | Video bitrate (Kbit/s) | Audio bitrate (Kbit/s)) | Resolution - width | Description |
Template ID | Template name | Name | Container format | Video bitrate (Kbit/s) | Audio bitrate (Kbit/s)) | Resolution - width | Description |
S00000001-400040 | MP4-SDToHD | MP4-SDToHD | MP4 | ≤ 6,000 | 128 | ≤ 1,280 | This template can be used on web browsers, iOS devices, and Android devices. |
S00000001-400070 | MP4-2KTo4K | MP4-2KTo4K | MP4 | ≤ 20,000 | 128 | ≤ 3,840 | This template can be used on web browsers, iOS devices, and Android devices. |
The parameters of all audio and image enhancement templates are the same. Only the values of these parameters are different. The following section uses MP4-2KTo4K as an example to describe the parameters of audio and image enhancement templates.
{"container":{"format":"mp4"},"video":{"codec":"H.264","fps":25,"gop":100,"crf":17},"audio":{"codec":"aac"}}
Preset intelligent job templates
Intelligent review templates
Template ID | Template name | Name | Description |
Template ID | Template name | Name | Description |
S00000061-100010 | censor_video_basic | Basic video review | Basic video review includes intelligent porn detection, review for terrorist and politically sensitive content, ad violation detection, and audio moderation. |
S00000061-100020 | censor_video_all | Full video review | Full video review includes intelligent porn detection, review for terrorist and politically sensitive content, ad violation detection, undesirable scene detection, logo review, and audio moderation. |
S00000061-100030 | censor_audio | Audio moderation | Audio moderation reviews only audio content. |
Intelligent thumbnail templates
Template ID | Template name | Name |
Template ID | Template name | Name |
S00000071-100010 | cover_pic | Thumbnail |
S00000071-100020 | cover_gif | Animated thumbnail |
S00000071-100030 | cover_videoclip | Video synopsis |
Intelligent erasure templates
Template ID | Template name | Name |
Template ID | Template name | Name |
S00000081-100010 | delogo | Intelligent masking |
S00000081-100020 | detext | Subtitle erasure |