Skip to content
Novus Examples
mkv27.1 KB

Multi-Track Subtitles — Styled ASS Track (MKV)

An ASS subtitle track that carries its own styling — two named styles, alternating cue by cue, one bottom-centred and one top-centred in italic teal. ASS is the only widely-used soft subtitle format that survives a remux with its positioning and colour intact. The useful test is what happens on the way out. Convert this to SubRip or to WebVTT and the styling is silently discarded — the cues remain, so the conversion reports success while half the information is gone. Converting to MP4 is worse still: mov_text keeps neither the styles nor the positions.

Rendered preview of Multi-Track Subtitles — Styled ASS Track (MKV)

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

Specifications

Subtitle Tracks
1
Subtitle Codec
ASS (S_TEXT/ASS)
Styles
2 — Default (bottom centre) and Top (top centre, italic, teal)
Play Res
480x270
Alternates Style
every other cue
Duration
8s

Testing contract

Expected to pass
Scenario
Open the file, extract the ASS track and render it with its declared styles.
Expected result
1 ASS (S_TEXT/ASS) track with 2 styles - Default at bottom centre and Top at top centre, italic and teal - alternating every other cue, at a PlayRes of 480x270 matching the video. Converting this track to SubRip discards the styling entirely, which is the loss this fixture makes visible.

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 — Styled ASS Track (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-ass-styled.mkv"></video>

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