libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.CaptionDescription

Description

 
Synopsis

Documentation

data CaptionDescription Source #

This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.

See: newCaptionDescription smart constructor.

Constructors

CaptionDescription' 

Fields

  • captionSelectorName :: Maybe Text

    Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions. The name should be of the format "Caption Selector ", which denotes that the Nth Caption Selector will be used from each input.

  • customLanguageCode :: Maybe Text

    Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.

  • languageCode :: Maybe LanguageCode

    Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.

  • destinationSettings :: Maybe CaptionDestinationSettings

    Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab corresponds to one output captions track. Depending on your output captions format, one tab might correspond to a set of output captions tracks. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.

  • languageDescription :: Maybe Text

    Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.

Instances

Instances details
Eq CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

Read CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

Show CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

Generic CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

Associated Types

type Rep CaptionDescription :: Type -> Type #

NFData CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

Methods

rnf :: CaptionDescription -> () #

Hashable CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

ToJSON CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

FromJSON CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

type Rep CaptionDescription Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.CaptionDescription

type Rep CaptionDescription = D1 ('MetaData "CaptionDescription" "Amazonka.MediaConvert.Types.CaptionDescription" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "CaptionDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "captionSelectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "destinationSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CaptionDestinationSettings)) :*: S1 ('MetaSel ('Just "languageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCaptionDescription :: CaptionDescription Source #

Create a value of CaptionDescription 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:captionSelectorName:CaptionDescription', captionDescription_captionSelectorName - Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions. The name should be of the format "Caption Selector ", which denotes that the Nth Caption Selector will be used from each input.

$sel:customLanguageCode:CaptionDescription', captionDescription_customLanguageCode - Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.

$sel:languageCode:CaptionDescription', captionDescription_languageCode - Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.

$sel:destinationSettings:CaptionDescription', captionDescription_destinationSettings - Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab corresponds to one output captions track. Depending on your output captions format, one tab might correspond to a set of output captions tracks. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.

$sel:languageDescription:CaptionDescription', captionDescription_languageDescription - Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.

captionDescription_captionSelectorName :: Lens' CaptionDescription (Maybe Text) Source #

Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions. The name should be of the format "Caption Selector ", which denotes that the Nth Caption Selector will be used from each input.

captionDescription_customLanguageCode :: Lens' CaptionDescription (Maybe Text) Source #

Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.

captionDescription_languageCode :: Lens' CaptionDescription (Maybe LanguageCode) Source #

Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.

captionDescription_destinationSettings :: Lens' CaptionDescription (Maybe CaptionDestinationSettings) Source #

Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab corresponds to one output captions track. Depending on your output captions format, one tab might correspond to a set of output captions tracks. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.

captionDescription_languageDescription :: Lens' CaptionDescription (Maybe Text) Source #

Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.