다음을 통해 공유


SelectAudioTrackByAttribute Class

Select audio tracks from the input by specifying an attribute and an attribute filter.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media.models._models_py3.AudioTrackDescriptor
SelectAudioTrackByAttribute

Constructor

SelectAudioTrackByAttribute(*, attribute: str | _models.TrackAttribute, filter: str | _models.AttributeFilter, channel_mapping: str | _models.ChannelMapping | None = None, filter_value: str | None = None, **kwargs)

Keyword-Only Parameters

Name Description
channel_mapping

Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks. Known values are: "FrontLeft", "FrontRight", "Center", "LowFrequencyEffects", "BackLeft", "BackRight", "StereoLeft", and "StereoRight".

attribute

The TrackAttribute to filter the tracks by. Required. Known values are: "Bitrate" and "Language".

filter

The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. Required. Known values are: "All", "Top", "Bottom", and "ValueEquals".

filter_value
str

The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.

Variables

Name Description
odata_type
str

The discriminator for derived types. Required.

channel_mapping

Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks. Known values are: "FrontLeft", "FrontRight", "Center", "LowFrequencyEffects", "BackLeft", "BackRight", "StereoLeft", and "StereoRight".

attribute

The TrackAttribute to filter the tracks by. Required. Known values are: "Bitrate" and "Language".

filter

The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. Required. Known values are: "All", "Top", "Bottom", and "ValueEquals".

filter_value
str

The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.