Skip to content
Novus Examples
mkv22.8 KB

Container — Matroska

One H.264 elementary stream wrapped in Matroska. Every file in this group was produced from the SAME encode with a stream copy, so the compressed video bytes are identical and the container is genuinely the only difference. The most permissive container in common use: any codec, unlimited tracks, chapters, attachments. Not natively playable in Safari, which is its main practical limitation.

Rendered preview of Container — Matroska

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

Specifications

Resolution
480x270
Fps
24
Duration
1s
Container
Matroska
Codec
H.264 (libx264) — identical across this group
Remux
stream copy — video bytes are unchanged
Audio
none

Testing contract

Reference control
Scenario
Demux the video stream out of the container and compare the extracted elementary stream against the one from any other member of this group.
Expected result
The container is Matroska and the video is H.264 (libx264) — identical across this group. Every member of this group was produced by a stream copy, so the encoded video bytes are unchanged across all seven - the extracted elementary streams must be identical, and only the container framing differs. 480x270 at 24 fps, 1s, no audio.

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

“Container — Matroska” is a deterministic Novus Examples fixture for Video codecs, Conversion testing, Video QA. One source encoded as H.264, HEVC, AV1, VP9, MJPEG, and a ProRes-compatible mezzanine, across 8/10/12-bit and 4:2:0/4:2:2/4:4:4, for testing decoder support, transcode pipelines, and container remuxing.

Documented properties for this file: 1s · 24 fps. 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.mkv"></video>

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