FmtpVideo
- class aws_cdk.aws_mediaconnect_alpha.FmtpVideo(*, colorimetry=None, exact_framerate=None, par=None, scan_mode=None, tcs=None, video_range=None)
Bases:
object(experimental) Options for FMTP Video.
- Parameters:
colorimetry (
Optional[Colorimetry]) – (experimental) The format used for the representation of color. Default: - no colorimetry specifiedexact_framerate (
Optional[Framerate]) – (experimental) The frame rate for the video stream. Default: - no frame rate specifiedpar (
Optional[PixelAspectRatio]) – (experimental) The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio. UsePixelAspectRatio.SQUAREfor most modern content. Default: - no pixel aspect ratio specifiedscan_mode (
Optional[ScanMode]) – (experimental) The type of compression that was used to smooth the video’s appearance. Default: - no scan mode specifiedtcs (
Optional[Tcs]) – (experimental) The transfer characteristic system (TCS) that is used in the video. Default: - no TCS specifiedvideo_range (
Optional[VideoRange]) – (experimental) The encoding range of the video. Default: - no video range specified
- Stability:
experimental
- ExampleMetadata:
infused
Example:
from aws_cdk.aws_mediaconnect_alpha import FmtpVideo, MediaStreamSourceConfigurationCdi # stack: Stack # role: iam.IRole # security_group: ec2.ISecurityGroup # subnet: ec2.ISubnet efa_interface = VpcInterface.define( vpc_interface_name="efa-interface", role=role, security_groups=[security_group], subnet=subnet, network_interface_type=NetworkInterface.EFA ) video_stream = MediaStream.video( media_stream_id=1, media_stream_name="video", video_format=MediaVideoFormat.HD_1080P, fmtp=FmtpVideo( exact_framerate=Framerate.FPS_29_97, par=PixelAspectRatio.SQUARE ) ) flow = Flow(stack, "MyCdiFlow", flow_size=FlowSize.LARGE_4X, # Required for CDI and JPEG XS vpc_interfaces=[efa_interface], media_streams=[video_stream], source=SourceConfiguration.cdi( flow_source_name="cdi-source", vpc_interface=efa_interface, port=5000, max_sync_buffer=100, media_stream_source_configurations=[MediaStreamSourceConfigurationCdi( encoding=Encoding.RAW, media_stream=video_stream )] ) )
Attributes
- colorimetry
(experimental) The format used for the representation of color.
- Default:
no colorimetry specified
- Stability:
experimental
- exact_framerate
(experimental) The frame rate for the video stream.
- Default:
no frame rate specified
- Stability:
experimental
- par
(experimental) The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio.
Use
PixelAspectRatio.SQUAREfor most modern content.- Default:
no pixel aspect ratio specified
- Stability:
experimental
- scan_mode
(experimental) The type of compression that was used to smooth the video’s appearance.
- Default:
no scan mode specified
- Stability:
experimental
- tcs
(experimental) The transfer characteristic system (TCS) that is used in the video.
- Default:
no TCS specified
- Stability:
experimental
- video_range
(experimental) The encoding range of the video.
- Default:
no video range specified
- Stability:
experimental