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. Workflow Management

Workflow Management

A workflow is a pre-arranged series of task processes. It enables the sequential execution of jobs according to pre-arranged links and conditions after specifying the input file source. You can configure nodes such as Normal Transcoding, Video Splicing, and Snapshot in the workflow. By freely combining these nodes, you can achieve typical functional scenarios like multi-resolution transcoding, multi-language subtitles, or multi-format packaging.

Create Workflow

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

Enter workflow list
  • Click the Create Workflow button to enter the workflow creation page.

Create a workflow
  • Add and configure nodes as needed.

  • Click the Save button to complete the workflow creation.

Node Description

You can add the following nodes when creating a workflow:

Node Name

Node Description

Normal Transcoding

Converts video files into formats suitable for playback on all platforms, providing users with a smooth and clear viewing experience.

Video Splicing

Used to splice multiple videos with different formats, encodings, or resolutions together, outputting a new video with a unified format, encoding, and resolution.

Snapshot

Captures images from the video at specified time points.

Output

Sets the storage path and file naming rules for the processing results. This node is the final state of the workflow.

Node Relationships

When saving a task, the last node of every workflow chain must be the Output node.
Adding node relationships is as follows:

Parent Node

Optional Next Node

Normal Transcoding

Normal Transcoding

Video Splicing

Snapshot

Output

Video Splicing

Normal Transcoding

Video Splicing

Snapshot

Output

Snapshot

Output

Normal Transcoding Node

Click the plus icon on the right side of the node and select Normal Transcoding node from the drop-down list.

Select a normal transcoding node

Click the transcoding node to enter the configuration page.

Transcoding node configuration

Configure Parameters:

  • Basic Parameters

Parameter

Description

Preset

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

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="32595237-5fa8-4511-bb92-e44462729acb"><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.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6565ce82-c610-454e-a280-296481b06a76"><ac:plain-text-body><![CDATA[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 [18, 28].
]]></ac:plain-text-body></ac:structured-macro>
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="72c84d4e-fb7c-4ee7-951f-59b9c8e5bb7d"><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="37a694c3-b28c-4555-a8ab-8c13670f462e"><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="3733c88a-5083-47c4-94bb-1688bcbb6ee4"><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". Since the video aspect ratio may be different 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="832cb6e5-34bb-4b97-bd8f-8cb4569da8f0"><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 Height:Width = 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.

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="10817fa2-7963-425f-b167-5f7e3925f4d5"><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="ea71cade-f4aa-4e07-9fec-2931c9b489df"><ac:plain-text-body><![CDATA[

Keyframe

Also known as the video keyframe interval (GOP). 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, default values generally 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="e5e80980-24c5-4c7d-95c0-5dedb3da8545"><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 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 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 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 leftward, negative indicates rightward.

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 starts from the video tail.

Video Splicing Node

Click the plus icon on the right side of the node and select Video Splicing node from the drop-down list.

Video stitching nodes

Click the video splicing node to enter the configuration page.

Video stitching node configuration
  • Set 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="67038cb4-3875-456d-ae68-8023293fc8cb"><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 duration 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.

Snapshot Node

Click the plus icon on the right side of the node and select Snapshot node from the drop-down list.

Screenshot Node

Click the snapshot node to enter the configuration page.

Screenshot node configuration
  • Set 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="59ade431-108c-4ff9-b6ac-76dab1db5f5b"><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.

Output Node

Click the plus icon on the right side of the node and select Output node from the drop-down list.

Output node

Click the output node to enter the configuration page.

Output node configuration
  • Set Parameters:

Parameter

Description

Output Path

Select the path of the VMRack Object Storage bucket as the path to store the newly generated file after transcoding is completed.

Output Filename

Supports Input Prefix + Source Filename.


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