Summary:Matroska (MKV) is a modern, flexible multimedia container format widely used by media enthusiasts and in open-source communities. It is capable of holding video, audio, and subtitles in a single file, similar to MP4, but with broader codec support.
We propose prototyping Matroska support in Gecko for the following reasons:
- Compatibility and demand: Chromium-based browsers already support MKV playback. The lack of native support in Gecko results in playback failures, forced downloads instead of direct play, and the need for manual transcoding. Many users have requested first-class MKV playback.
- Standards-backed: Matroska (and EBML) are now published as IETF RFCs via the CELLAR working group, providing an open and stable specification that ensures long-term interoperability.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1422891Specification: https://www.rfc-editor.org/info/rfc9559Platform coverage: All
Other browsers:Blink (Chromium): Supported with common codecs such as H.264, AAC, Opus, and Vorbis, etc.
WebKit (Safari): Not supported.