When using the data processing workflow feature, you usually need to set a series of parameters, which can be combined through a template. This simplifies your operations and allows you to reuse the configured parameters with no need to enter them repeatedly.
For media processing features such as audio/video transcoding, audio/video splicing, video frame capturing, and video to animated image conversion, you need to specify a template when creating a job or workflow. The template page provides system templates, and you can also customize templates based on your business needs.
The system combines common parameters in advance into system templates, so that you can use them directly. When creating a job or workflow, you can select such a template by the template name.
Note:
- Currently, the system provides 15 audio/video transcoding, 3 video frame capturing, and 18 video to animated image conversion templates.
- You can view the information of system templates but cannot edit or delete them.
Template ID | Template Name | Container Format | Video Encoding Format | Resolution | Video Bitrate | Audio Encoding Format | Audio Bitrate |
---|---|---|---|---|---|---|---|
t02db40900dc1c43ad9bdbd8acec6075c5 | MP4-FLU | MP4 | H.264 | 640 * auto-scaled | 512 Kbps | AAC | 128 Kbps |
t04e1ab86554984f1aa17c062fbf6c007c | MP4-SD | MP4 | H.264 | 720 * auto-scaled | 1024 Kbps | AAC | 128 Kbps |
t02d06d8ad881648e69f9ca95b2e7e4b6a | MP4-HD | MP4 | H.264 | 1280 * auto-scaled | 2000 Kbps | AAC | 128 Kbps |
t064fb9214850f49aaac44b5561a7b0b3b | MP4-FHD | MP4 | H.264 | 1920 * auto-scaled | 3500 Kbps | AAC | 128 Kbps |
t077211ea3e0e74168b8ed921fcb2d5a6b | MP4-2K | MP4 | H.264 | 2048 * auto-scaled | 4800 Kbps | AAC | 128 Kbps |
t0c9cfaffb5055467691b85eed1242cd03 | FLV-FLU | FLV | H.264 | 640 * auto-scaled | 512 Kbps | AAC | 128 Kbps |
t0b612860a293f410785b3e672465dca38 | FLV-SD | FLV | H.264 | 720 * auto-scaled | 1024 Kbps | AAC | 128 Kbps |
t0b6a845f5e42847bd810ee9cbf337f83c | FLV-HD | FLV | H.264 | 1280 *auto-scaled | 2000 Kbps | AAC | 128 Kbps |
t08571e1f229094eb79817f8474987a479 | FLV-FHD | FLV | H.264 | 1920 * auto-scaled | 3500 Kbps | AAC | 128 Kbps |
t0f52244b7f3c743eb9f9080b15e5fe2f8 | FLV-2K | FLV | H.264 | 2048 * auto-scaled | 4800 Kbps | AAC | 128 Kbps |
t06e5246d8bf694c88b16ae7512e83962a | HLS-FLU | M3U8 | H.264 | 640 * auto-scaled | 512 Kbps | AAC | 128 Kbps |
t03ed6a4e1b374429eadec266bd6859347 | HLS-SD | M3U8 | H.264 | 720 * auto-scaled | 1024 Kbps | AAC | 128 Kbps |
t0e09a9456d4124542b1f0e44d501d7182 | HLS-HD | M3U8 | H.264 | 1280 * auto-scaled | 2000 Kbps | AAC | 128 Kbps |
t088613dea8d564a9ba7e6b02cbd5de877 | HLS-FHD | M3U8 | H.264 | 1920 * auto-scaled | 3500 Kbps | AAC | 128 Kbps |
t08e7237a0975c427cabfa3d958f29aa58 | HLS-2K | M3U8 | H.264 | 2048 * auto-scaled | 4800 Kbps | AAC | 128 Kbps |
Template ID | Template Name | Frame Capturing Start Time | Frame Capturing Interval | Max Frame Count Per Video | Output Image Size | Output Format |
---|---|---|---|---|---|---|
t01d40e440761448fc8c538fb8d5a5b81e | snapshot_320 * 180_1 | 0s | 2s | 5 | 320 * 180 px | JPEG |
t0a60a2bc71a4b40c7b3d7f7e8a2779a81 | snapshot_640 * 360_2 | 0s | 10s | 5 | 640 * 360 px | JPEG |
t07740e32081b44ad7a0aea03adcffd54a | snapshot_1280 * 720_3 | 0s | 10s | 5 | 1280 * 720 px | JPEG |
Template ID | Template Name | Transcoding Start Time | Transcoding Duration | Frame Extraction Method | Output Animated Image Frame Rate | Output Animated Image Size | Output Format | Output Animated Image Quality |
---|---|---|---|---|---|---|---|---|
t04373959a69c04d47b62fd214dd13d8e9 | gif_320 * 180_1 | 0s | 600s | Only keyframes are extracted | Adaptive | 320 * 180 px | GIF | \ |
t0341b0ab2b8a340ff826e9cb4f3a7baea | gif_320 * 180_2 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 320 * 180 px | GIF | \ |
t046b1d8e5bdf842c6a58d8028b48eafee | gif_320 * 180_3 | 0s | 600s | Ten frames are extracted per second | Adaptive (10 FPS) | 320 * 180 px | GIF | \ |
t0ef2077f215864c018a2fca73614ceca6 | gif_640 * 360_4 | 0s | 600s | Only keyframes are extracted | Adaptive | 640 * 360 px | GIF | \ |
t0d21406ca737a40869973a37a5daa349a | gif_640 * 360_5 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 640 * 360 px | GIF | \ |
t0878a9c9c1f054cb5bca68b8b06e556c2 | gif_640 * 360_6 | 0s | 600s | Ten frames are extracted per second | Adaptive (10 FPS) | 640 * 360 px | GIF | \ |
t0dae821708cea4ba5b3e271810ac80a21 | gif_1280 * 720_7 | 0s | 600s | Only keyframes are extracted | Adaptive | 1280 * 720 px | GIF | \ |
t03fef67ad94d2466b9c0c89252ed72e87 | gif_1280 * 720_8 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 1280 * 720 px | GIF | \ |
t030a64e9f9f5a4f53a9ef64bb7ce490b5 | gif_1280 * 720_9 | 0s | 600s | Ten frames are extracted per second | Adaptive (10 FPS) | 1280 * 720 px | GIF | \ |
t03b0e9eca4fc34e2cba9da89d9c7c13a2 | webp_320 * 180_1 | 0s | 60s | Only keyframes are extracted | Adaptive | 320 * 180 px | WEBP | 75 |
t016fcddf6bc3c44b793e9b7b07119b4ee | webp_320 * 180_2 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 320 * 180 px | WEBP | 75 |
t0bf1f1ce6d2404b258c0f81fbb9aaece1 | webp_320 * 180_3 | 0s | 600s | One frame is extracted every 10s | Adaptive (10 FPS) | 320 * 180 px | WEBP | 75 |
t098d6d3fcfd2c45309a408594a42559f6 | webp_640 * 360_4 | 0s | 60s | Only keyframes are extracted | Adaptive | 640 * 360 px | WEBP | 75 |
t0169a6a9c2eec4b51972eb63bafcbf08d | webp_640 * 360_5 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 640 * 360 px | WEBP | 75 |
t0ef9ba537011e4876b8777aebc19d10a5 | webp_640 * 360_6 | 0s | 600s | One frame is extracted every 10s | Adaptive (10 FPS) | 640 * 360 px | WEBP | 75 |
t02743d344b5e74c579e50e9e135b432b8 | webp_1280 * 720_7 | 0s | 60s | Only keyframes are extracted | Adaptive | 1280 * 720 px | WEBP | 75 |
t0dd27c136ff2741538bec96981e058868 | webp_1280 * 720_8 | 0s | 600s | One frame is extracted every 10s | Adaptive (0.1 FPS) | 1280 * 720 px | WEBP | 75 |
t00ad05235d67a45a9a697b553052b7346 | webp_1280 * 720_9 | 0s | 600s | One frame is extracted every 10s | Adaptive (10 FPS) | 1280 * 720 px | WEBP | 75 |
If system templates cannot meet your needs, use custom templates. Currently, you can create custom templates for audio/video transcoding, top speed codec transcoding, highlights generation, video frame capturing, video to animated image conversion, video watermark, audio/video splicing, voice/sound separation, video enhancement, super-resolution, image processing, and broadcast media format transcoding.
The audio/video transcoding feature converts an audio/video file bitstream. It changes parameters of the source bitstream, such as codec, resolution, and bitrate, to adapt to different devices and network conditions. You can customize the template parameters in a custom audio/video transcoding template.
Note:You can use the template when creating an audio/video transcoding job or workflow.
The top speed codec transcoding feature improves the subjective image quality of a video at a low bitrate. Compared with regular audio/video transcoding, it outputs smaller files and clearer video images and delivers a better visual experience with guaranteed low network resource usage. You can customize parameters such as codec, resolution, and bitrate in a custom top speed codec transcoding template.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Top Speed Codec Transcoding and click Create Top Speed Codec Transcoding Template.
In the Create Top Speed Codec Transcoding Template window, configure the following items:
Note:You can use the template when creating a top speed codec transcoding job or workflow.
This feature processes special formats such as XAVC and ProRes.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Broadcast Media Format Transcoding and click Create Broadcast Media Format Transcoding Template.
In the Create Broadcast Media Format Transcoding Template window, configure the following items:
Note:You can use the template when creating a broadcast media format transcoding job or workflow.
The highlights generation feature automatically extracts highlights from a video. You can use a custom template to set the highlights generation template name and specify the maximum duration, resolution, and format of the output highlight video.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Highlights Generation and click Create Highlights Generation Template.
In the Create Highlights Generation Template window, configure the following items:
Note:Currently, highlights generation can be used only for landscape, food, street, and vlog scenarios and will support more scenarios in the future. If you want to customize this feature, contact us for assistance.
Note:You can use the template when creating a highlights generation job or workflow.
The video frame capturing feature captures the frames of a video at specified time points. The output screenshots are in JPG format by default. If you enable captured frame compression, screenshots can be output in HEIF or TPG format. You can customize the template name, frame capturing start time, frame capturing interval, captured frames, and output image size and format in a custom video frame capturing template.
Note:You can use the template when creating a video frame capturing job or workflow.
The video to animated image conversion feature converts a video to animated images. You can customize the template name, transcoding start time, transcoding duration, frame extraction method, output animated image frame rate, and output animated image size in a custom video to animated image conversion template.
Note:You can use the template when creating a video to animated image conversion job or workflow.
The video watermark feature adds a text or image watermark to a video during transcoding.
Note:Currently, you can add up to three watermarks in the console or five via API at a time. To add more watermarks, contact us for assistance.
a
and height ratio is b
, then the watermark width will be w = W * a
, and the watermark height will be h = H * b
(here, W
and H
are the video width and height respectively).a
and the vertical ratio is b
, then the horizontal offset will be Dx = W * a
, and the vertical offset will be Dy = H * b
(here, W
and H
are the video width and height respectively).Dx
, and the vertical offset is Dy
.a
and height ratio is b
, then the watermark width will be w = W * a
, and the watermark height will be h = H * b
(here, W
and H
are the video width and height respectively).a
and the vertical ratio is b
, then the horizontal offset will be Dx = W * a
, and the vertical offset will be Dy = H * b
(here, W
and H
are the video width and height respectively).Dx
, and the vertical offset is Dy
.0xRRGGBB
.Note:You can use the template when creating an audio/video transcoding, SDR to HDR, video enhancement, or super-resolution job or workflow.
The video/audio splicing feature adds the specified video/audio segment at the beginning or end of a video/audio file to generate a new one.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Audio/Video Splicing and click Create Audio/Video Splicing Template.
In the Create Audio/Video Splicing Template window, configure the following items:
Note:You can use the template when creating an audio/video splicing job or workflow.
You can separate the same audio file into a voice file and a background sound file for subsequent video editing and playback.
Note:You can use the template when creating a voice separation job or workflow.
The video enhancement feature uses AI to improve the video quality and enhance the video colors and details visually.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Video Enhancement and click Create Video Enhancement Template.
In the Create Video Enhancement Template window, configure the following items:
Note:
- Currently, video enhancement supports color and detail enhancement. Other features will be provided in the future.
- The input video for enhancement must be shorter than 30 minutes.
Note:You can use the template when creating a video enhancement job or workflow.
The super-resolution feature reconstructs the details and local features of an image by recognizing its content and contour so as to generate a high-resolution image through a series of low-resolution images.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Super-Resolution and click Create Super-Resolution Template.
In the Create Super-Resolution Template window, configure the following items:
Note:You can use the template when creating a super-resolution job or workflow.
Image processing is a rich-featured, cost-effective, and high-reliability image processing service provided by CI. It supports flexible image editing, such as rotation, cropping, transcoding, and zooming. It provides multiple image downsizing solutions like Guetzli compression, TPG transcoding, and HEIF transcoding, as well as diversified copyright protection solutions like image/text/blind watermarking. This meets your image processing needs in different business scenarios.
Log in to the COS console.
Select Bucket List on the left sidebar.
Click the name of the bucket for video storage.
On the left sidebar, select Data Processing Workflow > Common Configuration. Then, select the Template tab to go to the template configuration page.
Select Video Processing and click Create Video Processing Template.
In the Create Video Processing Template window, configure the following items:
Note:You can use the template when creating an image processing job or workflow.
Was this page helpful?