Codec

Values in this filter define a whitelist of the codecs and formats you want to EXCLUDE in the modifed manifest, with the key denoting the content type you are targetting.

By default, the audio, video, and caption keys will accept codecs as their value. but this is not the only way to use them. You can nest other filters to target video, audio, and caption media types.

Support

Protocol

HLS DASH
yes yes

Keys

name key
video v()
audio a()
caption c()

Video Values

values example description
av1 v(av1) AOMedia Video 1
avc v(avc) H.264
hvc v(hvc) H.265
hevc v(hevc) H.265
hdr10 v(hdr10) H.265 main profile 2
dvh v(dvh) Dolby Vision

Audio Values

values example description
mp4a a(mp4a) AAC
ac-3 a(ac-3) AC-3
ec-3 a(ec-3) Enhanced AC-3
atm a(atm) atmos

Caption Values

values example description
wvtt c(wvtt) Web VTT
sptt c(sptt) Subtitle

Usage Example

Single value filter:

// Removes MPEG-4 audio
$ http http://bakery.dev.vtg.paramount.tech/a(mp4a)/star_trek_discovery/S01/E01.m3u8

// Removes AVC video
$ http http://bakery.dev.vtg.paramount.tech/v(avc)/star_trek_discovery/S01/E01.m3u8

// Removes I-Frame
$ http http://bakery.dev.vtg.paramount.tech/v(i-frame)/star_trek_discovery/S01/E01.m3u8

Multi value filter:

Mutli value filters are , with no space in between

// Removes AC-3 and Enhanced EC-3 audio from the manifest
$ http http://bakery.dev.vtg.paramount.tech/a(ac-3,ec-3)/star_trek_discovery/S01/E01.m3u8

// Removes HDR10 and Dolby Vision video from the manifest
$ http http://bakery.dev.vtg.paramount.tech/v(hdr10,dvh)/star_trek_discovery/S01/E01.m3u8

Multiple filters:

Multiple filters are supplied by using the / with no space in between

// Removes AVC video and MPEG-4 audio
$ http http://bakery.dev.vtg.paramount.tech/v(avc)/a(mp4a)/star_trek_discovery/S01/E01.m3u8