VideoSelectorSettings
- class aws_cdk.aws_medialive_alpha.VideoSelectorSettings(*, color_space=None, color_space_usage=None, hdr10=None, select_by=None)
Bases:
object(experimental) Video selector settings for an input.
- Parameters:
color_space (
Optional[VideoColorSpace]) – (experimental) The color space of the input video. Default: - service defaultcolor_space_usage (
Optional[VideoColorSpaceUsage]) – (experimental) HowcolorSpaceis applied when it is notFOLLOW. Default: - MediaLive service defaulthdr10 (
Union[Hdr10Settings,Dict[str,Any],None]) – (experimental) HDR10 color space metadata for the input. Default: - noneselect_by (
Optional[VideoSelection]) – (experimental) Selects the specific video to extract from the input (by PID or by program). Default: - MediaLive selects the video automatically
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack # input: medialive.IInput # bucket: s3.IBucket # video: medialive.EncodeConfiguration medialive.Channel(stack, "Channel", inputs=[medialive.InputAttachment( input=input, audio_selectors=[ medialive.AudioSelector.by_language("eng", "eng", medialive.AudioLanguageSelectionPolicy.STRICT) ], caption_selectors=[ medialive.CaptionSelector.embedded("embedded") ], video_selector=medialive.VideoSelectorSettings( color_space=medialive.VideoColorSpace.HDR10, color_space_usage=medialive.VideoColorSpaceUsage.FORCE, select_by=medialive.VideoSelection.by_program_id(1) ) )], output_groups=[ medialive.OutputGroupConfiguration.hls( name="hls", destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")], outputs=[medialive.HlsOutputDefinition(encodes=[video], output_name="hls_out")] ) ] )
Attributes
- color_space
(experimental) The color space of the input video.
- Default:
service default
- Stability:
experimental
- color_space_usage
(experimental) How
colorSpaceis applied when it is notFOLLOW.- Default:
MediaLive service default
- Stability:
experimental
- hdr10
(experimental) HDR10 color space metadata for the input.
- Default:
none
- Stability:
experimental
- select_by
(experimental) Selects the specific video to extract from the input (by PID or by program).
- Default:
MediaLive selects the video automatically
- Stability:
experimental