Understanding Streaming Playlists: M3U, M3U8 & More
Complete guide to streaming playlist formats. Learn the difference between M3U, M3U8, and other playlist formats used in IPTV and web streaming.
What Is a Streaming Playlist?
A streaming playlist is a text file that tells a media player where to find video or audio content. Instead of pointing to a single file, playlists can reference multiple files, different quality levels, and content spread across multiple servers. They're the backbone of adaptive streaming and IPTV delivery.
M3U vs M3U8: What's the Difference?
The main difference is encoding:
- M3U — Uses ASCII encoding, originally developed for MP3 players (Winamp, etc.). Limited to basic playlist functionality with file paths and optional metadata.
- M3U8 — Uses UTF-8 encoding, supports international characters and extended tags. Used by HLS streaming with advanced features like #EXT-X-STREAM-INF for adaptive bitrate.
Both use the same basic format (#EXTM3U header, #EXTINF for track information), but M3U8 adds HLS-specific tags.
Key M3U8 Tags Reference
#EXTM3U— File header, must be first line#EXTINF:<duration>,<title>— Track/segment info#EXT-X-TARGETDURATION:<seconds>— Maximum segment duration#EXT-X-MEDIA-SEQUENCE:<number>— First segment sequence number#EXT-X-STREAM-INF:<attributes>— Variant stream description#EXT-X-ENDLIST— Signals the end of a VOD playlist#EXT-X-KEY:<attributes>— Encryption key information#EXT-X-PLAYLIST-TYPE:<type>— Event, Live, or VOD
Other Playlist Formats
- MPD (Media Presentation Description) — XML-based manifest for MPEG-DASH. More complex but more flexible than M3U8.
- PLS — Simple playlist format similar to M3U, used by some media players
- XSPF — XML-based playlist format, also known as "spiff"
- JSON Playlist — Some modern streaming systems use JSON for human-readable, web-friendly playlists
Related Articles
What Is an M3U8 File? Complete Guide to the HLS Playlist Format
Learn what an M3U8 file is, how it works with HLS streaming, and how to open, edit, and create M3U8 playlists.
M3U8 vs M3U: What's the Difference?
Learn the differences between M3U and M3U8 playlist formats. Encoding, compatibility, and when to use each format.
M3U8 File Format: Structure and Key Tags Explained
Deep dive into the M3U8 file format. Every tag and attribute in the HLS playlist specification explained with examples.