|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Parameters for transcoding features. |
||
| Clip |
object |
Clip settings. |
|
| TimeSpan |
object |
The time span for the clip. |
|
| Seek |
string |
Specifies the start time of the clip. If this parameter is not set, the clip starts from the beginning of the video.
|
180.30 |
| Duration |
string |
Specifies the duration of the clip, relative to the
|
60.0 |
| End |
string |
Specifies the end time of the clip. You can specify either
|
50 |
| ConfigToClipFirstPart |
string |
Specifies whether to clip the first segment before concatenation.
|
false |
| Watermarks |
array |
A list of watermark settings to overlay on the video. If specified, these settings override the corresponding parameters in the specified watermark template.
|
|
|
object |
Settings for a single watermark. |
||
| Type |
string |
The type of the watermark.
Default value: The system automatically determines the type based on the watermark template. |
Image |
| TemplateId |
string |
The ID of the watermark template. |
962e1332fa2d4e12bdfb76dd1402fcfa |
| X |
string |
The horizontal offset of the watermark relative to the output video. If specified, this value overrides the corresponding parameter in the watermark template. You can specify the value in two ways:
|
0.08 |
| Y |
string |
The vertical offset of the watermark relative to the output video. If specified, this value overrides the corresponding parameter in the watermark template. You can specify the value in two ways:
|
0.08 |
| Width |
string |
The width of the watermark. If specified, this value overrides the corresponding parameter in the watermark template. You can specify the value in two ways:
|
0.1 |
| Height |
string |
The height of the watermark. If specified, this value overrides the corresponding parameter in the watermark template. You can specify the value in two ways:
|
0.1 |
| Content |
string |
The content of the text watermark. |
TextWatarmark |
| FontName |
string |
The font name for the text watermark.
|
SimSum |
| FontSize |
string |
The font size of the text watermark.
|
|
| FontColor |
string |
The font color of the text watermark.
|
black |
| FontAlpha |
string |
The opacity of the font.
|
1.0 |
| BorderWidth |
string |
The border width of the text watermark.
|
0 |
| BorderColor |
string |
The border color of the text watermark.
|
Black |
| Adaptive |
string |
Specifies whether the font size of the text watermark adapts to the output video resolution.
|
true |
| Metadata |
object |
Specifies the metadata for the output video container format, provided as JSON key-value pairs. Example:
You can add a maximum of four metadata key-value pairs. |
|
|
string |
The value for a metadata entry. In the |
{"AIGC": "xxx"} |
MediaConvertJobFeature
Updated at:
Copy as MD
Is this page helpful?