|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The media transcoding job configuration. |
||
| JobName |
string |
The job name.
|
Name |
| Inputs |
array |
The list of inputs for the transcoding job. |
|
|
object |
The input for the transcoding job. |
||
| Name |
string |
The name of the input file. This name can be referenced when InputRef is used in Output. |
InputVideo |
| InputFile |
object |
The input file. |
|
| Type |
string |
The media file type. Valid values:
|
OSS |
| Media |
string |
The URL or ID of the media asset file.
|
http://bucket.loction.aliyuncs.com/path/to/video.mp4 |
| OutputGroups |
array |
The list of output group configurations for the transcoding job. |
|
|
object |
The output group configuration for the transcoding job. |
||
| Name |
string |
The name of the output group. |
hls-group |
| GroupConfig |
object |
The group information configuration. |
|
| Type |
string |
The output group type. Valid values:
|
Hls |
| OutputFileBase |
object |
The output directory of the group. All files generated by this OutputGroup are stored in this directory. |
|
| Type |
string |
The media object type. Valid values:
|
OSS |
| Media |
string |
The media asset of the file.
|
oss://bucket/path/to/dir |
| ManifestName |
string |
The name of the manifest file. When Type is set to Hls or Dash, this parameter specifies the file name of the generated manifest file. |
manifest |
| ManifestExtend |
object |
The extended configuration of the manifest file. This feature allows you to reference an existing manifest file and generate a new manifest file by combining it with the current output group results. |
|
| InputRef |
string |
The referenced manifest file. The value is the Name of the Input. |
Input-Manifest |
| Excludes |
array |
The conditions used to exclude streams from the referenced manifest file. The AND logic is used within a condition, and the OR logic is used between conditions for filtering. |
|
|
object |
The stream exclusion condition. |
||
| Language |
string |
Filters items based on the Language field of the stream. This field follows the RFC 5646 standard. |
en |
| Name |
string |
Filters items based on the Name field of the stream. |
audio-1 |
| Type |
string |
Filters items based on the Type field of the stream. Valid values:
|
Audio |
| Outputs |
array |
The list of single-output transcoding configurations. Each configuration in the array represents an output stream file. |
|
|
object |
The single-output transcoding configuration. |
||
| Name |
string |
The name of the transcoding output. This name is used only to label the output. |
group-output |
| TemplateId |
string |
The ID of the transcoding template. |
****96e8864746a0b6f3**** |
| OutputFileName |
string |
The file name of the transcoding output. This parameter is used together with OutputFileBase in GroupConfig. |
720p.mp4 |
| Priority |
integer |
The priority. A larger value indicates a higher priority. Valid values: 1 to 10. Default value: 6. |
6 |
| Features |
string |
The feature parameters. For more information, see MediaConvertJobFeature. |
{} |
| OverrideParams |
string |
The override parameters in JSON string format. This parameter allows you to override the parameters associated with the transcoding template. |
{} |
| HlsGroupConfig |
object |
The HLS group configuration. This parameter configures the behavior of the current stream in the manifest. This parameter takes effect only when the group type is Hls. |
|
| Type |
string |
Specifies the output stream type. Valid values:
|
hybrid |
| AudioGroup |
string |
The audio group referenced by this video stream. This parameter takes effect when Type is set to video. Default value: audio. |
audio |
| SubtitleGroup |
string |
The subtitle group referenced by this video stream. This parameter takes effect when Type is set to video or hybrid. Default value: subtitle. |
subtitle |
| Name |
string |
The NAME attribute of this output stream in the HLS manifest. This parameter is required when Type is set to audio or subtitle. |
audio |
| Group |
string |
The GROUP_ID attribute of this output stream in the HLS manifest. This attribute takes effect when Type is set to audio or subtitle. Default value: the same as the value of Type. |
audio |
| Language |
string |
The LANGUAGE attribute of this output stream in the HLS manifest. This attribute takes effect when Type is set to audio or subtitle and must follow the RFC 5646 standard. |
zh |
| IsDefault |
string |
Specifies whether to set the stream as the default stream. This parameter takes effect when Type is set to audio or subtitle. Only one default stream is allowed in the same group. |
false |
| Forced |
string |
Specifies whether to force the display of the stream. This parameter takes effect when Type is set to audio or subtitle. |
true |
| AutoSelect |
string |
Specifies whether to automatically select the stream. This parameter takes effect when Type is set to audio or subtitle. |
true |