Video packaging
Video packaging is the step that prepares encoded video for streaming by splitting it into segments, wrapping them in the right container and writing the manifest files a player needs. The same encoded video can be packaged as HLS for Apple devices and DASH for others. Packaging is also where encryption for DRM is usually applied.
Why it matters
Packaging decides which devices can play a video and whether it is protected. A service that packages only one format misses viewers on other devices, while one that packages everything in advance pays for extra storage. Packaging is also where DRM encryption happens, so it affects licensing deals for premium content. If you sell premium titles, you can skip building a packager: FastPix delivers on-demand video as HLS and adds DRM-protected playback through its DRM API.
How it works
- The packager takes encoded renditions, usually in H.264, HEVC or AV1.
- It cuts each rendition into segments and wraps them in a container such as MPEG-TS or fragmented MP4.
- It encrypts the segments if DRM or other protection is needed.
- It writes HLS playlists or DASH manifests so players know where each segment lives.
What is the difference between encoding and packaging?
Encoding compresses the video, while packaging prepares already compressed video for delivery. Encoding decides codec, resolution and bitrate. Packaging decides segment length, container, streaming format and encryption. Because packaging does not re-compress, one set of encoded renditions can be packaged into several formats, such as HLS and DASH.
HLS vs DASH: which should I package for?
HLS is the safer single choice, because Apple devices require it and most other players also support it. DASH is widely used on Android, smart TVs and some browsers, and is common in DRM workflows. Many services package both, or use CMAF, a shared fragmented MP4 format that both HLS and DASH can reference, to avoid storing the video twice.
Where it's used
OTT services and online learning platforms package encoded video for TVs, phones and browsers, adding protection and captions along the way.
Where it usually goes wrong, and how FastPix handles it
Building a packaging step means tracking device format rules, segment settings and DRM integration, and any mistake shows up as videos that fail on certain devices.
Packaging happens inside FastPix for both on-demand HLS and live LL-HLS, so there is no packager in your stack. Premium titles can be protected through the DRM API. That is one less system your team has to build, test on every device and keep current.
By the numbers
- RFC 8216, the HLS specification, defines four media segment formats: MPEG-2 Transport Streams, fragmented MPEG-4, packed audio and WebVTT. (RFC 8216: HTTP Live Streaming)


