Skip to content
Novus Examples
mpd1.5 KB

DASH — Multi-Period Manifest With a Mid-Roll Break

Three DASH periods — content, an ad break, then content again — each with its own initialisation segment. Period boundaries are where players most often break: the decoder must be reset, the buffer cannot span the discontinuity, and rendition selection restarts. Pairs with the VMAP and SCTE-35 fixtures, which describe the same break from the ad-signalling side.

Preview — first 26 linesmpd
<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011"
     type="static" mediaPresentationDuration="PT24.0S" minBufferTime="PT4.0S">
  <Period id="content-1" start="PT0S" duration="PT8.0S">
    <AdaptationSet id="1" contentType="video" mimeType="video/mp4" segmentAlignment="true">
      <SegmentTemplate timescale="1000" duration="4000" initialization="init-main.mp4"
                       media="main-$Number$.m4s" startNumber="1"/>
      <Representation id="360p" codecs="avc1.4d401e" width="640" height="360" bandwidth="700000"/>
    </AdaptationSet>
  </Period>
  <Period id="ad-break" start="PT8.0S" duration="PT8.0S">
    <AdaptationSet id="1" contentType="video" mimeType="video/mp4" segmentAlignment="true">
      <SegmentTemplate timescale="1000" duration="4000" initialization="init-ad.mp4"
                       media="ad-$Number$.m4s" startNumber="1"/>
      <Representation id="360p" codecs="avc1.4d401e" width="640" height="360" bandwidth="700000"/>
    </AdaptationSet>
  </Period>
  <Period id="content-2" start="PT16.0S" duration="PT8.0S">
    <AdaptationSet id="1" contentType="video" mimeType="video/mp4" segmentAlignment="true">
      <SegmentTemplate timescale="1000" duration="4000" initialization="init-main.mp4"
                       media="main2-$Number$.m4s" startNumber="1"/>
      <Representation id="360p" codecs="avc1.4d401e" width="640" height="360" bandwidth="700000"/>
    </AdaptationSet>
  </Period>
</MPD>

Specifications

Protocol
MPEG-DASH
Periods
3
Structure
content, ad break, content
Total Duration
PT24.0S
Per Period Init
yes — each period has its own init segment
Discontinuity
period boundary at PT8.0S and PT16.0S

What is a .mpd file?

MPD (Media Presentation Description, .mpd) is the XML manifest at the heart of MPEG-DASH adaptive streaming. It describes periods, adaptation sets, representations, and segment templates, telling a player which bitrate ladders exist and how to construct segment URLs. It is the DASH counterpart to an HLS .m3u8 playlist.

How to use this file

Use an example .mpd to test DASH players, manifest parsers, and ABR ladder logic. Files under /files/stream/ are served inline with permissive CORS, so a player can fetch this manifest and its segments from any origin without re-hosting them.

How to use this file for testing

“DASH — Multi-Period Manifest With a Mid-Roll Break” 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: content, ad break, content. 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 multi-period.mpd
ffplay multi-period.mpd

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