amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert 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.MediaConvert.Types.CaptionSourceSettings

Description

 
Synopsis

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.

Constructors

CaptionSourceSettings' 

Fields

Instances

Instances details
FromJSON CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

ToJSON CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

Generic CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

Associated Types

type Rep CaptionSourceSettings :: Type -> Type #

Read CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

Show CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

NFData CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

Methods

rnf :: CaptionSourceSettings -> () #

Eq CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

Hashable CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

type Rep CaptionSourceSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionSourceSettings

type Rep CaptionSourceSettings = D1 ('MetaData "CaptionSourceSettings" "Amazonka.MediaConvert.Types.CaptionSourceSettings" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "CaptionSourceSettings'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ancillarySourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AncillarySourceSettings)) :*: S1 ('MetaSel ('Just "dvbSubSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DvbSubSourceSettings))) :*: (S1 ('MetaSel ('Just "embeddedSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EmbeddedSourceSettings)) :*: S1 ('MetaSel ('Just "fileSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileSourceSettings)))) :*: ((S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CaptionSourceType)) :*: S1 ('MetaSel ('Just "teletextSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TeletextSourceSettings))) :*: (S1 ('MetaSel ('Just "trackSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrackSourceSettings)) :*: S1 ('MetaSel ('Just "webvttHlsSourceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WebvttHlsSourceSettings))))))

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:ancillarySourceSettings:CaptionSourceSettings', captionSourceSettings_ancillarySourceSettings - Settings for ancillary captions source.

$sel:dvbSubSourceSettings:CaptionSourceSettings', captionSourceSettings_dvbSubSourceSettings - DVB Sub Source Settings

$sel:embeddedSourceSettings:CaptionSourceSettings', captionSourceSettings_embeddedSourceSettings - Settings for embedded captions Source

$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:sourceType:CaptionSourceSettings', captionSourceSettings_sourceType - Use Source (SourceType) to identify the format of your input captions. The service cannot auto-detect caption format.

$sel:teletextSourceSettings:CaptionSourceSettings', captionSourceSettings_teletextSourceSettings - Settings specific to Teletext caption sources, including Page number.

$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: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.

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_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_teletextSourceSettings :: Lens' CaptionSourceSettings (Maybe TeletextSourceSettings) Source #

Settings specific to Teletext caption sources, including Page number.

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_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.