TextStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Encoding of a text stream. For example, closed captions or subtitles.
Attributes |
|
---|---|
Name | Description |
codec |
str
The codec for this text stream. The default is webvtt .
Supported text codecs:
- srt
- ttml
- cea608
- cea708
- webvtt
|
language_code |
str
The BCP-47 language code, such as en-US or sr-Latn .
For more information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Not supported in MP4 files.
|
mapping_ |
MutableSequence[google.cloud.video.transcoder_v1.types.TextStream.TextMapping]
The mapping for the Job.edit_list atoms with text
EditAtom.inputs .
|
display_name |
str
The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files. |
Classes
TextMapping
TextMapping(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The mapping for the Job.edit_list
atoms with text
EditAtom.inputs
.