Manifest filtering examples in AWS Elemental MediaPackage
These are MediaPackage manifest filtering examples.
Example 1: Target a player that supports AVC and a 44.1k audio sample rate
The viewer is playing content on a device that can only support AVC and a 44.1k
audio sample rate. You set the video_codec
and
audio_sample_rate
to filter out streams that don't fit these
requirements.
?aws.manifestfilter=audio_sample_rate:0-44100;video_codec:h264
Example 2: Restrict 4k HEVC content
Your 4K HEVC stream is 15 Mbps, and all your other streams are less than 9 Mbps. To exclude the 4K stream from the stream set, you set a threshold of 9,000,000 bits per second to filter out the higher bitrate.
?aws.manifestfilter=video_bitrate:0-9000000
Example 3: Include video between 23.976 and 30 frames per second
To only include video within a certain frame rate range, use video_framerate
. This parameter accepts floating-point numbers with up to three optional decimal values.
?aws.manifestfilter=video_framerate:23.976-30