Skip to content
Novus Examples
m3u8255 B

HLS — CMAF Media Playlist

A VOD media playlist in CMAF form: an EXT-X-MAP initialisation segment followed by four fragmented-MP4 segments and an explicit ENDLIST. The final segment is deliberately short, as a real encode's last segment usually is. Tests target-duration handling, init-segment fetching, and correct total-duration arithmetic. A manifest-parsing fixture — the segments themselves ship with the streaming phase.

Preview — first 16 linesm3u8
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MAP:URI="init.mp4"
#EXTINF:4.000,
seg-00001.m4s
#EXTINF:4.000,
seg-00002.m4s
#EXTINF:4.000,
seg-00003.m4s
#EXTINF:2.000,
seg-00004.m4s
#EXT-X-ENDLIST

Specifications

Protocol
HLS
Version
7
Playlist Type
VOD
Segments
4
Target Duration
4s
Total Duration
14s
Init Segment
init.mp4 via EXT-X-MAP
Segment Format
fMP4 / CMAF

What is a .m3u8 file?

M3U8 (.m3u8) is a UTF-8 M3U playlist, most importantly the backbone of HTTP Live Streaming (HLS). An HLS media playlist lists timed media segments with #EXTINF tags and directives like #EXT-X-TARGETDURATION, and a master playlist points to alternate bitrate renditions.

How to use this file

Use an example .m3u8 file to test HLS parsers and players, segment and directive extraction, and adaptive-streaming tooling, or as a plain UTF-8 M3U playlist.

How to use this file for testing

“HLS — CMAF Media Playlist” is a deterministic Novus Examples fixture for Streaming manifests, Conversion testing, Video QA. HLS playlists and DASH MPDs covering multi-bitrate ladders, byte-range addressing, and segment templates. Served inline with permissive CORS under /files/stream/, so a player can load them from any origin without re-hosting.

Documented properties for this file: M3U8 · 255 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Media fixtures are short and synthetic by design. Prefer waveform or transcript ground truth in the same group when measuring ASR, trim, upscale, or sync tools; do not assume broadcast-quality masters.

Code examples

# manifests resolve their own segments, so pass the URL, not a local copy
ffprobe -v error -show_entries stream=codec_name,width,height ladder-360p.m3u8
ffplay ladder-360p.m3u8

Generated by generation/video_timedtext.py. Free for any use, no attribution required — license.