About MKV file format
MKV stands for "Matroska Video". Matroska is a container file format, capable of holding an unlimited number of video, audio and subtitle tracks, along with any metadata. In practice, this means that it is possible to put an entire movie with multiple audio and subtitle tracks, chapter information and cover art into a single file. Matroska is open and patent-free, and since 2024 it has also been an official Internet standard (RFC 9559). Today it is the de facto standard for storing movies. More information can be found in the Wikipedia article.
MKV is only a "wrapper" - the video, audio and subtitles inside it are stored without any changes. MakeMKV doesn't re-encode anything, so an MKV file made from a DVD or Blu-ray disc has exactly the same picture and sound quality as the disc itself.
Why MKV
The Matroska file format (and Matroska video in particular) has a number of advantages.
- MKV can hold everything from the disc. Unlike MP4, it supports every video, audio and subtitle format used on DVD and Blu-ray discs, including lossless audio and disc subtitles, so nothing has to be dropped or converted.
- MKV is open and free. No one holds patents or licenses and anyone can implement it freely. As a result, nearly every software player, smart TV, streaming device and game console supports it, and many of the best players are completely free.
- MKV files do not have evil features attached.
- You can play them on any capable hardware. No need for an HDCP-certified graphics card or any "trusted" environment.
- You can copy them to a laptop, tablet or phone and watch anytime - most of these devices have no disc drive at all.
- One file is one title. If you don't want to watch a dozen trailers before the movie, you don't have to. And the fast-forward button always works, too.
- There are no restrictions on where you can play the file. There are no region-based restrictions. You have control over the content you've paid for.
- MKV files are easy to change. Want to remove an unneeded audio track, or choose which subtitles are shown by default? Thought about converting the video into a modern format such as H.265 (HEVC) or AV1 to make the file several times smaller? All of it can be easily done with free software.
- MKV files are compact. An MKV file holds only the title and tracks you selected, without menus, extras or duplicate data, and the Matroska format itself adds less overhead than the formats used on discs.
Playing MKV files
Years ago, playing MKV files often required extra software, and most hardware players could not play them at all. This is no longer the case, and MakeMKV has played a big role in it: once MKV became the format of choice for movie collections, device makers had every reason to support it. Today MKV files play directly on nearly every computer, phone, smart TV, streaming device and game console.
Players for computers, phones and tablets:
- VLC is a free and very good player for Windows, Mac, Linux, Android and iOS that plays almost anything.
- mpv is a free, lightweight player for Windows, Mac and Linux with excellent picture quality. On a Mac, IINA is a free player based on mpv with a native macOS interface.
- MPC-HC is a free, classic player for Windows.
- Infuse is a polished player for Mac, iPhone, iPad and Apple TV that also organizes your movies into a library with artwork and descriptions. Some features, such as Dolby Vision and lossless audio, require the paid Pro version.
- Kodi is a free media center for Windows, Mac, Linux, Android and many TV boxes that turns a collection of files into a browsable library.
The players that come with the operating system are more limited. Windows Media Player opens MKV files, but depending on the Windows version it may lack decoders for Dolby Digital or DTS audio and for HEVC video, so a movie may play without sound or without picture. Apple's QuickTime Player and TV app can't open MKV files at all. The free players above have everything built in.
Most smart TVs, game consoles and many Blu-ray players[1] can play MKV files from a USB drive or over the home network. Streaming devices such as Apple TV, Fire TV, Google TV and Roku can play them with apps like the ones listed on this page.
If you have more than a few movies, consider a media server such as Plex or Jellyfin (free and open source). It keeps your MKV files on a computer or NAS and streams them to every TV, phone and tablet in your home, with posters, descriptions and resume playback. When a device can't play some track, the server converts it on the fly.
If a file does not play
When a device refuses to play an MKV file, or plays it without sound or picture, the problem is almost always one of the tracks inside the file, not the MKV format itself:
- 4K UHD Blu-ray discs use HEVC video with HDR10 or Dolby Vision. Older devices may not decode HEVC, and Dolby Vision support varies between devices and apps.
- Lossless audio from Blu-ray discs (Dolby TrueHD and DTS-HD Master Audio, including Atmos and DTS:X) is not supported by many TVs and apps. Such audio is best passed through to an AV receiver or soundbar that can decode it. When selecting tracks in MakeMKV, it helps to also keep a Dolby Digital track as a fallback.
- Subtitles on DVD and Blu-ray discs are pictures, not text. Good players show them, but some devices and apps can't.
MediaInfo shows exactly which tracks a file contains. In most cases, one of the players above or a media server will play the file anyway.
Editing and converting MKV files
- MKVToolNix is a free set of tools for Windows, Mac and Linux that edits MKV files without re-encoding: remove or add tracks, change track names, languages and default tracks, edit chapters, split or join files.
- HandBrake is a free video converter for Windows, Mac and Linux. It can turn an MKV file into a much smaller one, or into an MP4 file for devices that need it, with ready-made presets for many devices. Unlike MakeMKV, HandBrake re-encodes the video, which takes time and loses some quality.
- FFmpeg is a free command-line tool that can convert between almost any formats, with or without re-encoding.
Since all meta information is preserved in MKV and compressed media data (video, audio, subtitles) is not changed in any way, it is always possible to convert MKV files back into the original format. For example, MKV files produced from a Blu-ray disc may be converted back to a Blu-ray image or a set of M2TS files without any loss using free tools[1].
Note
- Please note that commercial Blu-ray discs are protected by technological measures preventing unauthorized duplication (including, but not limited to, "Cinavia" technology). MakeMKV doesn't remove such measures, so an MKV file produced from a commercial Blu-ray disc may not play on a Blu-ray player (playback may stop or the sound may be muted), even when converted back to M2TS format.