> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# H264ColorSpaceSettings

Color space settings for H.264 video.

Obtainable from: H264ColorSpaceSettings.passthrough, H264ColorSpaceSettings.rec601, H264ColorSpaceSettings.rec709

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/video-codec-settings.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/video-codec-settings.ts#L1129)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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();
```

Golang:

```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` (static) — Pass through the source color space with no conversion.

- `rec601(): H264ColorSpaceSettings // chainable` (static) — Convert to Rec.601 color space.

- `rec709(): H264ColorSpaceSettings // chainable` (static) — Convert to Rec.709 color space.
