This topic describes the Narrowband HDTM templates and naming rules for template IDs. The templates include preset templates, static preset templates, and intelligent preset templates.

Preset narrowband HDTM templates

The preset Narrowband HD TM templates are transcoding templates developed based on Alibaba Cloud ApsaraVideo Media Processing (MPS). Compared with a regular transcoding template, a preset template allows you to generate an output video at a lower bitrate without compromising video quality, which helps you reduce operational costs.
Note The multi-platform MP4-SDToHD and MP4-2KTo4K templates are preset super-resolution templates. These templates are available only in China (Hangzhou) and China (Shanghai) regions. To use these templates, you need to first enable the Narrowband HDTM 2.0 pipeline.
ID Name Container format Maximum bitrate (Kbit/s) Resolution - width (pixels)
S00000003-200050 MP4-FHD-NarrowBandHDV2 MP4 3,000 1920
S00000003-200040 MP4-HD-NarrowBandHDV2 MP4 1,500 1280
S00000003-200030 MP4-SD-NarrowBandHDV2 MP4 800 848
S00000003-200020 MP4-LD-NarrowBandHDV2 MP4 400 640
S00000003-400040 MP4-SDToHD-NarrowBandHDV2 MP4 6,000 1280
S00000003-400070 MP4-2KTo4K-NarrowBandHDV2 MP4 20,000 3840
S00000002-000070 FLV-4K-NarrowBandHDV1 FLV 8,000 3840
S00000002-000060 FLV-2K-NarrowBandHDV1 FLV 4,000 2048
S00000002-000050 FLV-FHD-NarrowBandHDV1 FLV 3,000 1920
S00000002-000040 FLV-HD-NarrowBandHDV1 FLV 1,500 1280
S00000002-000030 FLV-SD-NarrowBandHDV1 FLV 800 848
S00000002-000020 FLV-LD-NarrowBandHDV1 FLV 400 640
S00000002-100070 M3U8-4K-NarrowBandHDV1 M3U8 8,000 3840
S00000002-100060 M3U8-2K-NarrowBandHDV1 M3U8 4,000 2048
S00000002-100050 M3U8-FHD-NarrowBandHDV1 M3U8 3,000 1920
S00000002-100040 M3U8-HD-NarrowBandHDV1 M3U8 1,500 1280
S00000002-100030 M3U8-SD-NarrowBandHDV1 M3U8 800 848
S00000002-100020 M3U8-LD-NarrowBandHDV1 M3U8 400 640
S00000002-200070 MP4-4K-NarrowBandHDV1 MP4 8,000 3840
S00000002-200060 MP4-2K-NarrowBandHDV1 MP4 4,000 2048
S00000002-200050 MP4-FHD-NarrowBandHDV1 MP4 3,000 1920
S00000002-200040 MP4-HD-NarrowBandHDV1 MP4 1,500 1280
S00000002-200030 MP4-SD-NarrowBandHDV1 MP4 800 848
S00000002-200020 MP4-LD-NarrowBandHDV1 MP4 400 640

Static preset templates

Compared with intelligent preset templates, static preset templates can be directly used for transcoding. Template analysis is not required. Static preset templates include video transcoding templates, audio transcoding templates, and templates for container format conversion. Audio transcoding templates can be used for audio-only streams in the MP3 format.
  • Video transcoding templates

    Videos transcoded by using video transcoding templates have the same width. The height of the output video is scaled based on the original aspect ratio of the video. The bitrates of the transcoded audio and video streams cannot be greater than the maximum bitrates described in the following table.

    ID Name Container format Maximum video bitrate (Kbit/s) Maximum audio bitrate (Kbit/s) Resolution - width (pixels) Remarks
    S00000001-000070 FLV-4K FLV 6,000 160 3840 This template can be used only in the Flash player.
    S00000001-000060 FLV-2K FLV 3,500 160 2048 This template can be used only in the Flash player.
    S00000001-000040 FLV-FHD FLV 3,000 160 1920 This template can be used only in the Flash player.
    S00000001-000030 FLV-HD FLV 1,800 128 1280 This template can be used only in the Flash player.
    S00000001-000020 FLV-SD FLV 800 80 848 This template can be used only in the Flash player.
    S00000001-000010 FLV-LD FLV 400 64 640 This template can be used only in the Flash player.
    S00000001-000050 FLV-XLD FLV 300 32 320 This template can be used only in the Flash player.
    S00000001-100070 M3U8-4K M3U8 6,000 160 3840 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-100060 M3U8-2K M3U8 3,500 160 2048 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-100040 M3U8-FHD M3U8 3,000 160 1920 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-100030 M3U8-HD M3U8 1,800 128 1280 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-100020 M3U8-SD M3U8 800 80 848 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-100010 M3U8-LD M3U8 400 64 640 This template can be used only on web browsers, iPhone 4 and newer devices, iPads, and devices that run Android 3.0 or later.
    S00000001-200070 MP4-4K MP4 6,000 160 3840 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-200060 MP4-2K MP4 3,500 160 2048 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-200040 MP4-FHD MP4 3,000 160 1920 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-200030 MP4-HD MP4 1,800 128 1280 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-200020 MP4-SD MP4 800 80 848 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-200010 MP4-LD MP4 400 64 640 This template can be used only on web browsers, iOS devices, and Android devices.
  • Templates for container format conversion
    Templates for container format conversion are used only to convert the container format of media files. Operations that require encoding, such as watermarking, editing, and merging of media files, are not supported.
    ID Name Container format
    S00000001-000000 FLV-COPY FLV
    S00000001-100000 M3U8-COPY M3U8
    S00000001-200000 MP4-COPY MP4
    Note Container format conversion may fail due to the invalid source or format of the input media file. In this case, transcoding jobs that use the container format conversion template may fail.
  • Audio transcoding templates
    The output audio files are in the MP3 format. The bitrate of the output audio file cannot be greater than the maximum bitrate described in the following table.
    ID Name Container format Maximum bitrate (Kbit/s)
    S00000001-300050 MP3-320 MP3 320
    S00000001-300040 MP3-192 MP3 192
    S00000001-300030 MP3-160 MP3 160
    S00000001-300020 MP3-128 MP3 128
    S00000001-300010 MP3-64 MP3 64
  • Resolution enhancement templates
    The resolution of the output video is twice the original video resolution. If the width of the output video is greater than the maximum width described in the following table, the maximum width is used and the height is scaled based on the original aspect ratio.
    ID Name Container format Maximum video bitrate (Kbit/s) Maximum audio bitrate (Kbit/s) Resolution - width (pixels) Remarks
    S00000001-400070 MP4-2KTo4K MP4 20,000 128 3,840 This template can be used only on web browsers, iOS devices, and Android devices.
    S00000001-400040 MP4-SDToHD MP4 6,000 128 1,280 This template can be used only on web browsers, iOS devices, and Android devices.

Intelligent preset templates

The bitrates and resolutions of videos transcoded by using intelligent preset templates must be within the ranges described in the following table.
ID Name Container format Bitrate range (Kbit/s) Resolution range
S00000000-000050 FLV-FHD FLV [2,000, 4000] [720p, 1080p]
S00000000-000040 FLV-HD FLV [1,000, 2,000] ≥ 576p
S00000000-000030 FLV-SD FLV [500, 1,000] ≥ 480p
S00000000-000020 FLV-LD FLV ≤ 500 ≥ 270p
S00000000-100050 M3U8-FHD M3U8 [2,000, 4000] [720p, 1080p]
S00000000-100040 M3U8-HD M3U8 [1,000, 2,000] ≥ 576p
S00000000-100030 M3U8-SD M3U8 [500, 1,000] ≥ 480p
S00000000-100020 M3U8-LD M3U8 ≤ 500 ≥ 270p
S00000000-200050 MP4-FHD MP4 [2,000, 4000] [720p, 1080p]
S00000000-200040 MP4-HD MP4 [1,000, 2,000] ≥ 576p
S00000000-200030 MP4-SD MP4 [500, 1,000] ≥ 480p
S00000000-200020 MP4-LD MP4 ≤ 500 ≥ 270p
Note The analysis on intelligent preset templates must be complete on the MPS server before you submit transcoding jobs that use intelligent preset templates. Call the SubmitAnalysisJob operation to submit an intelligent preset template analysis job before you transcode an Object Storage Service (OSS) file. Then, call the QueryAnalysisJobList operation to obtain the intelligent preset templates that you can use to transcode the OSS file.

Naming rules for preset template IDs

Character sequence number Description
1 The uppercase letter S.
2~9 The string generated by the system.
10 The hyphen (-).
11 The category to which the template belongs.
12-15 The sequence number of the template.
16 The minor version of the template.