The Matroska Multimedia Container is an open standard free Container format, a file format that can hold an unlimited number of video, audio, picture or subtitle tracks inside a single file. It is intended to serve as a universal format for storing common multimedia content, like movies or TV shows. Matroska is similar in conception to other containers like AVI, MP4 or ASF, but is completely open source. Matroska file types are .MKV for video (with subtitles and audio), .MKA for audio-only files and .MKS for subtitles only.
Matroska is an English word derived from the Russian word "matryoshka" (Russian: матрёшка, IPA: [mɐˈtrʲoʂkə]), which means "nesting doll" (the common Russian egg-shaped doll within a doll). This is a play on the container (media within a form of media/doll within a doll) aspect of the matryoshka as it is a container for visual and audio data. The transliteration may be confusing for Russian speakers, as the Russian word "matroska" (матроска) actually refers to a sailor suit.
History
The project was announced on December 7, 2002 as a fork of the Multimedia Container Format (MCF), 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 another binary format. This coincided with a long coding break by the MCF's lead developer, which caused most of the community to quickly migrate to the new project.
Goals
The Matroska project developers believe that the use of EBML brings them a number of advantages, including making it easier to extend the format for decades into the future as new developments occur and/or as the project goals change. The format has been designed from the ground up for longevity and extendability (unlike formats such as AVI). The Matroska team has spoken openly on Doom9.org and hydrogenaudio.org about some of their long term goals, including:
creating a modern, flexible, extensible, cross-platform multimedia container format;
developing robust streaming support;
developing a "DVD-like" menu system based on EBML;
developing a set of tools for the creation and editing of Matroska files;
developing libraries that can be used to allow developers to add Matroska support to their applications;
working with hardware manufacturers to include Matroska support in embedded multimedia devices;
working to provide native Matroska support in various operating systems.
Content in Matroska
Initially the uptake of the format was low. It was initially used almost exclusively for DVD rips of anime, as the container allowed the viewer to choose between the original language track and a dub. In recent years, however, Matroska has seen wider use due to the scene adopting it as a format of choice for high definition content ripped from HDTV and next generation video discs (HD DVD and Blu-ray). It usually carries H.264 video, one or more AC3/AAC/DTS audio tracks and sometimes one or more subtitle tracks (sometimes coupled with one or more embedded TrueType or OpenType font). Before H.264, most MKV files from the above mentioned scene contained RealVideo (RV9, RV10) encoded video tracks, which at that time was slightly superior to MPEG-4 Part 2 (used e.g. by the DivX, Xvid and FFmpeg MPEG-4 codecs), especially for anime material, in combination with MP3 or Vorbis encoded audio streams and soft-subtitles.
License
Matroska is an open standards project. This means it is free to use, and that the technical specifications describing the bit stream are open to everybody, even to companies that would like to support it in their products. The source code of the libraries developed by the Matroska Development Team is licensed under GNU LGPL. In addition to that, there are also free parsing and playback libraries available under the BSD license, for proprietary software adoption.