Skip to content
Novus Examples
mkv11.5 KB

MKV — Matroska H.264 Clip

The clip in a Matroska (MKV) container with H.264 video — the flexible open container used for rich multi-track media. For testing MKV demuxing and remux/conversion.

Rendered preview of MKV — Matroska H.264 Clip

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

Specifications

Resolution
480x270
Fps
24
Duration
4s
Audio
none (video-only)
Container
Matroska (MKV)
Codec
H.264 (libx264)

Testing contract

Expected to pass
Scenario
Probe the file, then decode it and confirm the stream inventory matches what the container advertises.
Expected result
One video stream and no audio stream: H.264 (libx264) in a Matroska (MKV) container, 480x270 at 24 fps, 4s. The absence of audio is deliberate and part of the contract - code that assumes every video file has a soundtrack fails here, and reporting a silent audio track that does not exist is equally wrong.

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

“MKV — Matroska H.264 Clip” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: 4s · 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="clip.mkv"></video>

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