What is HLS streaming?
HLS (HTTP Live Streaming) delivers video as a playlist (.m3u8) of short segment files. X, Dailymotion, Pinterest and many others use it.
Definition
An HLS player downloads a master playlist listing quality levels, then a media playlist of segment URLs, and plays the segments in order.
Saving an HLS video yourself means fetching every segment and concatenating them, usually with ffmpeg.
In practice
HLS was designed for live and on-demand delivery over plain HTTP, which makes it CDN-friendly. Segment durations are typically a few seconds, so a ten-minute video can involve a hundred or more requests per quality level.
Segment URLs are frequently signed and short-lived. If a download is interrupted, resuming means re-fetching the playlist — another reason a single complete file is easier to work with.
Why it matters when downloading video
- CrawlFetch returns a single downloadable file instead of an
.m3u8playlist. - Segment URLs are often short-lived, so half-finished downloads fail.
FAQ
How do I download an m3u8 myself?
ffmpeg -i playlist.m3u8 -c copy out.mp4 — for content you're allowed to save.
Related
Last updated 2026-10-25