Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
H264ColorSpaceSettings Class
Color space settings for H.264 video.
| Stability | Experimental |
|---|---|
| Source | lib/video-codec-settings.ts |
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 h264ColorSpaceSettings = medialive_alpha.H264ColorSpaceSettings.passthrough();
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
h264_color_space_settings = medialive_alpha.H264ColorSpaceSettings.passthrough()
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.*;
H264ColorSpaceSettings h264ColorSpaceSettings = H264ColorSpaceSettings.passthrough();
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 h264ColorSpaceSettings = H264ColorSpaceSettings.Passthrough();
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"
h264ColorSpaceSettings := medialive_alpha.H264ColorSpaceSettings_Passthrough()
Methods
passthrough(): H264ColorSpaceSettings // chainable@staticmethod def passthrough() -> H264ColorSpaceSettingspublic static H264ColorSpaceSettings passthrough()public static H264ColorSpaceSettings Passthrough()func Passthrough() H264ColorSpaceSettings static #Pass through the source color space with no conversion.
rec601(): H264ColorSpaceSettings // chainable@staticmethod def rec601() -> H264ColorSpaceSettingspublic static H264ColorSpaceSettings rec601()public static H264ColorSpaceSettings Rec601()func Rec601() H264ColorSpaceSettings static #Convert to Rec.601 color space.
rec709(): H264ColorSpaceSettings // chainable@staticmethod def rec709() -> H264ColorSpaceSettingspublic static H264ColorSpaceSettings rec709()public static H264ColorSpaceSettings Rec709()func Rec709() H264ColorSpaceSettings static #Convert to Rec.709 color space.