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

#formats ⇒ Array<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>)


5082
5083
5084
5085
5086
5087
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5082

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

#output_start_index ⇒ Integer

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)


5082
5083
5084
5085
5086
5087
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5082

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