Class ColorSpace
(experimental) A color space supported for 3D-LUT color conversion in a color-correction rule.
Namespace: Amazon.CDK.AWS.MediaLive.Alpha
Assembly: Amazon.CDK.AWS.MediaLive.Alpha.dll
Syntax (csharp)
public class ColorSpace : DeputyBase
Syntax (vb)
Public Class ColorSpace Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
IBucket bucket;
IInput input;
EncodeConfiguration video;
OutputDestination destination;
new Channel(stack, "Channel", new ChannelProps {
Inputs = new [] { new InputAttachment { Input = input } },
ColorCorrections = new [] { new ColorCorrection {
InputColorSpace = ColorSpace.REC_601,
OutputColorSpace = ColorSpace.REC_709,
Lut = Lut.FromBucket(bucket, "luts/rec601-to-rec709.cube")
} },
OutputGroups = new [] { OutputGroupConfiguration.Hls(new HlsOutputGroupProps {
Name = "hls",
Destinations = new [] { destination },
Outputs = new [] { new HlsOutputDefinition { Encodes = new [] { video }, OutputName = "video" } }
}) }
});
Synopsis
Properties
| HDR10 | (experimental) HDR10. |
| HLG_2020 | (experimental) HLG (Rec. |
| REC_601 | (experimental) Rec. |
| REC_709 | (experimental) Rec. |
| Value | (experimental) The underlying string value passed to CloudFormation. |
Methods
| Of(string) | (experimental) A value not yet modelled by AWS CDK. |
Properties
HDR10
(experimental) HDR10.
public static ColorSpace HDR10 { get; }
Property Value
Remarks
Stability: Experimental
HLG_2020
(experimental) HLG (Rec.
public static ColorSpace HLG_2020 { get; }
Property Value
Remarks
2020).
Stability: Experimental
REC_601
(experimental) Rec.
public static ColorSpace REC_601 { get; }
Property Value
Remarks
601 (SD).
Stability: Experimental
REC_709
(experimental) Rec.
public static ColorSpace REC_709 { get; }
Property Value
Remarks
709 (HD).
Stability: Experimental
Value
(experimental) The underlying string value passed to CloudFormation.
public virtual string Value { get; }
Property Value
Remarks
Stability: Experimental
Methods
Of(string)
(experimental) A value not yet modelled by AWS CDK.
public static ColorSpace Of(string value)
Parameters
- value string
Returns
Remarks
Stability: Experimental