Stage reference

mattebox@0.19.0

This chapter lists every stage, the presets that include it, and the chapter that describes it. Chapter 02 explains presets and how to add or remove a stage.

Protocols

Import from mattebox/protocols/<name>.

Stage Does In presets Guide
hls-cmaf Reads HLS playlists, plays on demand hls*, dual*, not -ll 03
hls-live Reloads HLS playlists for live streams hls*, dual*, not -ll 04
hls-ll hls-cmaf and hls-live with low-latency HLS *-ll, full 04
dash-cmaf Reads DASH manifests, plays on demand dash*, dual*, not -ll 03
dash-live Reloads DASH manifests for live dash*, dual*, not -ll 04
dash-ll dash-cmaf and dash-live with low-latency DASH *-ll, full 04

Containers

Import from mattebox/containers/<name>.

Stage Does In presets Guide
ts-transmux Rewraps MPEG-TS as fragmented MP4 *-ts, full 08
packed-audio Wraps raw AAC frames as fragmented MP4 *-ts, full 08
webm Plays WebM segments in DASH dash*, dual*, full 03

Stages in every preset

Import from mattebox/stages/<name>. Every preset except kernel includes these.

Stage Does Guide
abr Picks the rendition from throughput and buffer 05
abr-cap-size Caps the height to the element’s rendered size 05
codec-switch Changes a buffer’s codec when the rendition’s codec changes 05
recovery Retries, skips, and reloads after an error 09
content-steering Switches CDN when the manifest names a steering server 11
alt-audio Plays an audio rendition apart from the video 06
text-webvtt Parses WebVTT subtitles 06
text-webvtt-segmented Aligns segmented WebVTT with the media clock 06
forced-subtitles Shows forced subtitles for the audio language 06
text-cea608 Decodes CEA-608 captions 06
nal-scan Finds caption data in fragmented MP4 video 06
cmaf-timing Places each segment at its playlist time 04
pdt Maps media time to wall-clock time 04
codec-probe Reads the codecs from an init segment 08
mp4-box Reads MP4 boxes, for codec-probe and DASH indexes 08
aes-128 Decrypts AES-128 segments. HLS presets only 08

Stages in the -ll presets

Stage Does Guide
live-catchup Holds a target latency with the playback rate 04

full includes it too.

Stages in the -ts presets

Stage Does Guide
meta-id3 Reads ID3 metadata from a transport stream 08

Stages in the -drm presets

Stage Does Guide
eme-core Opens key sessions and requests licenses 07
eme-cenc Widevine, PlayReady, and ClearKey 07
eme-fairplay FairPlay 07
eme-wiseplay WisePlay 07

Stages only in full

Stage Does Guide
thumbnails Answers scrub preview images 10
chapters Answers the chapters of a presentation 15
trick-play Fast forward and rewind on the I-frame track 16
timed-metadata Lists date ranges, events, ID3, and emsg 06
text-cea708 Decodes CEA-708 captions 06
text-ttml Parses TTML subtitles 06
hdr Keeps HDR off a screen that cannot show it 05
qoe Measures startup, rebuffering, and switches 12
cmsd Reads the CDN’s throughput and bitrate hints 11
rendition-names Answers localized track names 06
projection Reads a 360° projection from the init segment 03

Stages in no preset

Stage Does Guide
cmcd Sends playback data to the CDN on each request 11
interstitials Plays ad breaks and other clips the stream or the page schedules 21

Read this page's source on GitHub