What you need to know about MKV to MP4 conversion
An MKV file is a container format — think of it as a box that holds video, audio, and subtitle tracks together. An MP4 file is a different kind of box, one that plays on almost every device and platform. Converting from MKV to MP4 means taking the video and audio out of the MKV box and putting them into an MP4 box instead.
The conversion itself does not re-encode your video unless you choose to. Most of the time, the video and audio inside stay exactly the same quality — only the container changes. This means the process is fast and the file size stays roughly the same. You will need a tool that can read MKV files and write MP4 files. The most straightforward options are free programs that run on Windows, Mac, or Linux.
The reason to convert is straightforward: MP4 plays everywhere. MKV files sometimes fail to play on phones, tablets, older media players, or streaming devices. MP4 is the format those devices expect.
Key Takeaways
- MKV is a container format that holds video and audio tracks; MP4 is a different container that plays on nearly all devices.
- You can convert without re-encoding the video, which keeps quality the same and makes the process fast.
- Free tools like FFmpeg, HandBrake, and VidCoder all convert MKV to MP4 on Windows, Mac, or Linux.
- The conversion takes anywhere from a few minutes to an hour depending on file size and your computer's speed.
- If the MKV file has multiple audio tracks or subtitles, you choose which ones to keep in the MP4 output.
Using FFmpeg from the command line
FFmpeg is a command-line tool that converts video formats. It is free, fast, and does not re-encode unless you tell it to. If you are comfortable typing commands, this is the quickest route. read FFmpeg from ffmpeg.org, unzip it, and add it to your system path so you can type ffmpeg from any folder.
Open a command prompt or terminal, navigate to the folder where your MKV file sits, and type this command:
ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4
Replace input.mkv with your actual filename and output.mp4 with what you want to call the result. The -c:v copy and -c:a copy flags tell FFmpeg to copy the video and audio without re-encoding them. The process will finish in a few minutes for most files. When it is done, your MP4 file will be in the same folder.
If the MKV file has multiple audio tracks and you want only one, add this instead:
ffmpeg -i input.mkv -c:v copy -c:a copy -map 0:v:0 -map 0:a:0 output.mp4
This keeps the first video track and the first audio track. If you want the second audio track instead, change the last 0 to 1.
Using HandBrake with a graphical interface
HandBrake is a free program with buttons and menus instead of command-line typing. read it from handbrake.fr and install it like any other program. Open HandBrake, click the folder icon, and select your MKV file.
On the right side, you will see a list of presets. Click Fast 1080p30 or Fast 720p30 depending on your video resolution. These presets re-encode the video to a smaller file size, which takes longer but makes the file smaller. If you want to skip re-encoding entirely, look for a preset called Matroska or MP4 that says "copy" next to the video codec.
Under the Audio tab, you will see all the audio tracks in the MKV file. Uncheck any you do not want to keep. Under the Subtitles tab, do the same for subtitle tracks. Click the folder icon next to Save As, choose where you want the MP4 file to go, type a filename, and click Start. The conversion will run in the background, and HandBrake will show you the progress.
Using VidCoder on Windows
VidCoder is another free program with a graphical interface, built on top of HandBrake's engine. read it from vidcoder.com and install it. Click Open Source, select your MKV file, and wait for it to load.
On the left side, you will see presets. The presets with names like Normal or High Quality will re-encode your video. If you want to convert without re-encoding, look for a preset that mentions copy or passthrough in the name. If none exist, you can create one: click the settings icon, go to the Video tab, and set the codec to Copy. Do the same for audio under the Audio tab.
Once your preset is chosen, click Encode. VidCoder will show you a list of audio and subtitle tracks. Uncheck the ones you do not want, then click Encode again. The conversion will start, and you can watch the progress bar at the bottom of the window.
When to re-encode and when to copy
Copying the video and audio (not re-encoding) is faster and keeps quality the same. Use copy mode when your MKV file plays fine on your computer and you just need it in MP4 format for another device. The conversion finishes in minutes.
Re-encoding takes longer — sometimes an hour or more for a two-hour movie — but makes the file smaller. Use re-encoding if your MP4 file needs to fit on a phone, a memory card, or a streaming service with size limits. Re-encoding also fixes compatibility problems if the audio codec inside the MKV (like DTS or TrueHD) does not play on your target device. In that case, re-encoding to AAC or MP3 audio ensures it will play everywhere.
To check what is inside your MKV file before you convert, use MediaInfo. read it from mediaarea.net, open your MKV file with it, and look at the Video and Audio sections. If the audio codec says AAC or MP3, copying is safe. If it says DTS, TrueHD, or FLAC, re-encoding the audio will make the MP4 more compatible.
Handling multiple audio tracks and subtitles
MKV files often contain multiple audio tracks (different languages, commentary tracks, or different quality versions) and multiple subtitle files. When you convert to MP4, you choose which ones to keep. Keeping only what you need makes the file smaller and prevents confusion when playing it.
In HandBrake, the Audio tab shows every audio track. Click the checkbox next to each one you want to keep. You can also click the dropdown next to each track to choose the audio codec — if you are re-encoding, AAC is a safe choice that plays on all devices. In the Subtitles tab, check the subtitles you want. If you check Burn next to a subtitle, it will be permanently written into the video itself and cannot be turned off during playback. Usually you do not want this — leave Burn unchecked so subtitles stay as a separate track.
In VidCoder, the same options appear when you click Encode. In FFmpeg, use the -map flag to select specific tracks. For example, -map 0:v:0 -map 0:a:0 -map 0:s:0 keeps the first video track, first audio track, and first subtitle track.
Troubleshooting common problems
If the conversion starts but stops with an error, the most common cause is a corrupted frame in the MKV file. Try converting again — sometimes it is a temporary read error. If it fails twice, try re-encoding instead of copying. Re-encoding skips over small corruptions that copy mode cannot handle.
If the MP4 file plays but has no sound, the audio codec inside the MKV probably does not work in MP4 containers. Use HandBrake or VidCoder and re-encode the audio to AAC. If the MP4 plays but subtitles do not show up, check that you selected them in the subtitles tab before converting. Some older MP4 players do not support all subtitle formats — if subtitles still do not appear, try burning them into the video instead (though you cannot turn them off then).
If the conversion is very slow, your computer is re-encoding when you thought it was copying. Check your preset or FFmpeg command to make sure you are using copy mode. If you intentionally chose re-encoding, slow speed is normal — a two-hour movie can take an hour or more to re-encode on an older computer.
Frequently Asked Questions
Does converting MKV to MP4 lose quality?
Not if you use copy mode. The video and audio stay exactly the same. If you choose to re-encode, quality depends on the settings you pick — lower bitrate re-encoding will look slightly worse, but most people cannot see the difference at normal bitrates.
Can I convert an MKV file on my phone or tablet?
Not with the tools mentioned here — they all run on computers. Mobile apps exist but are usually slower and have fewer options. Convert on a computer and transfer the MP4 file to your phone afterward.
What if my MKV file has a .mkv extension but will not open in any converter?
The file may be corrupted or mislabeled. Try renaming it to add the correct extension if you know what format it actually is. If that does not work, try opening it with MediaInfo to see what is inside. If MediaInfo cannot read it, the file is probably damaged and cannot be recovered.
How long does conversion take?
Copy mode usually takes a few minutes for a two-hour movie, depending on your hard drive speed. Re-encoding takes much longer — anywhere from 30 minutes to several hours depending on your computer's processor, the video resolution, and the quality settings you choose.
Can I convert multiple MKV files at once?
HandBrake and VidCoder both support batch conversion — you can add multiple files to a queue and let them convert one after another overnight. FFmpeg can also batch convert with a script, but that requires more command-line knowledge.