Interface BurnInDestinationProps
- All Superinterfaces:
CaptionFontStyleProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BurnInDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:40.941Z")
@Stability(Experimental)
public interface BurnInDestinationProps
extends software.amazon.jsii.JsiiSerializable, CaptionFontStyleProps
(experimental) Properties for burn-in captions.
Example:
// Define a caption selector on the input attachment (see Input Attachment Settings below)
CaptionSelector captionSelector = CaptionSelector.embedded("captions");
// WebVTT captions — packaged alongside the video encode in the same output
EncodeConfiguration webvtt = EncodeConfiguration.caption(CaptionEncodeProps.builder()
.name("eng_webvtt")
.captionSelectorName(captionSelector.getName())
.languageCode("eng")
.languageDescription("English")
.destination(CaptionDestination.webvtt())
.build());
// Burned-in captions — rendered into the video, styled via the burn-in options
EncodeConfiguration burnIn = EncodeConfiguration.caption(CaptionEncodeProps.builder()
.name("eng_burnin")
.captionSelectorName(captionSelector.getName())
.destination(CaptionDestination.burnIn(BurnInDestinationProps.builder()
.alignment(CaptionAlignment.CENTERED)
.fontColor(CaptionFontColor.WHITE)
.outlineColor(CaptionOutlineColor.BLACK)
.fontSize(CaptionFontSize.AUTO)
.build()))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBurnInDestinationPropsstatic final classAn implementation forBurnInDestinationProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.medialive.alpha.CaptionFontStyleProps
getAlignment, getBackgroundColor, getBackgroundOpacity, getFont, getFontColor, getFontOpacity, getFontResolution, getFontSize, getOutlineColor, getOutlineSize, getShadowColor, getShadowOpacity, getShadowXOffset, getShadowYOffset, getSubtitleRows, getTeletextGridControl, getXPosition, getYPositionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
BurnInDestinationProps.BuilderofBurnInDestinationProps
-