Skip to content
v2.277.0

H264ColorSpaceSettingsProperty Struct ​

Settings for configuring color space in an H264 video encode.

The parent of this entity is H264Settings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const h264ColorSpaceSettingsProperty: medialive.CfnChannel.H264ColorSpaceSettingsProperty = {
  colorSpacePassthroughSettings: { },
  rec601Settings: { },
  rec709Settings: { },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

h264_color_space_settings_property = medialive.CfnChannel.H264ColorSpaceSettingsProperty(
    color_space_passthrough_settings=medialive.CfnChannel.ColorSpacePassthroughSettingsProperty(),
    rec601_settings=medialive.CfnChannel.Rec601SettingsProperty(),
    rec709_settings=medialive.CfnChannel.Rec709SettingsProperty()
)
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.*;

H264ColorSpaceSettingsProperty h264ColorSpaceSettingsProperty = H264ColorSpaceSettingsProperty.builder()
        .colorSpacePassthroughSettings(ColorSpacePassthroughSettingsProperty.builder().build())
        .rec601Settings(Rec601SettingsProperty.builder().build())
        .rec709Settings(Rec709SettingsProperty.builder().build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var h264ColorSpaceSettingsProperty = new H264ColorSpaceSettingsProperty {
    ColorSpacePassthroughSettings = new ColorSpacePassthroughSettingsProperty { },
    Rec601Settings = new Rec601SettingsProperty { },
    Rec709Settings = new Rec709SettingsProperty { }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

h264ColorSpaceSettingsProperty := &H264ColorSpaceSettingsProperty{
	ColorSpacePassthroughSettings: &ColorSpacePassthroughSettingsProperty{
	},
	Rec601Settings: &Rec601SettingsProperty{
	},
	Rec709Settings: &Rec709SettingsProperty{
	},
}

Properties ​

colorSpacePassthroughSettingsoptionalIResolvable | CfnChannel.ColorSpacePassthroughSettingsPropertycolor_space_passthrough_settingsoptionaltyping.Union[IResolvable, ColorSpacePassthroughSettingsProperty]colorSpacePassthroughSettingsoptionalIResolvableColorSpacePassthroughSettingsoptionalIResolvableColorSpacePassthroughSettingsoptionalinterface{}#
Passthrough applies no color space conversion to the output.
rec601SettingsoptionalIResolvable | CfnChannel.Rec601SettingsPropertyrec601_settingsoptionaltyping.Union[IResolvable, Rec601SettingsProperty]rec601SettingsoptionalIResolvableRec601SettingsoptionalIResolvableRec601Settingsoptionalinterface{}#
Settings to configure the handling of Rec601 color space.
rec709SettingsoptionalIResolvable | CfnChannel.Rec709SettingsPropertyrec709_settingsoptionaltyping.Union[IResolvable, Rec709SettingsProperty]rec709SettingsoptionalIResolvableRec709SettingsoptionalIResolvableRec709Settingsoptionalinterface{}#
Settings to configure the handling of Rec709 color space.