VMRack
Home
Products
Solutions
Pricing
Support
Referral Program
Help Documentation
VPS
Billing Overview
Expiration and Renewal
Quick Start Guide
Connect to Instance
Instance Management
Storage Management
Network and Security
Violation Handling
Resource Transfer
Private IP Address
FAQ
CDN
Billing Overview
Quick Start
Console Guide
FAQ
Object Storage
Billing Overview
Quick Start
Console Guide
FAQ
Transcoder
Billing Overview
Quick Start Guide
Task Management
Workflow Management
Preset Management
Queue Management
FAQ
Bare Metal Server
Billing Overview
Expiration and Renewal
Quick Start Guide
Connect to Instance
Instance Management
Network and Security
Violation Handling
Resource Transfer
FAQ
  1. Help Documentation
  2. /
  3. Transcoder
  4. /
  5. Preset Management

Preset Management

Transcoder supports presets for functions like Normal Transcoding, Video Splicing, Snapshot, and Watermark. Each function has corresponding detailed parameter configurations. You can preset general processing parameters through Preset Management for easy reuse. 

Prerequisites

Log in to the Transcoder Console, and click Preset Management in the left menu bar to enter the Preset List.

Enter the preset list

Transcoding Preset

In the Preset Management - Transcoding Preset List, click Create Preset to enter the configuration page.

Transcoding preset configuration

Set parameters:

  • Basic parameters:

Parameter

Description

Container Format

Supports MP4, FLV, HLS.

  • Video parameters:

Parameter

Description

Video Codec

Supports AV1, H.264, H.265.

Bitrate

Supports the following three bitrate control modes:
Default: Keeps the original video bitrate.
CBR (Constant Bit Rate): Constant bitrate. The output video stream bitrate remains constant regardless of picture complexity. Suitable for scenarios with stringent network bandwidth requirements.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d5ffe7da-a8ee-48b1-93aa-b00767be762b"><ac:plain-text-body><![CDATA[Unit: kilobits per second (kbit/s). Common frequency: 128, 1280, 5120, etc. Range limit [1, 50000].
]]></ac:plain-text-body></ac:structured-macro>
CRF (Constant Rate Factor): Constant quality factor. By setting a quality factor, the system ensures the visual quality of the video is constant while automatically adjusting the bitrate based on the content complexity. Suitable for scenarios hoping to maintain specific picture quality.
Setting the CRF value: The smaller the value, the higher the output video quality and the larger the file size. Usually 18 is visually lossless. Suggested configuration range 23-27.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5af61b99-726f-47f6-898e-eedaabb7a666"><ac:plain-text-body><![CDATA[Range for H.264 codec: [18, 28]
]]></ac:plain-text-body></ac:structured-macro>
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="22bc971e-bddb-47fd-8948-048e5f5deb7e"><ac:plain-text-body><![CDATA[Range for H.265 codec: [23, 33]

]]></ac:plain-text-body></ac:structured-macro>

Resolution

Supports two modes:
Original Resolution: Keeps consistency with the source video.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2a629c26-25d3-407d-8e98-2356d9524620"><ac:plain-text-body><![CDATA[Custom: Length and Width (Width and Height) can be scaled proportionally or by custom values. Long side value range [176, 3840] (integer), must be a multiple of 4. Otherwise, it will be automatically corrected. Short side value range [144, 2160] (integer), must be a multiple of 4, otherwise automatically corrected.

]]></ac:plain-text-body></ac:structured-macro>

Aspect Ratio

Effective when resolution is "Custom", and the video aspect ratio differs from the source video. Supports two modes:
Original Ratio: Maintains consistency with the source video.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ad9d0afb-ed3d-4371-80b4-ede63532215b"><ac:plain-text-body><![CDATA[Custom: Format is <width>:<height>. Value range [1, 100] (integer). Example: 3:4 indicates the playback aspect ratio in the video player is Width:Height = 3:4.

]]></ac:plain-text-body></ac:structured-macro>

Video Scaling

When the resolution selected by the user is non-original, the parameters can be configured. Supports two modes:
Stretch: Stretches the video content to fill the entire display area, which may distort the content.
Pad Black Borders: Adds black borders around the video to maintain the original aspect ratio of the content, but may waste some display space.

Remove Black Borders

Cannot be used when "Pad Black Borders" is selected.
When enabled, crops the partial black borders around the video before scaling.

Frame Rate

Number of frames displayed per second. Unit: Hertz (Hz).
Default: Disabled. Keeps consistency with the source video frame rate.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="190864f7-f8f5-4488-808c-6ee2e884d2c5"><ac:plain-text-body><![CDATA[Enabled: Supports custom frame rates: 24, 25, 30 frames, etc. Range [1, 120]. If the set value is higher than the source frame rate, duplicate frames will be inserted for compensation.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="eb91120b-6b66-43dc-ac1a-53ad03c8009c"><ac:plain-text-body><![CDATA[

Keyframe

Also known as the video keyframe interval. Value range [0, 3000] (integer).
]]></ac:plain-text-body></ac:structured-macro>
If not enabled, indicates using the specified video encoding format's default keyframe (e.g., for H.264 format, default GOP value is 250).
Small GOP values affect video compression ratio and bitrate becomes larger; large GOP values make the image group span too long, affecting random seek performance. Therefore, general default values are recommended.

Segment Clip

If only a part of the source file is needed, you can choose to complete it by segment clipping. Specifies the Start Time and Clip Length.

Segment Duration

When the container format is HLS, the duration of slice files. Default is 10s if not set.

Audio Parameters:

Parameter

Description

Disable Audio

Default is not enabled. When enabled, the audio stream will be removed from the transcoded video.

Codec

Supports Original Codec, MP3, AAC, AAC_HE.

Channels

Number of audio channels. Unit: Integer value. Supports two modes:
Original Ratio: Keeps consistency with the source audio.
Custom: When the audio encoding format is MP3, supported channels are 1, 2; when audio encoding format is AAC, supported channels are 1, 2, 4, 5, 6, 8.
The number of output channels cannot be greater than the number of input source channels.

Audio Bitrate

Supports two modes:
Original Ratio: Keeps consistency with the source audio.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="94a3d675-fd23-434d-83fd-b28654c94802"><ac:plain-text-body><![CDATA[Custom: Unit: kilobits per second (kbit/s). Common rates: 64k, 128k, 192k, 256k, 320k, etc. Audio encoding rate limit size is [1, 600]. Supports up to one decimal place.
]]></ac:plain-text-body></ac:structured-macro>
When not changing the audio encoding format, if the specified bitrate is greater than the original audio frequency, the original audio frequency is used for transcoding.

Sample Rate

Audio sampling frequency. Supports two modes:
Original Ratio: Keeps consistency with the source audio.
Custom: Unit: Hertz (Hz), takes integer values. Common audio sampling rates: 22050, 32000, 44100, 48000, etc.

Subtitle Parameters:

Parameter

Description

Disable Subtitles

Default is not enabled. When enabled, video subtitles (hard-coded subtitles in the video stream) will be removed.

Add Subtitles

Supports adding: ssa, srt, ass type subtitles (utf-8 encoding and utf-8 BOM encoding).

Watermark Preset

In the Preset Management - Watermark Preset List, click Create Preset to enter the configuration page.

Watermark preset configuration

Configure Parameters:

Parameter

Description

Watermark Type

Supports two types: Image Watermark, Text Watermark.

Image Watermark

Supports: png, jpg, bmp, gif, apng formats. Within 5MB.

Adaptive Scaling

Specifies the ratio of the watermark image's short side to the input video's short side. Value is (0, 1]. Number supports three decimal places.

Text Watermark

Supports setting Font, Font Size, Font Color attributes.

Watermark Position

Relative position of the watermark in the video screen, default is Top Right.

Horizontal Margin

Sets the relative horizontal offset of the watermark position. Positive indicates rightward, negative indicates leftward.

Vertical Margin

Sets the relative vertical offset of the watermark position. Positive indicates downward, negative indicates upward.

Watermark Timeline

Default is closed, watermark lasts from start to end.
When enabled, can set the Watermark Start Time and Duration.

From Header

Watermark starts from the video header.

From Tail (Reverse)

Watermark uses the video tail as the starting point.

Snapshot Preset

In the Preset Management - Snapshot Preset List, click Create Preset to enter the configuration page.

Screenshot preset configuration

Configure Parameters:

Parameter

Description

Preset

A template for processing parameters, which can be used to simplify operations.

Type

Supports two types: Single Snapshot, Multi-Snapshot.

Format

Output target snapshot format. Supports JPG, PNG.

Image Resolution

Supports two modes:
Original Ratio: Keeps consistency with the source video.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f291a0b8-a1d8-4303-8ba8-10684d1a0374"><ac:plain-text-body><![CDATA[Custom: Length and Width (Width and Height) can be scaled proportionally or by custom values. Long side value range [176, 3840] (integer), must be a multiple of 4. Otherwise, it will be automatically corrected. Short side value range [144, 2160] (integer), must be a multiple of 4, otherwise automatically corrected.

]]></ac:plain-text-body></ac:structured-macro>

Start Time

Specifies the timestamp to start capturing the video. Unit: Seconds.

End Time

Specifies the timestamp to end capturing the video. Unit: Seconds.

Interval

Default value is 5 seconds. Specifies sampling snapshot interval. Unit: Seconds.

Video Splicing Preset

In the Preset Management - Video Splicing Preset List, click Create Preset to enter the configuration page.

Video stitching preset configuration

Configure Parameters:

Parameter

Description

Preset

A template for processing parameters, which can be used to simplify operations.

Container Format

Supports MP4, MKV.

Output Resolution

Supports two modes:
Original Ratio: Keeps consistency with the source video.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="192c30b3-46a7-47e7-a95a-577c4d90fcdb"><ac:plain-text-body><![CDATA[Custom: Length and Width (Width and Height) can be scaled proportionally or by custom values. Long side value range [176, 3840] (integer), must be a multiple of 4. Otherwise, it will be automatically corrected. Short side value range [144, 2160] (integer), must be a multiple of 4, otherwise automatically corrected.

]]></ac:plain-text-body></ac:structured-macro>

Peak Bitrate

Limits the peak bitrate of the output video stream. Unit: kilobits per second (kbit/s). Bitrate limit size is \[10, 10000\] (integer).

Splicing File

Supports: MP4, MKV, MOV, AVI, WMV, RMVB, VOB, FLV, MPEG-TS, WebM format files. Video count does not exceed 10, total size within 1GB.

Audio Padding

When enabled, fills silence/audio into video files that lack an audio track during splicing.

Auto Padding

When video file resolutions are inconsistent, automatically adds black borders to the video for proportional scaling.

VMRack
  • Products
  • VPS Hosting
  • VPS Hosting
    Unmetered
  • Bare Metal
  • GPU Rental
  • CDN
    Public Beta
  • Custom CDN
  • Object Storage
    Public Beta
  • Transcoder
    Public Beta
  • Solutions
  • Bring Your Own IP (BYOIP)
  • Customized Server Solutions
  • Colocation Services
  • Resources
  • Pricing
  • Help Documentation
  • Articles
  • Developer Center
  • Referral Program
  • Contact
  • Company
  • About Us
  • Terms of Service
  • User Agreement
  • Privacy Policy
  • Service Level Agreement