Reference documentation and code samples for the Transcoder V1beta1 API class Google::Cloud::Video::Transcoder::V1beta1::TextStream.
Encoding of a text stream. For example, closed captions or subtitles.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#codec
def codec() -> ::String
-
(::String) —
The codec for this text stream. The default is
"webvtt"
.Supported text codecs:
- 'srt'
- 'ttml'
- 'cea608'
- 'cea708'
- 'webvtt'
#codec=
def codec=(value) -> ::String
-
value (::String) —
The codec for this text stream. The default is
"webvtt"
.Supported text codecs:
- 'srt'
- 'ttml'
- 'cea608'
- 'cea708'
- 'webvtt'
-
(::String) —
The codec for this text stream. The default is
"webvtt"
.Supported text codecs:
- 'srt'
- 'ttml'
- 'cea608'
- 'cea708'
- 'webvtt'
#language_code
def language_code() -> ::String
-
(::String) — Required. 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.
#language_code=
def language_code=(value) -> ::String
-
value (::String) — Required. 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.
-
(::String) — Required. 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.
#mapping
def mapping() -> ::Array<::Google::Cloud::Video::Transcoder::V1beta1::TextStream::TextAtom>
-
(::Array<::Google::Cloud::Video::Transcoder::V1beta1::TextStream::TextAtom>) — The mapping for the
Job.edit_list
atoms with textEditAtom.inputs
.
#mapping=
def mapping=(value) -> ::Array<::Google::Cloud::Video::Transcoder::V1beta1::TextStream::TextAtom>
-
value (::Array<::Google::Cloud::Video::Transcoder::V1beta1::TextStream::TextAtom>) — The mapping for the
Job.edit_list
atoms with textEditAtom.inputs
.
-
(::Array<::Google::Cloud::Video::Transcoder::V1beta1::TextStream::TextAtom>) — The mapping for the
Job.edit_list
atoms with textEditAtom.inputs
.