Skip to content
Novus Examples
m3u8394 B

HLS — Ad Break With Discontinuity Markers

A media playlist with a mid-roll spliced in: EXT-X-CUE-OUT opens the break, EXT-X-DISCONTINUITY marks each boundary, and a fresh EXT-X-MAP re-initialises the decoder on both sides. This is what a packager produces from the SCTE-35 splice_insert fixture in this wave. Discontinuities are where players most often stall, because the timeline and the decoder both have to be reset.

Preview — first 23 linesm3u8
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:4
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MAP:URI="init.mp4"
#EXTINF:4.000,
main-00001.m4s
#EXTINF:4.000,
main-00002.m4s
#EXT-X-CUE-OUT:30.000
#EXT-X-DISCONTINUITY
#EXT-X-MAP:URI="init-ad.mp4"
#EXTINF:4.000,
ad-00001.m4s
#EXTINF:4.000,
ad-00002.m4s
#EXT-X-CUE-IN
#EXT-X-DISCONTINUITY
#EXT-X-MAP:URI="init.mp4"
#EXTINF:4.000,
main-00003.m4s
#EXT-X-ENDLIST

Specifications

Protocol
HLS
Ad Markers
EXT-X-CUE-OUT 30.000, EXT-X-CUE-IN
Discontinuities
2
Init Segments
3 — one per discontinuity
Corresponds To
the SCTE-35 splice_insert fixture

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 — Ad Break With Discontinuity Markers” 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 · 394 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 ad-break.m3u8
ffplay ad-break.m3u8

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