Skip to content
v2.278.0

Experimental

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

H264FilterSettings Class ​

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

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

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
# 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
// 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());
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
});
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@staticmethod def bandwidth_reduction_filter(props: typing.Optional[BandwidthReductionFilterProps] = None) -> H264FilterSettingspublic static H264FilterSettings bandwidthReductionFilter(BandwidthReductionFilterProps props)public static H264FilterSettings BandwidthReductionFilter(BandwidthReductionFilterProps? props = null)func BandwidthReductionFilter(Props BandwidthReductionFilterProps) H264FilterSettings static #
Apply a bandwidth reduction filter.
temporalFilter(props?: TemporalFilterProps): H264FilterSettings // chainable@staticmethod def temporal_filter(props: typing.Optional[TemporalFilterProps] = None) -> H264FilterSettingspublic static H264FilterSettings temporalFilter(TemporalFilterProps props)public static H264FilterSettings TemporalFilter(TemporalFilterProps? props = null)func TemporalFilter(Props TemporalFilterProps) H264FilterSettings static #
Apply a temporal filter.