public sealed class TrackDefinition : IMessage<TrackDefinition>, IEquatable<TrackDefinition>, IDeepCloneable<TrackDefinition>, IBufferMessage, IMessage
Reference documentation and code samples for the Transcoder v1 API class TrackDefinition.
Track definition for the input asset.
Implements
IMessageTrackDefinition, IEquatableTrackDefinition, IDeepCloneableTrackDefinition, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
TrackDefinition()
public TrackDefinition()
TrackDefinition(TrackDefinition)
public TrackDefinition(TrackDefinition other)
Parameter | |
---|---|
Name | Description |
other |
TrackDefinition |
Properties
DetectLanguages
public bool DetectLanguages { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
DetectedLanguages
public RepeatedField<string> DetectedLanguages { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
HasInputTrack
public bool HasInputTrack { get; }
Gets whether the "input_track" field is set
Property Value | |
---|---|
Type | Description |
bool |
InputTrack
public int InputTrack { get; set; }
The input track.
Property Value | |
---|---|
Type | Description |
int |
Languages
public RepeatedField<string> Languages { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |