Skip to content
Novus Examples
vtt328 B

VTT — Metadata Track With JSON Payloads

A WebVTT metadata track whose cue payloads are JSON objects rather than text for display. This is how timed analysis output — scene changes, detections, speech segments — is carried alongside a video and read from JavaScript via the cue change event. Nothing here should ever be rendered on screen.

Preview — first 13 linesvtt
WEBVTT

NOTE Metadata track — cue payloads are JSON, not display text.

00:00:01.000 --> 00:00:03.000
{"event":"scene-change","confidence":0.94}

00:00:05.000 --> 00:00:07.000
{"event":"face-detected","count":2,"boxes":[[10,20,80,90],[120,30,60,70]]}

00:00:09.000 --> 00:00:11.000
{"event":"speech","speaker":"A","words":12}

Specifications

Kind
metadata
Cues
3
Payload
JSON per cue

What is a .vtt file?

WebVTT (VTT) is the W3C subtitle and caption format used by the HTML5 <track> element for timed text on the web. It extends the SubRip model with cue settings, positioning, styling, and metadata, and requires a WEBVTT header. It is the standard format for browser-based captions.

How to use this file

Use an example VTT to test HTML5 <track> caption rendering, cue-setting and positioning parsers, and converters between WebVTT and SRT.

How to use this file for testing

“VTT — Metadata Track With JSON Payloads” is a deterministic Novus Examples fixture for Subtitle parsing, Video QA, Streaming manifests. The same captions across SubRip, WebVTT, ASS/SSA, SBV, and TTML, plus a synced LRC lyric file — for testing subtitle parsers, players, burn-in tools, and format converters against known timings.

Documented properties for this file: 3 cues. 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.

Parse the cues and check timings against the documented count; the same captions ship across subtitle formats so you can diff a converter against a known target.

Code examples

<video controls src="clip.mp4">
  <track kind="captions" srclang="en" label="English" src="metadata.vtt" default>
</video>

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