interface SourceJpegXs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.SourceJpegXs |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#SourceJpegXs |
Java | software.amazon.awscdk.services.mediaconnect.alpha.SourceJpegXs |
Python | aws_cdk.aws_mediaconnect_alpha.SourceJpegXs |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป SourceJpegXs |
Configuration for Jpeg XS.
Example
declare const stack: Stack;
declare const role: iam.IRole;
declare const sg1: ec2.ISecurityGroup;
declare const sg2: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;
const efaInterface = VpcInterface.define({
vpcInterfaceName: 'efa-interface',
role: role,
securityGroups: [sg1],
subnet: subnet,
networkInterfaceType: NetworkInterface.EFA,
});
const enaInterface = VpcInterface.define({
vpcInterfaceName: 'ena-interface',
role: role,
securityGroups: [sg2],
subnet: subnet,
networkInterfaceType: NetworkInterface.ENA,
});
const videoStream = MediaStream.video({
mediaStreamId: 1,
mediaStreamName: 'video',
videoFormat: MediaVideoFormat.UHD_2160P,
fmtp: {
exactFramerate: Framerate.FPS_59_94,
par: PixelAspectRatio.SQUARE,
colorimetry: Colorimetry.BT2020,
videoRange: VideoRange.FULL,
scanMode: ScanMode.PROGRESSIVE,
tcs: Tcs.PQ,
},
});
const flow = new Flow(stack, 'MyJpegXsFlow', {
flowSize: FlowSize.LARGE_4X, // Required for JPEG XS
vpcInterfaces: [efaInterface, enaInterface],
mediaStreams: [videoStream],
source: SourceConfiguration.jpegXs({
flowSourceName: 'jpegxs-source',
maxSyncBuffer: 100,
mediaStreamSourceConfigurations: [{
encoding: Encoding.JXSV,
port: 5000,
inputInterface: [efaInterface, enaInterface], // 2 interfaces for redundancy
mediaStream: videoStream,
}],
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| media | Media[] | The media stream that is associated with the source, and the parameters for that association. |
| flow | string | The name of the source. |
| max | number | The size of the buffer (in ms) to use to sync incoming source data. |
| vpc | Vpc[] | The VPC interface attachment to use for this bridge source. |
mediaStreamSourceConfigurations
Type:
Media[]
The media stream that is associated with the source, and the parameters for that association.
flowSourceName?
Type:
string
(optional, default: a name is generated automatically)
The name of the source.
maxSyncBuffer?
Type:
number
(optional, default: 100)
The size of the buffer (in ms) to use to sync incoming source data.
vpcInterface?
Type:
Vpc[]
(optional, default: no VPC interface)
The VPC interface attachment to use for this bridge source.

.NET
Go
Java
Python
TypeScript (