Skip to content
Novus Examples
mkv25.9 KB

Embedded Metadata — File Attachment (MKV)

A Matroska attachment: a whole file carried inside the container alongside the media, with its own filename and MIME type. In the wild this is how fonts travel with styled ASS subtitles, so that a rendering machine lacking the typeface still gets the right result. Extract it with `ffmpeg -dump_attachment:t:0 out.txt -i …`. Unlike the MP4 cover art in this group, an attachment is not a media stream — it demuxes as `codec_type=attachment` and has no frames, which is why remuxing to any container without an attachment concept discards it silently. The filename here is deliberately not `cover.jpg`. Matroska's cover-art convention is simply an attachment named `cover.*`, and FFmpeg and most players special-case that name and promote it to an `attached_pic` video stream. So the same bytes attached under two different filenames produce two different stream lists — a genuinely surprising result if you are counting streams to decide what a file contains.

Rendered preview of Embedded Metadata — File Attachment (MKV)

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

Specifications

Attachments
1
Attached File
attachment-notes.txt
Attached Mime
text/plain
Stream Type
attachment — not video, not audio
Storage
Matroska Attachments element
Duration
8s

What is a .mkv file?

MKV (Matroska) is a flexible open multimedia container that can hold virtually unlimited video, audio, subtitle, and attachment tracks with rich metadata and chapters. It is codec-agnostic and popular for high-quality video with multiple audio and subtitle options. It is a superset of the design behind WebM.

How to use this file

Use an example MKV to test multi-track demuxing, subtitle and chapter extraction, codec detection, and remuxing or transcoding pipelines.

How to use this file for testing

“Embedded Metadata — File Attachment (MKV)” is a deterministic Novus Examples fixture for Media metadata, Video QA, Conversion testing. Video files with embedded chapters, full container tags, attached cover art and a SMPTE start timecode — each paired with a deliberately stripped twin, so you can tell a metadata reader that found nothing from one that was never given anything.

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-attachment.mkv"></video>

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