Matroska


Matroska is a project to create a container format that can hold an unlimited number of video, audio, picture, or subtitle tracks in one file. The Matroska Multimedia Container is similar in concept to other containers like AVI, MP4, or Advanced Systems Format, but is an open standard.
Matroska file extensions are .mkv for video, .mk3d for stereoscopic video, .mka for audio-only files, and .mks for subtitles only.

History

The project was announced on 6 December 2002 as a fork of the Multimedia Container Format, after disagreements between MCF lead developer Lasse Kärkkäinen and soon-to-be Matroska founder Steve Lhomme about the use of the Extensible Binary Meta Language instead of a binary format. This coincided with a 6-month coding break by the MCF's lead developer for his military service, during which most of the community quickly migrated to the new project.
In 2010, it was announced that the WebM audio/video format would be based on a profile of the Matroska container format together with VP8 video and Vorbis audio.
On 31 October 2014, Microsoft confirmed that Windows 10 would support HEVC and Matroska out of the box, according to a statement from Gabriel Aul, the leader of Microsoft Operating Systems Group's Data and Fundamentals Team. Windows 10 Technical Preview Build 9860 added platform level support for HEVC and Matroska.
In October 2024, Matroska was formally specified in and published as.

Name and logo

"Matroska" is derived from matryoshka, the Russian name for the hollow wooden dolls, better known in English as Russian nesting dolls, which open to expose another smaller doll, that in turn opens to expose another doll, and so on. The logo writes it as "Matroška"; the letter š, an "s" with a caron over it, represents the "sh" sound in various languages.

Design

The use of EBML allows extension for future format changes. The Matroska team has expressed some of their long-term goals on Doom9.org and Hydrogenaudio forums. Thus, the following are "goals", not necessarily existing features, of Matroska:
  • Creating a modern, flexible, extensible, cross-platform multimedia container format
  • Developing robust streaming support
  • Developing a menu system similar to that of DVDs based on EBML
  • Developing a set of tools for the creation and editing of Matroska files
  • Developing libraries to allow developers to add Matroska support to their applications
  • Working with hardware manufacturers to include Matroska support in embedded multimedia devices

    Development

Matroska is supported by a non-profit organization registered in France. It is a royalty-free open standard that is free to use, with the specification being freely available for both private and commercial use. The Matroska development team licenses its libraries under the LGPL, with parsing and playback libraries available under BSD licenses.

Support

Software supporting Matroska include all ffmpeg/libav-based ones, including, notably, mplayer, mpv, VLC, Foobar2000, Media Player Classic-HC, BS.player, Google Chrome, Mozilla Firefox, Blender, Kdenlive, HandBrake, MKVToolNix as well as YouTube, and OBS Studio.
Outside of ffmpeg, Windows 10 supports Matroska natively as well. Earlier versions relied on codec packs to integrate ffmpeg and other additions into Windows' native DirectShow.
Apple's native QuickTime player for macOS notably lacks support.