VMAP 1.0: Pre-, Mid- and Post-Roll Schedule
A VMAP playlist scheduling three linear ad breaks (pre-roll at start, mid-roll at eight seconds, and post-roll at end), each pointing at a VAST tag. VMAP describes WHEN breaks occur while VAST describes WHAT plays in them. The mid-roll offset lines up with the period boundary in the multi-period DASH manifest, so the two can be tested together.
<?xml version="1.0" encoding="UTF-8"?>
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">
<vmap:AdBreak timeOffset="start" breakType="linear" breakId="preroll">
<vmap:AdSource id="preroll-source" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast4"><![CDATA[https://example.invalid/preroll.xml]]></vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<vmap:AdBreak timeOffset="00:00:08.000" breakType="linear" breakId="midroll">
<vmap:AdSource id="midroll-source" allowMultipleAds="true" followRedirects="true">
<vmap:AdTagURI templateType="vast4"><![CDATA[https://example.invalid/midroll.xml]]></vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<vmap:AdBreak timeOffset="end" breakType="linear" breakId="postroll">
<vmap:AdSource id="postroll-source" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast4"><![CDATA[https://example.invalid/postroll.xml]]></vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
</vmap:VMAP>
Specifications
- Standard
- VMAP 1.0
- Ad Breaks
- 3
- Offsets
- start, 00:00:08.000, end
- Break Type
- linear
- Midroll Aligns With
- the DASH multi-period break at PT8.0S
- Alt Text
- A VMAP playlist scheduling three linear ad breaks (pre-roll at start, mid-roll at eight seconds, and post-roll at end), each pointing at a VAST tag
- Alt Text Source
- description
Testing contract
Expected to pass- Scenario
- Parse the document as VMAP and place its ad breaks on the content timeline.
- Expected result
- A VMAP 1.0 document with 3 linear ad breaks at offsets start, 00:00:08.000 and end. The midroll aligns exactly with the PT8.0S period boundary in the DASH multi-period fixture, so the same break can be resolved from the ad schedule and from the manifest and the two must land on the same timestamp.
What is a .xml file?
XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.
How to use this file
Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.
How to use this file for testing
“VMAP 1.0: Pre-, Mid- and Post-Roll Schedule” is a deterministic Testaroo fixture for Ad insertion, Streaming manifests, Video QA. VAST ad responses and SCTE-35 splice descriptors covering linear break signalling, wrappers, and companion creatives, for testing ad-decision integration and manifest-manipulation logic without calling a real ad server.
Documented properties for this file: XML · 1,051 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
import xml.etree.ElementTree as ET
tree = ET.parse("vmap-schedule.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])Generated by generation/video_timedtext.py. Free for any use, no attribution required, license.
Related files
- m4sDASH VOD: Init Segment (init-stream0.m4s)A DASH initialisation segment carrying codec configuration for one representation. Named by the manifest's $RepresentationID$ template, so this file also exercises whether a client resolves template variables correctly rather than pattern-matching filenames.

- m4sDASH VOD: Init Segment (init-stream1.m4s)A DASH initialisation segment carrying codec configuration for one representation. Named by the manifest's $RepresentationID$ template, so this file also exercises whether a client resolves template variables correctly rather than pattern-matching filenames.

- m4sDASH VOD: Init Segment (init-stream2.m4s)A DASH initialisation segment carrying codec configuration for one representation. Named by the manifest's $RepresentationID$ template, so this file also exercises whether a client resolves template variables correctly rather than pattern-matching filenames.

- mpdDASH VOD: Manifest (Playable Package)A complete, playable MPEG-DASH manifest for the same 320x180 at 300 kbps, 480x270 at 700 kbps, 640x360 at 1400 kbps ladder as the HLS package, produced from the same encoder run, so the two can be compared directly as packaging rather than as content. Every segment it references exists in this group. Served inline as application/dash+xml with permissive CORS, so dash.js can load it cross-origin.

- m4sDASH VOD: Media Segment (chunk-stream0-00001.m4s)A one-second DASH media segment, addressed by the manifest's $Number$ template. The same underlying CMAF structure as the HLS segments in the sibling package, which is the whole point of CMAF, and something a fixture set should let you verify rather than take on trust.

- m4sDASH VOD: Media Segment (chunk-stream0-00002.m4s)A one-second DASH media segment, addressed by the manifest's $Number$ template. The same underlying CMAF structure as the HLS segments in the sibling package, which is the whole point of CMAF, and something a fixture set should let you verify rather than take on trust.
