Skip to content
Novus Examples
mkv27.9 KB

Multi-Track Subtitles — Three Languages (MKV)

One MKV carrying three soft subtitle tracks — English, Spanish and Japanese — each with a real ISO 639-2 language tag and a human track title, and English flagged as the default. Every cue names its own second and its own chapter, and the picture burns in a matching timecode, so you can confirm the right track is displaying without trusting the player's own menu labels. Single-track sample files never exercise the code that actually breaks: track enumeration, language-tag mapping and default selection. This is the smallest file that does.

Rendered preview of Multi-Track Subtitles — Three Languages (MKV)

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

Specifications

Subtitle Tracks
3
Languages
eng, spa, jpn
Subtitle Codec
SubRip (S_TEXT/UTF8)
Default Track
eng
Audio Tracks
0
Duration
8s
Resolution
480x270
Cues Per Track
8

Testing contract

Expected to pass
Scenario
Open the file and enumerate its subtitle tracks with their language tags and default flags.
Expected result
3 SubRip (S_TEXT/UTF8) subtitle tracks tagged eng, spa and jpn, with eng flagged default, over an 8s 480x270 video and zero audio tracks. Each track carries 8 cues. A player must offer three choices and pre-select English from the flag rather than from track order.

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 Subtitles — Three Languages (MKV)” is a deterministic Novus Examples fixture for Media accessibility, Subtitle testing, Subtitle parsing, 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-three-languages.mkv"></video>

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