MKV to MP4
Turn an MKV recording or download into an MP4 that phones and editors open.
Runs on your device. The video is never uploaded.
Remuxing an MKV
MKV (Matroska) is a flexible container that OBS, screen recorders and many downloads use. Phones, iMovie and a lot of upload forms want MP4 instead. In most MKV files the video is H.264 or HEVC and the sound is AAC, which fit MP4 as they are, so the converter only rewraps them. This is called a remux: no re-encoding, no quality loss, and a long recording takes seconds.
Some MKVs carry Opus, Vorbis or FLAC sound. MP4 players expect AAC, so that track is re-encoded and the video is still copied. VP9 video is re-encoded to H.264. Subtitle tracks inside the MKV are not kept, because MP4 handles them differently.
OBS can also record straight to MP4, but an MKV survives a crash mid-recording, which is why many people record in MKV and convert afterwards.
Codecs often found in MKV files
| Inside the MKV | To MP4 | Quality |
|---|---|---|
| H.264 + AAC (typical OBS recording) | Copied | Identical |
| HEVC + AAC | Copied | Identical |
| H.264 + Opus | Video copied, sound to AAC | Picture identical |
| VP9 + Opus | Both re-encoded | Slight loss |
| Subtitles (SRT, ASS) | Left out | n/a |
A remux keeps the original bitrate, so the MP4 is about as big as the MKV.
Worked examples
- An OBS recording, H.264 + AACgives copy, no quality loss
- An MKV with Opus soundgives re-encode sound
- An MKV with VP9 videogives re-encode video and sound
- A 45-minute stream recorded at 6 Mbpsgives 2.03 GB6,000,000 × 2,700 s ÷ 8 bytes, copied as is
Uses the video converter, tested on an H.264 + AAC MKV remuxed to MP4 with every packet compared. Last test run: 11 of 11 conversions meet the mark; remux byte-identical 5 of 5. Method on How we test.