SelectVideoTrackByAttribute Class
Select video 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.VideoTrackDescriptorSelectVideoTrackByAttribute
Constructor
SelectVideoTrackByAttribute(*, attribute: str | _models.TrackAttribute, filter: str | _models.AttributeFilter, filter_value: str | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
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
|
The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks. |
Variables
Name | Description |
---|---|
odata_type
|
The discriminator for derived types. Required. |
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
|
The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks. |
Azure SDK for Python