Class: Google::Cloud::Video::Transcoder::V1::TextStream
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::TextStream
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
Encoding of a text stream. For example, closed captions or subtitles.
Defined Under Namespace
Classes: TextMapping
Instance Attribute Summary collapse
-
#codec ⇒ ::String
The codec for this text stream.
-
#display_name ⇒ ::String
The name for this particular text stream that will be added to the HLS/DASH manifest.
-
#language_code ⇒ ::String
The BCP-47 language code, such as
en-USorsr-Latn. -
#mapping ⇒ ::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>
The mapping for the
Job.edit_listatoms with textEditAtom.inputs.
Instance Attribute Details
#codec ⇒ ::String
Returns The codec for this text stream. The default is webvtt.
Supported text codecs:
srtttmlcea608cea708webvtt.
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1397 class TextStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. # @!attribute [rw] atom_key # @return [::String] # Required. The `EditAtom.key` that references atom with text inputs in the # `Job.edit_list`. # @!attribute [rw] input_key # @return [::String] # Required. The `Input.key` that identifies the input file. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input file. class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#display_name ⇒ ::String
Returns The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1397 class TextStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. # @!attribute [rw] atom_key # @return [::String] # Required. The `EditAtom.key` that references atom with text inputs in the # `Job.edit_list`. # @!attribute [rw] input_key # @return [::String] # Required. The `Input.key` that identifies the input file. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input file. class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#language_code ⇒ ::String
Returns 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.
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1397 class TextStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. # @!attribute [rw] atom_key # @return [::String] # Required. The `EditAtom.key` that references atom with text inputs in the # `Job.edit_list`. # @!attribute [rw] input_key # @return [::String] # Required. The `Input.key` that identifies the input file. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input file. class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mapping ⇒ ::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>
Returns The mapping for the Job.edit_list atoms with text EditAtom.inputs.
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1397 class TextStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. # @!attribute [rw] atom_key # @return [::String] # Required. The `EditAtom.key` that references atom with text inputs in the # `Job.edit_list`. # @!attribute [rw] input_key # @return [::String] # Required. The `Input.key` that identifies the input file. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input file. class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |