All Products
Search
Document Center

Intelligent Media Services:MediaConvertJobConfig

Last Updated:Nov 02, 2026

Parameter

Type

Description

Example

object

The media transcoding job configuration.

JobName

string

The job name.

  • The maximum length is 64 bytes.

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: OSS file.

  • Media: Media asset file.

OSS

Media

string

The URL or ID of the media asset file.

  • When Type is set to OSS, the value is a URL that supports the OSS or HTTP protocol. Do not include signature parameters. Otherwise, permission verification may fail.

  • When Type is set to Media, the value is a media asset ID. By default, the source stream is used as the input.

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:

  • File: Independent file.

  • Hls: HTTP Live Streaming (HLS) protocol file that generates an adaptive streaming playlist.

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: Alibaba Cloud OSS file.

  • Media: Media asset.

OSS

Media

string

The media asset of the file.

  • When Type is set to OSS, the value is a URL that supports the OSS and HTTP protocols.

  • When Type is set to Media, the value is a media asset ID. By default, the source stream is used as the input.

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.

  • Subtitle.

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:

  • video: Video stream. Only video-related settings are retained during processing.

  • audio: Audio stream. Only audio-related settings are retained during processing.

  • subtitle: Subtitle stream. Only subtitle-related settings are retained during processing.

  • hybrid: Hybrid stream. Both audio- and video-related settings are retained during processing. Default value: hybrid.

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