Matroska

From HandWiki
Matroska
MKV Extension Icon
Filename extension.mkv .mk3d .mka .mks
Internet media typevideo/matroska video/matroska-3d audio/matroska[1] application/octet-stream (for .mks)
Initial release6 December 2002; 23 years ago (2002-12-06)
Latest release
1.7.1[2]
(8 October 2022; 3 years ago (2022-10-08))
Type of formatContainer format
Container forMultimedia
Extended fromMCF, EBML
StandardRFC 9559
Open format?Yes[3]
Websitematroska.org

Matroska (styled Matroška) is a project to create a container format that can hold an unlimited number of video, audio, picture, or subtitle tracks in one file.[4] The Matroska Multimedia Container is similar in concept to other containers like AVI, MP4, or Advanced Systems Format (ASF), but is an open standard.

Matroska file extensions are .mkv for video (which may include subtitles or audio), .mk3d for stereoscopic video, .mka for audio-only files (which may include subtitles), and .mks for subtitles only.[5]

History

The project was announced on 6 December 2002[6] 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 (EBML) instead of a binary format.[7] 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.[8]

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.[9][10] Windows 10 Technical Preview Build 9860 added platform level support for HEVC and Matroska.[11][12]

In October 2024, Matroska was formally specified in and published as RFC 9559.

"Matroska" is derived from matryoshka (Russian: матрёшка ru), 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.[13]

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:[14]

  • Creating a modern, flexible, extensible, cross-platform multimedia container format
  • Developing robust streaming support (both this format and the WebM subset are streamable)[15]
  • Developing a menu system similar to that of DVDs based on EBML (as of July 2019, there is only a mostly empty draft)[16]
  • Developing a set of tools for the creation and editing of Matroska files (MKVToolNix, for example)
  • Developing libraries to allow developers to add Matroska support to their applications (made open source by Matroska developers)
  • Working with hardware manufacturers to include Matroska support in embedded multimedia devices

Development

Matroska is supported by a non-profit organization registered in France.[17] 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.[14]

Support

Outside of ffmpeg, Windows 10 supports Matroska natively as well.[18] Earlier versions relied on codec packs (like K-Lite Codec Pack or Combined Community Codec Pack) to integrate ffmpeg (via ffdshow) and other additions into Windows' native DirectShow.

Apple's native QuickTime player for macOS notably lacks support.

See also

References

  1. "Media Types". https://www.iana.org/assignments/media-types/media-types.xhtml. 
  2. "Release release-1.7.1 · Matroska-Org/Libmatroska". October 8, 2022. https://github.com/Matroska-Org/libmatroska/releases/tag/release-1.7.1/. 
  3. Matroska Multimedia Container (Partial draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 21 December 2015. Retrieved 13 December 2021.
  4. Matroska v4 element specification , Matroska.org. "TrackNumber: The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number)."
  5. "Matroska FAQ - Q3: What file extensions does Matroska use?" (in en). https://www.matroska.org/technical/guides/faq/index.html#q3. 
  6. "Matroska: Older Archives". https://www.matroska.org/news/archives2.html. 
  7. Lhomme, Steve (2002-12-06). "Re: Proposed Spec Changes". Newsgroupgmane.comp.video.mcf.devel. Archived from the original on October 11, 2016. Retrieved May 23, 2016.
  8. Frequently Asked Questions , the WebM project
  9. Gabriel Aul (October 31, 2014). "HEVC also supported in-box.". Twitter. https://twitter.com/GabeAul/status/528401061779107841. 
  10. John Callaham (November 1, 2014). "Microsoft: Windows 10 will support the HEVC video compression standard". Windows Central. https://www.windowscentral.com/microsoft-windows-10-will-support-hevc-video-standard. 
  11. Bogdan Popa (November 3, 2014). "Microsoft Confirms MKV File Support in Windows 10". Softpedia. https://news.softpedia.com/news/Microsoft-Confirms-MKV-File-Support-in-Windows-10-463791.shtml. 
  12. Gabe Aul (November 12, 2014). "New build available to the Windows Insider Program". Microsoft. http://blogs.windows.com/bloggingwindows/2014/11/12/new-build-available-to-the-windows-insider-program/. 
  13. "Matroska Media Container Homepage". https://matroska.org/index.html. 
  14. 14.0 14.1 "What is Matroska?" (in en). https://matroska.org/what_is_matroska.html. 
  15. "Streaming". https://matroska.org/technical/streaming/index.html. 
  16. "Menu Specifications". https://matroska.org/technical/menu/index.html. 
  17. "Legal Aspect - Matroska". https://matroska.org/legal.html. 
  18. "More on Native Flac and MKV Support in Windows 10". 5 January 2015. https://www.groovypost.com/news/windows-10-native-mkv-flac-support/. 
  • No URL found. Please specify a URL here or add one to Wikidata.
  • Matroska Multimedia Container — Sustainability of Digital Formats: Planning for Library of Congress Collections