amazonka-transcribe-2.0: Amazon Transcribe Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transcribe.Types.Subtitles

Description

 
Synopsis

Documentation

data Subtitles Source #

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.

See: newSubtitles smart constructor.

Constructors

Subtitles' 

Fields

  • formats :: Maybe [SubtitleFormat]

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

  • outputStartIndex :: Maybe Natural

    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.

Instances

Instances details
ToJSON Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

Generic Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

Associated Types

type Rep Subtitles :: Type -> Type #

Read Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

Show Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

NFData Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

Methods

rnf :: Subtitles -> () #

Eq Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

Hashable Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

type Rep Subtitles Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Subtitles

type Rep Subtitles = D1 ('MetaData "Subtitles" "Amazonka.Transcribe.Types.Subtitles" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "Subtitles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "formats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SubtitleFormat])) :*: S1 ('MetaSel ('Just "outputStartIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newSubtitles :: Subtitles Source #

Create a value of Subtitles with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:formats:Subtitles', subtitles_formats - Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.

$sel:outputStartIndex:Subtitles', subtitles_outputStartIndex - 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.

subtitles_formats :: Lens' Subtitles (Maybe [SubtitleFormat]) Source #

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

subtitles_outputStartIndex :: Lens' Subtitles (Maybe Natural) Source #

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.