interface FmtpVideo
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.FmtpVideo |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#FmtpVideo |
Java | software.amazon.awscdk.services.mediaconnect.alpha.FmtpVideo |
Python | aws_cdk.aws_mediaconnect_alpha.FmtpVideo |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป FmtpVideo |
Options for FMTP Video.
Example
declare const stack: Stack;
declare const role: iam.IRole;
declare const securityGroup: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;
const efaInterface = VpcInterface.define({
vpcInterfaceName: 'efa-interface',
role: role,
securityGroups: [securityGroup],
subnet: subnet,
networkInterfaceType: NetworkInterface.EFA, // Required for CDI
});
const videoStream = MediaStream.video({
mediaStreamId: 1,
mediaStreamName: 'video',
videoFormat: MediaVideoFormat.HD_1080P,
fmtp: {
exactFramerate: Framerate.FPS_29_97,
par: PixelAspectRatio.SQUARE,
},
});
const flow = new Flow(stack, 'MyCdiFlow', {
flowSize: FlowSize.LARGE_4X, // Required for CDI and JPEG XS
vpcInterfaces: [efaInterface],
mediaStreams: [videoStream],
source: SourceConfiguration.cdi({
flowSourceName: 'cdi-source',
vpcInterface: efaInterface,
port: 5000,
maxSyncBuffer: 100,
mediaStreamSourceConfigurations: [{
encoding: Encoding.RAW,
mediaStream: videoStream,
}],
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| colorimetry? | Colorimetry | The format used for the representation of color. |
| exact | Framerate | The frame rate for the video stream. |
| par? | Pixel | The pixel aspect ratio (PAR) of the video โ the shape of a single pixel, not the display aspect ratio. |
| scan | Scan | The type of compression that was used to smooth the video's appearance. |
| tcs? | Tcs | The transfer characteristic system (TCS) that is used in the video. |
| video | Video | The encoding range of the video. |
colorimetry?
Type:
Colorimetry
(optional, default: no colorimetry specified)
The format used for the representation of color.
exactFramerate?
Type:
Framerate
(optional, default: no frame rate specified)
The frame rate for the video stream.
par?
Type:
Pixel
(optional, default: no pixel aspect ratio specified)
The pixel aspect ratio (PAR) of the video โ the shape of a single pixel, not the display aspect ratio.
Use PixelAspectRatio.SQUARE for most modern content.
scanMode?
Type:
Scan
(optional, default: no scan mode specified)
The type of compression that was used to smooth the video's appearance.
tcs?
Type:
Tcs
(optional, default: no TCS specified)
The transfer characteristic system (TCS) that is used in the video.
videoRange?
Type:
Video
(optional, default: no video range specified)
The encoding range of the video.

.NET
Go
Java
Python
TypeScript (