class VideoRange
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.VideoRange |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#VideoRange |
Java | software.amazon.awscdk.services.mediaconnect.alpha.VideoRange |
Python | aws_cdk.aws_mediaconnect_alpha.VideoRange |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป VideoRange |
Options for Video Range.
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 |
|---|---|---|
| value | string | The video range string value. |
| static FULL | Video | Option for Full. |
| static FULLPROTECT | Video | Option for Full Protect. |
| static NARROW | Video | Option for Narrow. |
value
Type:
string
The video range string value.
static FULL
Type:
Video
Option for Full.
static FULLPROTECT
Type:
Video
Option for Full Protect.
static NARROW
Type:
Video
Option for Narrow.
Methods
| Name | Description |
|---|---|
| to | Returns the string value. |
| static of(value) | Use a custom video range value. |
toString()
public toString(): string
Returns
string
Returns the string value.
static of(value)
public static of(value: string): VideoRange
Parameters
- value
string
Returns
Use a custom video range value.

.NET
Go
Java
Python
TypeScript (