public static interface CaptionDescriptionPreset.Builder extends SdkPojo, CopyableBuilder<CaptionDescriptionPreset.Builder,CaptionDescriptionPreset>
| Modifier and Type | Method and Description |
|---|---|
CaptionDescriptionPreset.Builder |
customLanguageCode(String customLanguageCode)
Specify the language for this captions output track.
|
CaptionDescriptionPreset.Builder |
destinationSettings(CaptionDestinationSettings destinationSettings)
Settings related to one captions tab on the MediaConvert console.
|
default CaptionDescriptionPreset.Builder |
destinationSettings(Consumer<CaptionDestinationSettings.Builder> destinationSettings)
Settings related to one captions tab on the MediaConvert console.
|
CaptionDescriptionPreset.Builder |
languageCode(LanguageCode languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset.Builder |
languageCode(String languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset.Builder |
languageDescription(String languageDescription)
Specify a label for this set of output captions.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCaptionDescriptionPreset.Builder customLanguageCode(String customLanguageCode)
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.CaptionDescriptionPreset.Builder destinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings - Settings related to one captions tab on the MediaConvert 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.default CaptionDescriptionPreset.Builder destinationSettings(Consumer<CaptionDestinationSettings.Builder> destinationSettings)
CaptionDestinationSettings.Builder avoiding the need to create one
manually via CaptionDestinationSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to destinationSettings(CaptionDestinationSettings).
destinationSettings - a consumer that will call methods on CaptionDestinationSettings.BuilderdestinationSettings(CaptionDestinationSettings)CaptionDescriptionPreset.Builder languageCode(String languageCode)
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.LanguageCode,
LanguageCodeCaptionDescriptionPreset.Builder languageCode(LanguageCode languageCode)
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.LanguageCode,
LanguageCodeCaptionDescriptionPreset.Builder languageDescription(String languageDescription)
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.Copyright © 2023. All rights reserved.