Skip to content
v2.277.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Av1ColorSpaceSettings Class ​

Color space settings for AV1 video.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const av1ColorSpaceSettings = medialive_alpha.Av1ColorSpaceSettings.hdr10(/* all optional props */ {
  maxCll: 123,
  maxFall: 123,
});
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

av1_color_space_settings = medialive_alpha.Av1ColorSpaceSettings.hdr10(
    max_cll=123,
    max_fall=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;

Av1ColorSpaceSettings av1ColorSpaceSettings = Av1ColorSpaceSettings.hdr10(Hdr10SettingsProps.builder()
        .maxCll(123)
        .maxFall(123)
        .build());
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var av1ColorSpaceSettings = Av1ColorSpaceSettings.Hdr10(new Hdr10SettingsProps {
    MaxCll = 123,
    MaxFall = 123
});
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

av1ColorSpaceSettings := medialive_alpha.Av1ColorSpaceSettings_Hdr10(&Hdr10SettingsProps{
	MaxCll: jsii.Number(123),
	MaxFall: jsii.Number(123),
})

Methods ​

hdr10(props?: Hdr10SettingsProps): Av1ColorSpaceSettings // chainable@staticmethod def hdr10(props: typing.Optional[Hdr10SettingsProps] = None) -> Av1ColorSpaceSettingspublic static Av1ColorSpaceSettings hdr10(Hdr10SettingsProps props)public static Av1ColorSpaceSettings Hdr10(Hdr10SettingsProps? props = null)func Hdr10(Props Hdr10SettingsProps) Av1ColorSpaceSettingsstatic#
HDR10 color space.
hlg2020(): Av1ColorSpaceSettings // chainable@staticmethod def hlg2020() -> Av1ColorSpaceSettingspublic static Av1ColorSpaceSettings hlg2020()public static Av1ColorSpaceSettings Hlg2020()func Hlg2020() Av1ColorSpaceSettingsstatic#
HLG 2020 color space.
passthrough(): Av1ColorSpaceSettings // chainable@staticmethod def passthrough() -> Av1ColorSpaceSettingspublic static Av1ColorSpaceSettings passthrough()public static Av1ColorSpaceSettings Passthrough()func Passthrough() Av1ColorSpaceSettingsstatic#
Pass through the source color space with no conversion.
rec601(): Av1ColorSpaceSettings // chainable@staticmethod def rec601() -> Av1ColorSpaceSettingspublic static Av1ColorSpaceSettings rec601()public static Av1ColorSpaceSettings Rec601()func Rec601() Av1ColorSpaceSettingsstatic#
Convert to Rec.601 color space.
rec709(): Av1ColorSpaceSettings // chainable@staticmethod def rec709() -> Av1ColorSpaceSettingspublic static Av1ColorSpaceSettings rec709()public static Av1ColorSpaceSettings Rec709()func Rec709() Av1ColorSpaceSettingsstatic#
Convert to Rec.709 color space.