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 CaptionDescription = CaptionDescription' {}
- newCaptionDescription :: CaptionDescription
- captionDescription_captionSelectorName :: Lens' CaptionDescription (Maybe Text)
- captionDescription_customLanguageCode :: Lens' CaptionDescription (Maybe Text)
- captionDescription_languageCode :: Lens' CaptionDescription (Maybe LanguageCode)
- captionDescription_destinationSettings :: Lens' CaptionDescription (Maybe CaptionDestinationSettings)
- captionDescription_languageDescription :: Lens' CaptionDescription (Maybe Text)
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.
CaptionDescription' | |
|
Instances
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.