Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CaptionSourceSettings = CaptionSourceSettings' {
- teletextSourceSettings :: Maybe TeletextSourceSettings
- sourceType :: Maybe CaptionSourceType
- fileSourceSettings :: Maybe FileSourceSettings
- webvttHlsSourceSettings :: Maybe WebvttHlsSourceSettings
- dvbSubSourceSettings :: Maybe DvbSubSourceSettings
- trackSourceSettings :: Maybe TrackSourceSettings
- ancillarySourceSettings :: Maybe AncillarySourceSettings
- embeddedSourceSettings :: Maybe EmbeddedSourceSettings
- newCaptionSourceSettings :: CaptionSourceSettings
- captionSourceSettings_teletextSourceSettings :: Lens' CaptionSourceSettings (Maybe TeletextSourceSettings)
- captionSourceSettings_sourceType :: Lens' CaptionSourceSettings (Maybe CaptionSourceType)
- captionSourceSettings_fileSourceSettings :: Lens' CaptionSourceSettings (Maybe FileSourceSettings)
- captionSourceSettings_webvttHlsSourceSettings :: Lens' CaptionSourceSettings (Maybe WebvttHlsSourceSettings)
- captionSourceSettings_dvbSubSourceSettings :: Lens' CaptionSourceSettings (Maybe DvbSubSourceSettings)
- captionSourceSettings_trackSourceSettings :: Lens' CaptionSourceSettings (Maybe TrackSourceSettings)
- captionSourceSettings_ancillarySourceSettings :: Lens' CaptionSourceSettings (Maybe AncillarySourceSettings)
- captionSourceSettings_embeddedSourceSettings :: Lens' CaptionSourceSettings (Maybe EmbeddedSourceSettings)
Documentation
data CaptionSourceSettings Source #
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
See: newCaptionSourceSettings
smart constructor.
CaptionSourceSettings' | |
|
Instances
newCaptionSourceSettings :: CaptionSourceSettings Source #
Create a value of CaptionSourceSettings
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:teletextSourceSettings:CaptionSourceSettings'
, captionSourceSettings_teletextSourceSettings
- Settings specific to Teletext caption sources, including Page number.
$sel:sourceType:CaptionSourceSettings'
, captionSourceSettings_sourceType
- Use Source (SourceType) to identify the format of your input captions.
The service cannot auto-detect caption format.
$sel:fileSourceSettings:CaptionSourceSettings'
, captionSourceSettings_fileSourceSettings
- If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1
in an xml file, specify the URI of the input caption source file. If
your caption source is IMSC in an IMF package, use TrackSourceSettings
instead of FileSoureSettings.
$sel:webvttHlsSourceSettings:CaptionSourceSettings'
, captionSourceSettings_webvttHlsSourceSettings
- Settings specific to WebVTT sources in HLS alternative rendition group.
Specify the properties (renditionGroupId, renditionName or
renditionLanguageCode) to identify the unique subtitle track among the
alternative rendition groups present in the HLS manifest. If no unique
track is found, or multiple tracks match the specified properties, the
job fails. If there is only one subtitle track in the rendition group,
the settings can be left empty and the default subtitle track will be
chosen. If your caption source is a sidecar file, use FileSourceSettings
instead of WebvttHlsSourceSettings.
$sel:dvbSubSourceSettings:CaptionSourceSettings'
, captionSourceSettings_dvbSubSourceSettings
- DVB Sub Source Settings
$sel:trackSourceSettings:CaptionSourceSettings'
, captionSourceSettings_trackSourceSettings
- Settings specific to caption sources that are specified by track number.
Currently, this is only IMSC captions in an IMF package. If your caption
source is IMSC 1.1 in a separate xml file, use FileSourceSettings
instead of TrackSourceSettings.
$sel:ancillarySourceSettings:CaptionSourceSettings'
, captionSourceSettings_ancillarySourceSettings
- Settings for ancillary captions source.
$sel:embeddedSourceSettings:CaptionSourceSettings'
, captionSourceSettings_embeddedSourceSettings
- Settings for embedded captions Source
captionSourceSettings_teletextSourceSettings :: Lens' CaptionSourceSettings (Maybe TeletextSourceSettings) Source #
Settings specific to Teletext caption sources, including Page number.
captionSourceSettings_sourceType :: Lens' CaptionSourceSettings (Maybe CaptionSourceType) Source #
Use Source (SourceType) to identify the format of your input captions. The service cannot auto-detect caption format.
captionSourceSettings_fileSourceSettings :: Lens' CaptionSourceSettings (Maybe FileSourceSettings) Source #
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
captionSourceSettings_webvttHlsSourceSettings :: Lens' CaptionSourceSettings (Maybe WebvttHlsSourceSettings) Source #
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.
captionSourceSettings_dvbSubSourceSettings :: Lens' CaptionSourceSettings (Maybe DvbSubSourceSettings) Source #
DVB Sub Source Settings
captionSourceSettings_trackSourceSettings :: Lens' CaptionSourceSettings (Maybe TrackSourceSettings) Source #
Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.
captionSourceSettings_ancillarySourceSettings :: Lens' CaptionSourceSettings (Maybe AncillarySourceSettings) Source #
Settings for ancillary captions source.
captionSourceSettings_embeddedSourceSettings :: Lens' CaptionSourceSettings (Maybe EmbeddedSourceSettings) Source #
Settings for embedded captions Source