Skip to content
Novus Examples
mkv26.4 KB

Multi-Track — Declared but Empty Subtitle Track (MKV)

A second subtitle track that is properly declared, correctly language-tagged, and contains no cues at all. This is what an incomplete localisation looks like in a real library: the track exists so the menu offers Spanish, and choosing it produces silence. Track enumeration finds it. Language listing finds it. Only counting the cues finds the problem — which is why 'does this file have Spanish subtitles?' is the wrong question and 'does the Spanish track have any content?' is the right one.

Rendered preview of Multi-Track — Declared but Empty Subtitle Track (MKV)

Rendered preview of the mkv file (26.4 KB). Download above for the original.

Specifications

Subtitle Tracks
2
Track0
eng, 8 cues, default flag
Track1
spa, declared with ZERO cues
Well Formed
true
Duration
8s

Testing contract

Expected to pass
Scenario
Open the file, enumerate its subtitle tracks, and read the cue count of each.
Expected result
2 well-formed subtitle tracks: track 0 is eng with 8 cues and the default flag, track 1 is spa and is declared with zero cues. The empty track must still be listed - it is validly declared - so a track picker offers a Spanish option that displays nothing, which is a real product bug and exactly what this fixture reproduces.

What is a .mkv file?

MKV (Matroska) is an open, codec-agnostic multimedia container that holds unlimited video, audio, subtitle, chapter, and attachment tracks in one file. Its structure is EBML, a binary tree of length-prefixed elements, and its attachments typically carry the fonts an ASS subtitle track needs. Because it constrains nothing about the streams inside, the extension says nothing about whether a player can decode them. Steve Lhomme started the project in 2002; WebM is the restricted profile of it that browsers accept.

How to use this file

Use an example MKV to test EBML parsing and multi-track demuxing, subtitle and chapter extraction, and remux pipelines, checking that per-track language and default flags survive, that font attachments are preserved, and that a remux to MP4 reports the tracks MP4 cannot carry instead of dropping them silently.

How to use this file for testing

“Multi-Track — Declared but Empty Subtitle Track (MKV)” is a deterministic Novus Examples fixture for Media accessibility, Media metadata, Subtitle testing, Video QA. Containers carrying several subtitle and audio tracks at once, with real language tags and the default, forced, hearing-impaired and visual-impaired flags actually set, for testing track pickers, accessibility menus, and the flag handling that only shows up when more than one track exists.

Documented properties for this file: 8s. 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

<video controls preload="metadata" width="640" src="mkv-empty-subtitle-track.mkv"></video>

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