Video
Convert MP4 to MKV on Mac (Without Re-encoding)
The best way to convert MP4 to MKV on a Mac is a remux, which copies the video and audio into a new container without re-encoding: ffmpeg -i in.mp4 -c copy out.mkv. It takes seconds and loses nothing. Smol also converts MP4 to MKV, but it re-encodes.
How do I convert MP4 to MKV without losing quality?
Remux. MP4 and MKV are both containers, and a container swap does not need to touch the video itself.
brew install ffmpeg
ffmpeg -i movie.mp4 -c copy movie.mkv-c copy copies every stream as is. In my test, a 109,460 byte MP4 became a 106,079 byte MKV, with the same video and audio codecs (checked with ffprobe). Because nothing is re-encoded, the picture is identical and the job is limited by disk speed, not CPU.
For a folder, loop it:
for f in *.mp4; do ffmpeg -i "$f" -c copy "${f%.mp4}.mkv"; doneHow do I convert MP4 to MKV with Smol?
- Drag the MP4 files or a folder into Smol.
- Choose Convert and set the output to MKV.
- Run it. The MKV appears beside the original with a suffix, and the MP4 is left alone by default.
Smol re-encodes during conversion. In the same test, the MKV came out at 175,983 bytes, bigger than the 109,460 byte source. That is normal when a small, already-efficient file is re-encoded, and it is why a remux is the better choice when your only goal is the container. Smol is the right pick when you also want to change the codec or resolution in the same pass, or when you have a mixed batch of files. To shrink the result, see how to compress video on a Mac.
Why use MKV instead of MP4?
MKV (Matroska) is an open container with fewer limits. It holds any number of audio tracks, subtitle tracks and chapters in one file, and accepts codecs that MP4 does not officially list. That is why movie rips, anime and archives tend to use it.
For everyday video, MP4 is the safer choice. It plays everywhere, including QuickTime, iPhones, TVs and web browsers. MKV does not: Apple’s avconvert could not read my MKV file at all, and QuickTime Player is not designed to play it. Use VLC or IINA. If you land on an MKV you cannot play, going back is covered in converting MKV to MP4.
How do I add subtitles or extra audio when I convert to MKV?
This is the practical reason to bother with MKV. MP4 handles only a narrow set of subtitle formats, while MKV stores SRT subtitles as they are. Remux the video and attach a subtitle file in one command:
ffmpeg -i movie.mp4 -i movie.srt -map 0 -map 1 -c copy -metadata:s:s:0 language=eng movie.mkvI ran this on the test clip. ffprobe showed three streams in the result: H.264 video, AAC audio and a SubRip subtitle track, and the video was not re-encoded. For a second audio track, such as a commentary or another language, add that file as another -i input and another -map entry in the same way.
Players such as VLC and IINA let you switch tracks from a menu. Smol does not add subtitle or extra audio tracks, so this job belongs to ffmpeg.
Can I convert the MKV back to MP4 later?
Yes, and it is lossless in the same way, as long as the codecs inside are ones MP4 allows (H.264, H.265, AAC). Pick only the video and audio streams, since a SubRip track cannot go into MP4 as is:
ffmpeg -i movie.mkv -map 0:v -map 0:a -c copy movie.mp4That worked on my MKV with an SRT track: it produced a 110,304 byte MP4 and dropped the subtitles. If the MKV holds a codec MP4 does not support, you will need a real re-encode, which is what our MKV to MP4 guide walks through.
Remux or re-encode: what did I measure?
| Method | Output size | Re-encoded | Plays in QuickTime |
|---|---|---|---|
| Source MP4 | 109,460 bytes | n/a | Yes |
| ffmpeg -c copy to MKV | 106,079 bytes | No | No |
| Smol convert to MKV | 175,983 bytes | Yes | No |
One synthetic 5 second 720p clip, so treat the sizes as a pattern, not a prediction.
When is Smol the wrong tool for this?
For a plain MP4 to MKV swap, ffmpeg’s -c copy is better than Smol: faster, free, and lossless. No macOS app does this natively, since QuickTime, Preview and avconvert do not write MKV. Pay for nothing if the command line does not bother you.
Smol makes sense when you want the Finder to do it, when a folder mixes MP4, MOV and other formats, or when you also want smaller files without uploading anything. It is $29 once for one Mac: see Smol. Compare options in the best file converters for Mac or the best video compressor for Mac.
How we checked this
Generated a 5 second 720p MP4, remuxed it with ffmpeg, converted it with Smol 1.0.35, compared sizes and codecs with ffprobe, and ran avconvert on the MKV. Facts last checked . We make Smol, so treat our claims about it with the same care as any vendor’s, and see our editorial policy.
MP4 to MKV: common questions
Does converting MP4 to MKV reduce quality?
Not if you remux. ffmpeg with -c copy moves the existing video and audio into a new container untouched, so quality is identical. A tool that re-encodes, Smol included, rewrites the video and loses a little detail. Use a remux whenever the codecs already suit you.
Is MKV better than MP4?
Better for flexibility, worse for compatibility. MKV keeps multiple audio and subtitle tracks and chapters in one file. MP4 plays on nearly every device, including QuickTime and iPhones. Choose MKV for archives and media servers, and MP4 for sharing and Apple apps.
Can QuickTime play MKV files on a Mac?
No, not reliably. QuickTime Player is built around MP4 and MOV, and Apple’s avconvert could not read my MKV test file. VLC and IINA play MKV on a Mac without conversion, or you can convert the file to MP4 or MOV.
Why did my MKV come out bigger than the MP4?
The tool re-encoded the video. Re-encoding an already compact file at a high quality setting can make it larger. In my test Smol turned a 109,460 byte MP4 into a 175,983 byte MKV, while a remux produced 106,079 bytes.
Does MKV make video files smaller?
No. The container barely affects size. MP4 and MKV files of the same video and audio streams are within a few percent of each other. To make a video smaller you have to change the codec, quality or resolution, which means compressing.
Keep reading