Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
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.
Subtitles' | |
|
Instances
ToJSON Subtitles Source # | |
Defined in Amazonka.Transcribe.Types.Subtitles | |
Generic Subtitles Source # | |
Read Subtitles Source # | |
Show Subtitles Source # | |
NFData Subtitles Source # | |
Defined in Amazonka.Transcribe.Types.Subtitles | |
Eq Subtitles Source # | |
Hashable Subtitles Source # | |
Defined in Amazonka.Transcribe.Types.Subtitles | |
type Rep Subtitles Source # | |
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.