All Products
Search
Document Center

ApsaraVideo Media Processing:Preset template details

Last Updated:Oct 27, 2025

A transcoding template is a collection of processing parameters. You can use a transcoding template to simplify operations when you create a transcoding job or use a workflow. This topic describes static preset templates, intelligent preset templates, preset templates of the previous version, and naming rules for preset template IDs. Static preset templates include regular transcoding templates, audio transcoding templates, templates for container format conversion, Narrowband HD™ 1.0 templates, and Narrowband HD™ 2.0 templates.

Static preset templates

Note

To use preset Narrowband HD™ 2.0 templates, select Narrowband HD 2.0 as the ApsaraVideo Media Processing (MPS) queue type. To use other static preset templates, select a standard MPS queue or high-speed MPS queue.

Regular transcoding templates

An output file can be in one of the following formats: HTTP Live Streaming (HLS), MP4, or FLV. The files in the HLS format include M3U8 files and TS files. The bitrates of output audio and video files cannot be greater than the maximum bitrates described in the following table. The output files of each template have the same resolution width. The resolution height of an output file is scaled in proportion based on the resolution of the input video. Auto-rotate screen is not supported. Video resolution, video bitrate, and audio bitrate checks are not supported. In other words, if the video resolution, video bitrate, or audio bitrate of the input file is less than the corresponding maximum value specified in the template, unsampling occurs. To use the features, configure feature-related parameters when you submit a transcoding job by calling an API operation.

Template ID

Template Name

Name (Chinese)

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-Full HD-1920

M3U8

H.264

AAC

3,000

160

1,920

S00000001-100030

M3U8-HD

H264-M3U8-StandardHD1280

M3U8

H.264

AAC

1,800

128

1,280

S00000001-100020

M3U8-SD

H264-M3U8-SD848

M3U8

H.264

AAC

800

80

848

S00000001-100010

M3U8-LD

H264-M3U8-low-definition-640

M3U8

H.264

AAC

400

64

640

S00000001-100050

M3U8-XLD

H264-M3U8-Ultrafast-320

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

H.264/MP4, Full HD (1920×1080)

MP4

H.264

AAC

3,000

160

1,920

S00000001-200030

MP4-HD

H.264/MP4, High Definition (1280)

MP4

H.264

AAC

1,800

128

1,280

S00000001-200020

MP4-SD

H264-MP4-SD848

MP4

H.264

AAC

800

80

848

S00000001-200010

MP4-LD

H264-MP4-Low-Definition (640)

MP4

H.264

AAC

400

64

640

S00000001-200050

MP4-XLD

H264-MP4-Speedy-320

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-Full-HD-1920

FLV

H.264

AAC

3,000

160

1,920

S00000001-000030

FLV-HD

H264-FLV-HD 1280

FLV

H.264

AAC

1,800

128

1,280

S00000001-000020

FLV-SD

H264-FLV-StandardDefinition848

FLV

H.264

AAC

800

80

848

S00000001-000010

FLV-LD

H264-FLV (low definition, 640)

FLV

H.264

AAC

400

64

640

S00000001-000050

FLV-XLD

H264-FLV-Top-Speed320

FLV

H.264

AAC

≤300

32

320

Audio transcoding templates

Output audio files are in the MP3 format. The bitrate of an output audio file cannot be greater than the maximum bitrate described in the following table. Audio bitrate checks are not supported. In other words, if the bitrate of the input audio file is less than the maximum audio bitrate specified in the template, unsampling occurs. To use the feature, configure feature-related parameters when you submit a transcoding job by calling an API operation.

Template ID

Template Name

Chinese 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

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.

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 a template for container format conversion may fail.

Template ID

Template Name

Chinese Name

Container format

S00000001-100000

M3U8-COPY

Conversion to M3U8

M3U8

S00000001-200000

MP4-COPY

MP4 Container Format Conversion

MP4

S00000001-000000

FLV-COPY

Converting container formats to FLV

FLV

Narrowband HD™ 1.0 templates

Compared with a regular transcoding template, a Narrowband HD™ 1.0 template lets you generate an output video file at a lower bitrate without compromising video quality. This helps you reduce content delivery network (CDN) and storage costs. Auto-rotate screen is supported. Video resolution, video bitrate, and audio bitrate checks are not supported. In other words, if the video resolution, video bitrate, or audio bitrate of the input file is less than the corresponding maximum value specified in the template, unsampling occurs. To use the features, configure feature-related parameters when you submit a transcoding job by calling an API operation.

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

≤3000

128

1,920

S00000002-100040

M3U8-HD-NarrowBandHDV1

H264-M3U8-HD-NarrowBandHDV1

M3U8

H.264

AAC

≤1500

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

≤ 8000

128

3,840

S00000002-200060

MP4-2K-NarrowBandHDV1

Narrowband HD™-H264-MP4-2K

MP4

H.264

AAC

≤4,000

128

2,048

S00000002-200050

MP4-FHD-NarrowBandHDV1

H264-MP4-FHD-NarrowBandHDV1

MP4

H.264

AAC

Less than or equal to 3000

128

1,920

S00000002-200040

MP4-HD-NarrowBandHDV1

Narrowband HD™-H264-MP4-HD 1280

MP4

H.264

AAC

≤ 1500

128

1,280

S00000002-200030

MP4-SD-NarrowBandHDV1

H264-MP4-SD-NarrowBandHDV1

MP4

H.264

AAC

≤ 800

80

848

S00000002-200020

MP4-LD-NarrowBandHDV1

Narrowband HD™-H264-MP4-low definition (640)

MP4

H.264

AAC

≤ 400

32

640

S00000002-000070

FLV-4K-NarrowBandHDV1

Narrowband HD™-H264-FLV-4K

FLV

H.264

AAC

≤8000

128

3,840

S00000002-000060

FLV-2K-NarrowBandHDV1

H264-FLV-2K-NarrowBandHDV1

FLV

H.264

AAC

≤4000

128

2,048

S00000002-000050

FLV-FHD-NarrowBandHDV1

Narrowband HD™-H264-FLV-Full HD 1920

FLV

H.264

AAC

≤3000

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

Narrowband HD™ 2.0 templates

Note

To use Narrowband HD™ 2.0 templates, select Narrowband HD 2.0 as the MPS queue type.

Auto-rotate screen is supported. Video resolution, video bitrate, and audio bitrate checks are not supported. In other words, if the video resolution, video bitrate, or audio bitrate of the input file is less than the corresponding maximum value specified in the template, unsampling occurs. To use the features, configure feature-related parameters when you submit a transcoding job by calling an API operation.

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

≤3000

128

1,920

S00000003-200040

MP4-HD-NarrowBandHDV2

Narrowband HD™️2.0-H264-FLV-Quasi-HD-1280

MP4

H.264

AAC

≤ 1500

128

1,280

S00000003-200030

MP4-SD-NarrowBandHDV2

H264-MP4-SD-NarrowBandHDV2

MP4

H.264

AAC

≤800

80

848

S00000003-200020

MP4-LD-NarrowBandHDV2

Narrowband HD™ 2.0 (H264, FLV, low definition, 640)

MP4

H.264

AAC

≤400

32

640

Intelligent preset templates

Intelligent preset templates automatically adjust transcoding parameters based on the input video file so that output video files can meet requirements.

Note

Whether an intelligent preset template is applicable to an input video file depends on the properties such as resolution and bitrate of the input video file. Therefore, before you use an intelligent preset template, you must call the SubmitAnalysisJob operation to analyze a media file, and then call the QueryAnalysisJobList operation to query the intelligent preset templates that are available. When you submit a transcoding job, use an appropriate intelligent preset template.

Template ID

Template Name

Display Name

Container format

Bitrate range (Kbit/s)

Resolution (pixel)

S00000000-100050

M3U8-FHD

M3U8-FHD

M3U8

2 M - 4 M

[720,1080]

S00000000-100040

M3U8-HD

M3U8-HD

M3U8

1 to 2 M

≥ 576

S00000000-100030

M3U8-SD

M3U8-SD

M3U8

500k to 1M

≥ 480

S00000000-100020

M3U8-LD

M3U8-LD

M3U8

< 500

≥ 270

S00000000-200050

MP4-FHD

MP4-FHD

MP4

2 M to 4 M

[720,1080]

S00000000-200040

MP4-HD

MP4-HD

MP4

1 M–2 M

≥ 576

S00000000-200030

MP4-SD

MP4-SD

MP4

500,000 to 1 million

≥ 480

S00000000-200020

MP4-LD

MP4 (low definition)

MP4

Less than 500,000

≥ 270

S00000000-000050

FLV-FHD

FLV-FHD

FLV

2–4 M

[720,1080]

S00000000-000040

FLV-HD

FLV-HD

FLV

1 to 2 M

≥ 576

S00000000-000030

FLV-SD

FLV-SD

FLV

500,000 to 1,000,000

At least 480p

S00000000-000020

FLV-LD

FLV (low definition)

FLV

Less than 500,000

≥ 270

Preset templates of the previous version

The following table describes the preset super-resolution templates of the previous version. We recommend that you use the preset templates of the new version.

Note

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.

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

The super-resolution template of the previous version that uses a narrow standard MPS queue. This template can be used on web browsers, iOS devices, and Android devices.

S00000001-400040

MP4-SDToHD

MP4-SDToHD

MP4

≤6000

128

≤ 1,280

The super-resolution template of the previous version that uses a narrow standard MPS queue. This template can be used on web browsers, iOS devices, and Android devices.

Naming rules for preset template IDs

Character sequence number

Description

1

S

2 to 9

Reserved

10

The hyphen (-).

11

The category to which the template belongs.

12 to 15

The sequence number of the template.

16

The minor version of the template.