The Big Picture: Three Formats, Two Families
Video containers fall into two distinct structural families:
Family
Containers
Standard
EBML (binary hierarchical) MKV, WebM IETF RFC 9559 (MKV) / RFC 8794 (EBML) ISO BMFF (box trees) MP4, fMP4, MOV ISO/IEC 14496-12 / -14WebM is not a third format: it's a restricted profile of Matroska, using the same EBML structure but limiting the allowed codecs (VP8/VP9/AV1 + Vorbis/Opus + WebVTT). A .webm file is a valid Matroska file, only the DocType field in the EBML header differs "webm" vs "matroska").
What is EBML? Think of it as binary XML. Each data block announces itself with an ID and a size, so a reader always knows exactly where a block starts and ends, no closing tags needed. This makes it compact, fast to parse, and resilient: unknown elements can simply be skipped without crashing. It's the foundation on which both MKV and WebM are built.
MKV: The Most Flexible Container
Standardized as RFC 9559 (IETF, October 2024, status Proposed Standard), Matroska offers:
- Track flexibility: virtually unlimited tracks, ASS/SSA, PGS, VobSub, SRT subtitles, attachments (fonts, images), nested chapters.
- Structural resilience: data is organized into self-contained clusters. If a cluster is corrupted, the player skips to the next one. An interrupted file remains playable up to the last complete cluster.
- EBML extensibility: each element declares its ID and size. A reader encountering an unknown element can simply skip it without crashing, this is what allows new features to be added without breaking backward compatibility.
MP4: The Distribution Container
MP4 (ISO BMFF) is not an open format: its specification is paywalled at ISO, and the standardization process is closed. In practice, the container itself doesn't generate significant royalties (it's the codec inside, H.264/HEVC, that raises patent issues).
But its structural rigidity is precisely its strength:
- fMP4 / CMAF: the only format segmentable for adaptive streaming (HLS, DASH, CMAF).
- DRM: Widevine, FairPlay, PlayReady are implemented exclusively in ISO BMFF.
- Hardware: SoCs (Apple, Qualcomm, MediaTek) are optimized for ISO BMFF.
MP4's Weakness: The moov atom
In MP4, the index (moov atom) is written at the end of the file by default. If it's corrupted (crash, power loss, failing SD card), the entire file is unusable even if all frames are present in mdat. This is the infamous "moov atom not found" error.
This is why OBS Studio recommends recording in MKV and remuxing to MP4 at the end.
The 2026 Turning Point: MKV in Browsers
For a long time, the argument "MP4 because browsers can't play MKV" locked the debate in place. It's now obsolete:
- Chromium (Chrome, Edge, Vivaldi) has natively played MKV for several versions.
- Firefox 145 enabled MKV support by default (VP8, VP9, AV1, HEVC, Opus, Vorbis).
- Firefox 160 added FLAC, MP3, and PCM audio support in MKV.
- Safari (WebKit) remains the last engine without an EBML implementation.
What Changes (and What Doesn't)
What changes:
- Progressive download of .mkv files now works in the three major engines (except WebKit).
- Self-hosted servers (Jellyfin, Plex) can stop remuxing for Firefox/Chromium clients.
What doesn't change:
- Adaptive streaming (HLS, DASH, CMAF) still requires fMP4 segments.
- DRM remains exclusive to ISO BMFF.
- Safari still can't play MKV.
Verdict
Use Case
Recommended Format
Why
Local archiving (Plex, Jellyfin, Blu-ray rips) MKV Flexibility, resilience, multi-track 100% free end-to-end MKV + AV1 + Opus Free container + free codec Browser, 100% free WebM + AV1 + Opus MKV profile that browsers accept Commercial streaming (DRM) MP4 / fMP4 / CMAF Only compatible option Web sharing, max compatibility MP4 UniversalityConclusion
The container war isn't over, but it's no longer a war. What we're seeing in 2026 is a quiet convergence: EBML is becoming a first-class citizen of the web, MP4 is evolving into fMP4/CMAF for adaptive streaming, and WebM sits in between as the "browser-safe" profile of MKV. The codecs inside these containers, AV1, Opus, matter more to end users than the container itself, and the container choice is increasingly a matter of infrastructure (CDN, DRM, hardware) rather than quality.
For most people, the practical takeaway is simple: store in MKV, stream in fMP4, and let the codec (AV1) do the heavy lifting. The container is just the envelope.