When delivering content through live streaming or Video on Demand (VOD), you may need more flexibility than the default asset manifest provides. MK.IO can generate dynamic manifests based on predefined filters.
Filters allow you to define specific subsets of your media content within an Asset that will be available to viewers. Filters can be based on time constraints and track constraints. You can combine multiple constraints in a single filter.
- Time range constraints: You can select specific portions of the media content to show to viewers by defining the start and end times. For live media, you can also define the maximum rewind window and the broadcast delay.
- Track constraints: You can select tracks (video, audio and text) and the associated qualities that you want to make available to target specific viewers. For example, you can filter on a specific language or/and on a particular video bitrate.
Asset filters can only be applied to the asset with which they were created, and last as long as the asset exists. Account filters can be applied to any asset in your account, and last for the lifetime of the account.
To create an asset filter or an account filter:
- Log in to MK.IO and select a subscription.
- From the left-hand side menu, navigate to Assets to see your list of available assets, then click on the name of the asset for which you want to create an asset filter. This will display the asset’s properties.
- Scroll to the bottom of the page to find the Asset filters or Account filters panel, which lists any filter already applied to that asset, then click + Add Asset filter or + Add Account filter depending on your needs.
- Enter a name for the asset filter then select the filter type.
- For a time constraints-based filter, select if the time range is based on timestamp or on UTC date & time (live event only), then fill in the required information. For live media, you can also define the maximum rewind window and the broadcast delay.
- For a track constraints-based filter select the tracks (video, audio, or text) and the associated qualities that you want to include or exclude in the output. You can create as many filters as needed.
Type | Possible values |
|---|---|
Bitrate | The bitrate (in bps) can be specified as a single numeric value (for example, |
FourCC | The video codec may be |
Language | Language tag to include, as specified in RFC 5646 (see https://datatracker.ietf.org/doc/html/rfc5646). |
Name | Name of the track as specified in the manifest. |
Values are not case-sensitive.
- Click Create to validate the creation of the asset filter.
Once created, you will be able to associate your filter with a Streaming Locator.
Configure filters with the API
Section titled “Configure filters with the API”Use the Playback filters API Guide to create asset or account filters and apply them when publishing content.