class Colorimetry
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.Colorimetry |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#Colorimetry |
Java | software.amazon.awscdk.services.mediaconnect.alpha.Colorimetry |
Python | aws_cdk.aws_mediaconnect_alpha.Colorimetry |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป Colorimetry |
Option for Colorimetry.
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 colorimetry string value. |
| static BT2020 | Colorimetry | Option for BT2020. |
| static BT2100 | Colorimetry | Option for BT2100. |
| static BT601 | Colorimetry | Option for BT601. |
| static BT709 | Colorimetry | Option for BT709. |
| static ST2065_1 | Colorimetry | Option for ST2065-1. |
| static ST2065_3 | Colorimetry | Option for ST2065-3. |
| static XYZ | Colorimetry | Option for XYZ. |
value
Type:
string
The colorimetry string value.
static BT2020
Type:
Colorimetry
Option for BT2020.
static BT2100
Type:
Colorimetry
Option for BT2100.
static BT601
Type:
Colorimetry
Option for BT601.
static BT709
Type:
Colorimetry
Option for BT709.
static ST2065_1
Type:
Colorimetry
Option for ST2065-1.
static ST2065_3
Type:
Colorimetry
Option for ST2065-3.
static XYZ
Type:
Colorimetry
Option for XYZ.
Methods
| Name | Description |
|---|---|
| to | Returns the string value. |
| static of(value) | Use a custom colorimetry value. |
toString()
public toString(): string
Returns
string
Returns the string value.
static of(value)
public static of(value: string): Colorimetry
Parameters
- value
string
Returns
Use a custom colorimetry value.

.NET
Go
Java
Python
TypeScript (