Skip to content
Testaroo
m3u8222 B

HLS Playlist (M3U8)

An HTTP Live Streaming (HLS) media playlist in UTF-8 M3U8 (#EXT-X-VERSION, target duration, four timed .ts segments, and #EXT-X-ENDLIST) for testing HLS parsers and adaptive-streaming players.

Preview, first 15 linesm3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:9.009,
segment0.ts
#EXTINF:9.009,
segment1.ts
#EXTINF:9.009,
segment2.ts
#EXTINF:6.500,
segment3.ts
#EXT-X-ENDLIST

Specifications

Format
HLS media playlist (M3U8)
Type
VOD
Segments
4
Target Duration
10

Testing contract

Expected to pass
Scenario
Exercise HLS Playlist (M3U8) in its feeds workflow. An HTTP Live Streaming (HLS) media playlist in UTF-8 M3U8 (#EXT-X-VERSION, target duration, four timed .ts segments, and #EXT-X-ENDLIST) for testing HLS parsers and adaptive-streaming players.
Expected result
14 text lines, decoded as UTF-8; first nonempty line is '#EXTM3U'. Declared feature checks: type=VOD; segments=4; targetDuration=10.

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 Playlist (M3U8)” is a deterministic Testaroo fixture for Playlist & feed parsing, Editor testing. RSS, Atom, and JSON Feed syndication, an OPML subscription list, and M3U / HLS M3U8 media playlists, for testing feed readers, podcast apps, and media players.

Documented properties for this file: HLS media playlist (M3U8) · VOD. 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.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

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 stream.m3u8
ffplay stream.m3u8

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