SourceJpegXs
- class aws_cdk.aws_mediaconnect_alpha.SourceJpegXs(*, media_stream_source_configurations, flow_source_name=None, max_sync_buffer=None, vpc_interface=None)
Bases:
object(experimental) Configuration for Jpeg XS.
- Parameters:
media_stream_source_configurations (
Sequence[Union[MediaStreamSourceConfigurationJpegXs,Dict[str,Any]]]) – (experimental) The media stream that is associated with the source, and the parameters for that association.flow_source_name (
Optional[str]) – (experimental) The name of the source. Default: - a name is generated automaticallymax_sync_buffer (
Union[int,float,None]) – (experimental) The size of the buffer (in ms) to use to sync incoming source data. Default: 100vpc_interface (
Optional[Sequence[Union[VpcInterfaceConfig,Dict[str,Any]]]]) – (experimental) The VPC interface attachment to use for this bridge source. Default: - no VPC interface
- Stability:
experimental
- ExampleMetadata:
infused
Example:
from aws_cdk.aws_mediaconnect_alpha import FmtpVideo, MediaStreamSourceConfigurationJpegXs # stack: Stack # role: iam.IRole # sg1: ec2.ISecurityGroup # sg2: ec2.ISecurityGroup # subnet: ec2.ISubnet efa_interface = VpcInterface.define( vpc_interface_name="efa-interface", role=role, security_groups=[sg1], subnet=subnet, network_interface_type=NetworkInterface.EFA ) ena_interface = VpcInterface.define( vpc_interface_name="ena-interface", role=role, security_groups=[sg2], subnet=subnet, network_interface_type=NetworkInterface.ENA ) video_stream = MediaStream.video( media_stream_id=1, media_stream_name="video", video_format=MediaVideoFormat.UHD_2160P, fmtp=FmtpVideo( exact_framerate=Framerate.FPS_59_94, par=PixelAspectRatio.SQUARE, colorimetry=Colorimetry.BT2020, video_range=VideoRange.FULL, scan_mode=ScanMode.PROGRESSIVE, tcs=Tcs.PQ ) ) flow = Flow(stack, "MyJpegXsFlow", flow_size=FlowSize.LARGE_4X, # Required for JPEG XS vpc_interfaces=[efa_interface, ena_interface], media_streams=[video_stream], source=SourceConfiguration.jpeg_xs( flow_source_name="jpegxs-source", max_sync_buffer=100, media_stream_source_configurations=[MediaStreamSourceConfigurationJpegXs( encoding=Encoding.JXSV, port=5000, input_interface=[efa_interface, ena_interface], # 2 interfaces for redundancy media_stream=video_stream )] ) )
Attributes
- flow_source_name
(experimental) The name of the source.
- Default:
a name is generated automatically
- Stability:
experimental
- max_sync_buffer
(experimental) The size of the buffer (in ms) to use to sync incoming source data.
- Default:
100
- Stability:
experimental
- media_stream_source_configurations
(experimental) The media stream that is associated with the source, and the parameters for that association.
- Stability:
experimental
- vpc_interface
(experimental) The VPC interface attachment to use for this bridge source.
- Default:
no VPC interface
- Stability:
experimental