Skip to content
Novus Examples
xml1 KB

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.

Preview — first 19 linesxml
<?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

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 Novus Examples 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.