Class: Aws::TranscribeService::Types::Subtitles

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb

Overview

Generate subtitles for your media file with your transcription request.

You can choose a start index of 0 or 1, and you can specify either WebVTT or SubRip (or both) as your output format.

Note that your subtitle files are placed in the same location as your transcription output.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatsArray<String>

Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.

Returns:

  • (Array<String>)


4819
4820
4821
4822
4823
4824
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 4819

class Subtitles < Struct.new(
  :formats,
  :output_start_index)
  SENSITIVE = []
  include Aws::Structure
end

#output_start_indexInteger

Specify the starting value that is assigned to the first subtitle segment.

The default start index for Amazon Transcribe is 0, which differs from the more widely used standard of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.

Returns:

  • (Integer)


4819
4820
4821
4822
4823
4824
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 4819

class Subtitles < Struct.new(
  :formats,
  :output_start_index)
  SENSITIVE = []
  include Aws::Structure
end