ApsaraVideo VOD provides the transcoding feature. You can select and configure a transcoding template to transcode videos based on your business requirements.
Overview
After you upload videos, you must configure transcoding settings. You can select a normal transcoding template group or the No Transcoding template group. Built-in template groups No Transcoding and TranscodeTemplateGroup are provided. You can also create a custom transcoding template group.
- Normal transcoding template groups
- TranscodeTemplateGroup: This template group includes preset parameters such as definition, bitrate, and
resolution for videos in HTTP Live Streaming (HLS) and MP4 formats. You can quickly
configure the encoding format, watermark template, and encryption method.
The first time you use a transcoding template group, we recommend that you use the built-in template group TranscodeTemplateGroup.
- Custom transcoding template group: You can select different encapsulation formats
and definitions to transcode videos based on your business requirements. This template
group is suitable for long videos that require transcoding.
The definition options include Low Definition, Standard Definition, High Definition, Ultra High Definition, Original, 2K, 4K, High Quality, and Standard Quality. You can specify bitrates, resolutions, and formats for videos in different definitions. You can also categorize and manage different transcoding templates in transcoding template groups.
When you create a custom transcoding template group, you can select the definition of narrowband HD 1.0 such as LD-Narrowband HD1.0 or SD-Narrowband HD1.0. Narrowband HD TM 1.0 analyzes each scene, movement, content, and texture of a video based on the exclusive transcoding technology of Alibaba Cloud. Video bitrates can be optimized to lower bandwidth costs without the need to sacrifice video quality. For more information about narrowband HD 1.0, see Narrowband HD TM 1.0.
- TranscodeTemplateGroup: This template group includes preset parameters such as definition, bitrate, and
resolution for videos in HTTP Live Streaming (HLS) and MP4 formats. You can quickly
configure the encoding format, watermark template, and encryption method.
- No Transcoding template group
Videos are directly played in original quality. This template group is suitable for short videos that do not require transcoding.
If you select this template group, ApsaraVideo VOD automatically distributes videos in original quality and adds the videos to video streams. When you call the GetPlayInfo operation to obtain the playback information, the URL of the video in original quality is returned for playback. This template group is suitable for short videos and live-to-VOD scenarios.
By default, the No Transcoding template group is used after you activate the ApsaraVideo VOD service.
- You are charged for transcoding. For more information, see Pricing.
- If you set the Definition parameter to Original, the original definition and bitrate of videos are retained. Only the encapsulation format of videos is modified. This template group is suitable for scenarios in which you do not need to adjust the size or bitrate of videos. If you select the No Transcoding template group, the CDN URLs of your videos in original quality are used.
- Transcoding fees are calculated based on the width and height of the video, which may be different from the definition that is specified in the transcoding template.
Custom transcoding template group
If the No Transcoding and TranscodeTemplateGroup template groups cannot meet your business requirements, you can create a custom transcoding template group.- The changes of transcoding settings apply only to newly uploaded videos.
- To avoid transcoding failures, do not modify or delete a template or a template group when a transcoding job is in progress.
What to do next
After you create a transcoding template group, you can view, edit, or delete the transcoding template group, or specify the transcoding template group as the default transcoding template group. You cannot view, edit, or delete the No Transcoding template group.
