CaptionOutlineColor
- class aws_cdk.aws_medialive_alpha.CaptionOutlineColor(*args: Any, **kwargs)
Bases:
object(experimental) Font outline color for burn-in and DVB-Sub captions.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# Define a caption selector on the input attachment (see Input Attachment Settings below) caption_selector = medialive.CaptionSelector.embedded("captions") # WebVTT captions — packaged alongside the video encode in the same output webvtt = medialive.EncodeConfiguration.caption( name="eng_webvtt", caption_selector_name=caption_selector.name, language_code="eng", language_description="English", destination=medialive.CaptionDestination.webvtt() ) # Burned-in captions — rendered into the video, styled via the burn-in options burn_in = medialive.EncodeConfiguration.caption( name="eng_burnin", caption_selector_name=caption_selector.name, destination=medialive.CaptionDestination.burn_in( alignment=medialive.CaptionAlignment.CENTERED, font_color=medialive.CaptionFontColor.WHITE, outline_color=medialive.CaptionOutlineColor.BLACK, font_size=medialive.CaptionFontSize.AUTO ) )
Attributes
- BLACK = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- BLUE = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- GREEN = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- RED = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- WHITE = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- YELLOW = <aws_cdk.aws_medialive_alpha.CaptionOutlineColor object>
- value
(experimental) The underlying string value passed to CloudFormation.
- Stability:
experimental
Static Methods
- classmethod of(value)
(experimental) A value not yet modelled by AWS CDK.
- Parameters:
value (
str)- Stability:
experimental
- Return type: