Update Preset
Preset ID, must be greater than or equal to 1
Transcoding Preset
Transcoding preset name
Container Format
0: MP4
1: MKV
2: HLS
Video Parameters
Video Codec
0: H264
1: H265
2: AV1
Bitrate Config
Bitrate Config Type
0: Default
1: Constant Bitrate (CBR)
2: CRF
Bitrate config value
Resolution Config
Resolution Config Type
0: Original Resolution
1: 4K
2: 2K
3: 1080P
4: 720P
5: 480P
6: Custom Resolution
Resolution Width
Resolution Height
Display Aspect Ratio Config
Display Aspect Ratio Config Type
0: Original Aspect Ratio
1: 16:10
2: 16:9
3: 4:3
4: 1:1
5: Custom Aspect Ratio
Custom display width
Custom display height
Whether to remove black bars
Scaling config, null means not set
Scaling Config Type
0: Stretch
1: Letterbox
Video framerate config, null means not set
Custom framerate value
Keyframe config, null means not set
Custom keyframe value
Clip segment config, null means not set
Start time (seconds)
Duration (seconds)
Segment duration, required for HLS type
Audio Parameters
Whether to disable audio
Audio Codec
0: Default
2: MP3
1: AAC
3: ACC_HE
Audio channel config, 0 means keep original. Note: channels must match audio codec, otherwise transcoding or output may fail
Audio Bitrate Config
Audio Bitrate Config Type
0: Default
1: 96k
2: 128K
3: 192K
4: 256K
5: 320K
6: Custom
Audio bitrate config value
Audio Sample Rate Config
Audio Sample Rate Config Type
0: Default
1: 8000
2: 11025
3: 12000
4: 16000
5: 22050
6: 24000
7: 32000
8: 44100
9: 48000
10: 64000
11: 88200
12: 96000
20: Custom
Audio sample rate config value
Subtitle Parameters
Whether to disable subtitle
input file list
Bucket name
Object Name
Cloud Storage Data ID
Subtitle placeholder, 1-based, 0 means no subtitle
Whether to convert soft subtitle to hard subtitle
Subtitle index, 0-based
Watermark Preset
Watermark preset name
Watermark Configuration Details
Watermark Type
0: Text
1: Image
Text Watermark Configuration
Text watermark content
Watermark Text Font
0: FangZheng Song
1: FangZheng Hei
2: FangZheng Kai
3: MapleMono
Text watermark font size (PX)
Text watermark color
Whether to add text border
Border width (1-5PX)
Border color (hex color value)
Border opacity (0-1.0)
Whether italic
Whether bold
Image Watermark Configuration
input file list
Bucket name
Object Name
Cloud Storage Data ID
Image Scaling Config
Scaling ratio, (0-1], ratio of watermark to video size
Watermark Position
0: Top Left
4: Top Center
2: Top Right
1: Middle Left
5: Center
3: Middle Right
6: Bottom Left
7: Bottom Center
8: Bottom Right
Watermark Horizontal Margin (px)
Watermark vertical margin (px)
Watermark Timeline Configuration
Watermark Timeline Start Type
0: From Beginning
1: From End
Start time (seconds)
Duration (seconds)
Watermark animation
Watermark Position
0: Top Left
4: Top Center
2: Top Right
1: Middle Left
5: Center
3: Middle Right
6: Bottom Left
7: Bottom Center
8: Bottom Right
Watermark End Horizontal Margin (px)
Watermark End Vertical Margin (px)
Watermark Animation Time Mode
0: Once
1: Repeat
Watermark Animation Start Time
Watermark Animation Interval
Watermark Animation Duration
Screenshot Preset
Screenshot preset name
Screenshot Config
Screenshot Preset ID
Screenshot Type
0: Single
1: Multiple
Screenshot Container Format
0: JPEG
1: PNG
Resolution Config
Resolution Config Type
0: Original Resolution
1: 4K
2: 2K
3: 1080P
4: 720P
5: 480P
6: Custom Resolution
Resolution Width
Resolution Height
Screenshot start time (seconds)
Screenshot duration (seconds), required for multiple screenshots
Screenshot interval (seconds), required for multiple screenshots
Screenshot Interval Type
0: Second
1: Percent
Screenshot interval percent (1-100)
Screenshot Time Mode
0: Precise Time
1: Percent Range
Screenshot start percent (only valid for percent mode)
Screenshot end percent (only valid for percent mode)
Screenshot count, only valid for percent mode
Video Concatenation Preset
Video concatenation preset name
Video Concatenation Config
Concatenation Preset ID
Video Concatenation Container Format
0: MP4
1: MKV
Resolution Config
Resolution Config Type
0: Original Resolution
1: 4K
2: 2K
3: 1080P
4: 720P
5: 480P
6: Custom Resolution
Resolution Width
Resolution Height
Peak bitrate config, null means not set
Peak bitrate config value
Concatenation input file list
Bucket name
Object Name
Cloud Storage Data ID
Whether to pad audio for videos without audio track
Whether to add black borders
Source video position, 0 means the first video in the index