Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::TextStream (v0.5.0)

Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::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
Returns
  • (::String) —

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

    Supported text codecs:

    • srt
    • ttml
    • cea608
    • cea708
    • webvtt

#codec=

def codec=(value) -> ::String
Parameter
  • value (::String) —

    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

#mapping

def mapping() -> ::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>
Returns

#mapping=

def mapping=(value) -> ::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>
Parameter
Returns