Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class TrackDefinition.
Track definition for the input asset.
Generated from protobuf message google.cloud.video.transcoder.v1.TrackDefinition
Namespace
Google \ Cloud \ Video \ Transcoder \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input_track
int
The input track.
↳ languages
array
Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
↳ detect_languages
bool
Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.
↳ detected_languages
array
Output only. A list of languages detected in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier . This field is only populated if the detect_languages field is set to true.
getInputTrack
The input track.
int
hasInputTrack
clearInputTrack
setInputTrack
The input track.
var
int
$this
getLanguages
Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
setLanguages
Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
var
string[]
$this
getDetectLanguages
Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.
bool
setDetectLanguages
Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.
var
bool
$this
getDetectedLanguages
Output only. A list of languages detected in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
This field is only populated if the detect_languages field is set to true.
setDetectedLanguages
Output only. A list of languages detected in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier .
This field is only populated if the detect_languages field is set to true.
var
string[]
$this

