Package content into CMAF for simultaneous HLS and DASH delivery from one asset

domain: cmaf · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Encode video to fMP4 with a fixed GOP aligned to your segment duration; audio must be in fMP4 AAC containers, not MPEG-TS
  2. Use a packager (Shaka Packager, Bento4, or Unified Streaming) to fragment the fMP4 into CMAF chunks with a common segment duration and shared encryption keys
  3. Generate both an HLS multivariant playlist (referencing .mp4 segments) and a DASH MPD pointing to the same CMAF segments; update EXT-X-VERSION to 7+ for fMP4 HLS
  4. Set the Content-Type header to 'video/mp4' for fMP4 segment responses; using 'video/MP2T' will cause HLS clients to misparse the segments
  5. Verify DRM interoperability by testing a CMAF-encrypted stream with both a Widevine player and a FairPlay player against the same encrypted segments

Known gotchas

Related routes

Decide when to serve DASH versus HLS manifests from a single CMAF-packaged asset based on codec, caption, and DRM signaling differences
dashif.org · 6 steps · unrated
Serve CMAF fMP4 segments over HLS
datatracker.ietf.org · 5 steps · unrated
Package a multi-DRM HLS and DASH stream with Shaka Packager
shaka-packager · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans