enum NumericFilterKey
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.NumericFilterKey |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#NumericFilterKey |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.NumericFilterKey |
Python | aws_cdk.aws_mediapackagev2_alpha.NumericFilterKey |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป NumericFilterKey |
Numeric manifest filter keys.
Use with ManifestFilter.numeric(), ManifestFilter.numericList(), and ManifestFilter.numericRange().
Audio and video bitrate filters are not included here because they use the
Bitrate class directly via dedicated methods on ManifestFilter.
Example
declare const channel: Channel;
new OriginEndpoint(this, 'Endpoint', {
channel,
segment: Segment.cmaf(),
manifests: [
Manifest.hls({
manifestName: 'index',
filterConfiguration: {
manifestFilter: [
// video_height:240-360,720-1080,1440
ManifestFilter.numericCombo(NumericFilterKey.VIDEO_HEIGHT, [
NumericExpression.range(240, 360),
NumericExpression.range(720, 1080),
NumericExpression.value(1440),
]),
],
},
}),
],
});
Members
| Name | Description |
|---|---|
| AUDIO_CHANNELS | The number of audio channels. |
| AUDIO_SAMPLE_RATE | The audio sample rate in Hz. |
| TRICKPLAY_HEIGHT | The height of the trick-play image in pixels (I-frame and image-based trick-play). |
| VIDEO_FRAMERATE | The video frame rate range in NTSC format. |
| VIDEO_HEIGHT | The height of the video in pixels. |
AUDIO_CHANNELS
The number of audio channels.
Accepted values: range 1โ32767, or individual integers.
AUDIO_SAMPLE_RATE
The audio sample rate in Hz.
Accepted values: range 0โ2147483647, or individual integers.
TRICKPLAY_HEIGHT
The height of the trick-play image in pixels (I-frame and image-based trick-play).
If using with I-frame only trick-play, TRICKPLAY_HEIGHT and VIDEO_HEIGHT
should have similar values. If they differ, I-frame only tracks might be
removed from the manifest.
Accepted values: range 1โ2147483647, or individual integers.
VIDEO_FRAMERATE
The video frame rate range in NTSC format.
When filtering for a single value, MediaPackage uses an approximate equals comparison with an epsilon tolerance of 0.0005.
Accepted values: range 1โ999.999 (up to three decimal places), or individual values.
VIDEO_HEIGHT
The height of the video in pixels.
If using with I-frame only trick-play, TRICKPLAY_HEIGHT and VIDEO_HEIGHT
should have similar values. If they differ, I-frame only tracks might be
removed from the manifest.
Accepted values: range 1โ32767, or individual integers.

.NET
Go
Java
Python
TypeScript (