Skip to content
Novus Examples
mkv27.1 KB

Multi-Track — Language Tags Swapped (MKV)

Two subtitle tracks whose language tags are swapped: the track tagged `fra` contains English cues and the one tagged `eng` contains French. Nothing about the file is malformed — every byte validates, every tag is a legal ISO 639-2 code. This is the failure no schema check can catch and no player can warn about. Selecting French gives you English, and the only way to detect it is to read the cue text and run language identification on it. If you are building QC for a subtitle library, this is the case worth having a fixture for, because it is common and it is invisible.

Rendered preview of Multi-Track — Language Tags Swapped (MKV)

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

Specifications

Subtitle Tracks
2
Track0
tagged fra — cues are English
Track1
tagged eng — cues are French
Well Formed
true
Detectable From Metadata
false
Duration
8s

Testing contract

Expected to recover
Scenario
Open the file, read each subtitle track's language tag, then read the cues themselves.
Expected result
2 well-formed subtitle tracks whose language tags are swapped: the track tagged fra contains English cues and the track tagged eng contains French. Nothing in the metadata reveals this - the file is structurally valid - so it can only be detected by inspecting cue text. It is the fixture for language-detection code, and the control that proves such code is doing more than reading the tag.

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 — Language Tags Swapped (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-mislabelled-language.mkv"></video>

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