> **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.
# H264FilterSettings

Filter settings for H.264 video. Supports temporal filter and bandwidth reduction filter.

Obtainable from: H264FilterSettings.bandwidthReductionFilter, H264FilterSettings.temporalFilter

- 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#L1407)

## 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';

declare const bandwidthReductionPostFilterSharpening: medialive_alpha.BandwidthReductionPostFilterSharpening;
declare const bandwidthReductionStrength: medialive_alpha.BandwidthReductionStrength;
const h264FilterSettings = medialive_alpha.H264FilterSettings.bandwidthReductionFilter(/* all optional props */ {
  postFilterSharpening: bandwidthReductionPostFilterSharpening,
  strength: bandwidthReductionStrength,
});
```

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

# bandwidth_reduction_post_filter_sharpening: medialive_alpha.BandwidthReductionPostFilterSharpening
# bandwidth_reduction_strength: medialive_alpha.BandwidthReductionStrength

h264_filter_settings = medialive_alpha.H264FilterSettings.bandwidth_reduction_filter(
    post_filter_sharpening=bandwidth_reduction_post_filter_sharpening,
    strength=bandwidth_reduction_strength
)
```

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.*;

BandwidthReductionPostFilterSharpening bandwidthReductionPostFilterSharpening;
BandwidthReductionStrength bandwidthReductionStrength;

H264FilterSettings h264FilterSettings = H264FilterSettings.bandwidthReductionFilter(BandwidthReductionFilterProps.builder()
        .postFilterSharpening(bandwidthReductionPostFilterSharpening)
        .strength(bandwidthReductionStrength)
        .build());
```

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;

BandwidthReductionPostFilterSharpening bandwidthReductionPostFilterSharpening;
BandwidthReductionStrength bandwidthReductionStrength;

var h264FilterSettings = H264FilterSettings.BandwidthReductionFilter(new BandwidthReductionFilterProps {
    PostFilterSharpening = bandwidthReductionPostFilterSharpening,
    Strength = bandwidthReductionStrength
});
```

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"

var bandwidthReductionPostFilterSharpening BandwidthReductionPostFilterSharpening
var bandwidthReductionStrength BandwidthReductionStrength

h264FilterSettings := medialive_alpha.H264FilterSettings_BandwidthReductionFilter(&BandwidthReductionFilterProps{
	PostFilterSharpening: bandwidthReductionPostFilterSharpening,
	Strength: bandwidthReductionStrength,
})
```

## Methods

- `bandwidthReductionFilter(props?: BandwidthReductionFilterProps): H264FilterSettings // chainable` (static) — Apply a bandwidth reduction filter.

- `temporalFilter(props?: TemporalFilterProps): H264FilterSettings // chainable` (static) — Apply a temporal filter.
