Class: Google::Cloud::Video::Transcoder::V1::TextStream

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#codec::String

Returns The codec for this text stream. The default is webvtt.

Supported text codecs:

  • srt
  • ttml
  • cea608
  • cea708
  • webvtt.

Returns:

  • (::String)

    The codec for this text stream. The default is webvtt.

    Supported text codecs:

    • srt
    • ttml
    • cea608
    • cea708
    • webvtt


1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1355

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.

Returns:

  • (::String)

    The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.



1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1355

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.

Returns:



1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1355

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.

Returns:



1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 1355

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