class ColorSpace
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.ColorSpace |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#ColorSpace |
Java | software.amazon.awscdk.services.medialive.alpha.ColorSpace |
Python | aws_cdk.aws_medialive_alpha.ColorSpace |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป ColorSpace |
A color space supported for 3D-LUT color conversion in a color-correction rule.
Example
declare const stack: Stack;
declare const bucket: s3.IBucket;
declare const input: medialive.IInput;
declare const video: medialive.EncodeConfiguration;
declare const destination: medialive.OutputDestination;
new medialive.Channel(stack, 'Channel', {
inputs: [{ input }],
colorCorrections: [{
inputColorSpace: medialive.ColorSpace.REC_601,
outputColorSpace: medialive.ColorSpace.REC_709,
lut: medialive.Lut.fromBucket(bucket, 'luts/rec601-to-rec709.cube'),
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [destination],
outputs: [{ encodes: [video], outputName: 'video' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static HDR10 | Color | HDR10. |
| static HLG_2020 | Color | HLG (Rec. |
| static REC_601 | Color | Rec. |
| static REC_709 | Color | Rec. |
value
Type:
string
The underlying string value passed to CloudFormation.
static HDR10
Type:
Color
HDR10.
static HLG_2020
Type:
Color
HLG (Rec.
2020).
static REC_601
Type:
Color
Rec.
601 (SD).
static REC_709
Type:
Color
Rec.
709 (HD).
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): ColorSpace
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (