A transcoding template is a predefined set of processing parameters that streamlines the creation of transcoding tasks. Each transcoding template is identified by a unique ID. This topic describes different types of transcoding templates and their configurations.
Transcoding templates
Standard transcoding
Video transcoding refers to the process of converting a compressed stream into another stream to adapt to different terminals and network bandwidth. Transcoding is a process in which decoding and encoding are performed. Streams before and after transcoding may use the same or different video encoding standards.
The following table describes the standard transcoding methods supported by Intelligent Media Services (IMS).
Method | Description | Scenario |
Regular transcoding | Provides comprehensive video transcoding features to convert media files between multiple formats. You can choose different container formats, such as MP4, AVI, and MKV, and resolutions to adapt to various playback devices. | Formatting long video content |
Audio transcoding | Provides a variety of audio processing capabilities, including converting audio file format, extracting audio streams from video files, and audio effect processing and enhancement. | Converting audio files to different formats, adjusting audio quality parameters, or extracting audio from videos to ensure playback compatibility, optimize storage, and facilitate content production |
Container format conversion | Converts the container format of videos without changing the resolution or bitrate. | Maintaining the image size or bitrate of the videos |
Subtitle
A subtitle template is a transcoding template that embeds subtitles into a video. This type of template ensures that subtitles are directly embedded into the video rather than being stored as an external file. This improves playback compatibility and user experience.
Watermark
IMS allows you to add watermarks to a video. During video transcoding, you can add images or text as watermarks to a video stream. Then, a new video file that has the watermarks is generated. You can add information such as enterprise or brand logos, TV station logos, and user IDs or nicknames as watermarks for video copyright declaration or brand promotion.
The following table describes the watermark types supported by IMS.
Watermark type | Description |
Image watermark | You can upload a PNG or GIF image. An image watermark can be displayed in a specific position throughout a video or within a specific period of time based on the start and end time that you specify. |
Text watermark | You can add one or more pieces of text as watermarks to videos. You can configure text properties such as the font, font size, color, transparency, and outline, and add different text content to different videos. |
If files are used as dynamic image watermarks, the file name extensions, such as GIF, must be in lowercase. This limit is not applied to file name extensions of files that are used as static image watermarks.
The files that are used as watermarks and the video to which the watermarks are added must be stored on the same origin server. For example, videos that are stored on an origin server in the Singapore region can use only watermarks that are stored on the same origin server in the Singapore region. For more information about how to add or configure storage addresses in a region, see Configure storage addresses.