Introduction
An .mpd file is the manifest of MPEG-DASH, Dynamic Adaptive Streaming over
HTTP, the international standard for adaptive streaming, ISO/IEC 23009-1. Like an HLS
playlist it tells a player which versions of a video exist and where to fetch each
segment, so the player can change quality as the connection changes. DASH is widely
used by large streaming services and plays in browsers through JavaScript players.
The manifest is an XML document. It describes the media but holds none of it: the segments themselves are usually fragmented MP4 or WebM files.
Structure
The full reference, following MPEG’s published schema for the sixth edition:
- MPD element – root attributes and children, profiles, UTC timing
- Periods and representations – Period, AdaptationSet, Representation and their common attributes
- Segment addressing – SegmentBase, SegmentList, SegmentTemplate and SegmentTimeline
- Descriptors – roles, channel layouts, content protection and DRM system IDs
- Events and service description – EventStream, the emsg box, event schemes, latency targets
The root element is MPD. Its attributes say whether the presentation is
static, like a film, or dynamic, like a live broadcast, and
give its duration and the minimum buffer a player should keep.
Inside it, one or more Period elements divide the presentation in time,
for example a programme and an advert. Each period holds AdaptationSet
elements, one for each kind of content such as the video, the audio in each language
and the subtitles. Each adaptation set holds Representation elements, the
alternative encodings of that content, each with its bandwidth, codecs and, for video,
resolution. A SegmentTemplate, SegmentList or
SegmentBase tells the player how to find the segments of each
representation.
MPDMPD type, duration, buffer and profilesrootPeriodPeriod a span of the presentationrepeatedSetAdaptationSet one kind of content: video, an audio language, subtitlesrepeatedRepRepresentation one encoding, with its segment templaterepeated
Not described
ISO/IEC 23009-1 is a paid standard and was not read. The pages follow the MPEG DASH schema (6th edition), the DASH-IF identifier registry and established practice.
Known, not yet covered
- Reference: the meaning of
rangeAccess,eptDelta,pdDelta,endSubNumber,k,tolerance, theSattributesp,pEandssp, the rules ofEvent@statusand the fields ofSegmentSequenceProperties: they are listed with their type and default only, because the schema does not describe them. - Reference: role values beyond the first seven (only those seen in industry specifications are named), the UTCTiming scheme list (taken from dash.js and DASH-IF practice, not the standard’s table) and about 18 further DRM system IDs in the DASH-IF registry.
- Viewer: there is no DASH viewer plugin yet; the explorer shows the file as XML text.
Links
Software
- VLC media player – free media player that opens DASH manifests (Windows, macOS, Linux, mobile)
- FFmpeg – command-line tools that read and write DASH (Windows, macOS, Linux)
- GPAC and MP4Box – tools that package video for DASH and write the manifest (Windows, macOS, Linux)
- Bento4 – tools that package video for DASH and write the manifest (Windows, macOS, Linux)
Developers
- dash.js – the reference DASH player for web pages (JavaScript)
- Shaka Player – plays DASH and HLS in web pages (JavaScript)
- ExoPlayer – the Android media player library, which plays DASH (Java, Kotlin)
Reference
- DASH Industry Forum – interoperability guidelines and test content for DASH