How to Convert MKV to MP4 (Fast Remux — No Quality Loss)
The most important thing to understand about converting MKV to MP4: it usually isn't a conversion at all — it's a remux. Both MKV and MP4 are container formats. The video codec inside the MKV (almost always H.264) is natively supported by MP4. So converting means moving the same video and audio data from one container to another, with zero re-encoding and zero quality loss. A 20GB MKV file converts in about 30 seconds.
MKV vs MP4: What's Actually Different
MKV (Matroska Video) and MP4 (MPEG-4 Part 14) are container formats — they organize and package video, audio, and subtitle streams into a single file. The container doesn't compress the video; the codec inside does.
| Feature | MKV | MP4 |
|---|---|---|
| Open standard | Yes (Matroska) | Yes (MPEG-4) |
| Supported codecs | Any (H.264, H.265, AV1, VP9, etc.) | H.264, H.265, AV1 (limited) |
| Multiple audio tracks | Yes (unlimited) | Yes (limited support) |
| Subtitle formats | ASS, SSA, SRT, PGS, and more | MOV_TEXT, TTML (SRT with limits) |
| Chapter markers | Native | Yes |
| Device compatibility | Good (VLC, modern TVs) | Universal (every device) |
| Web browser playback | Limited | Universal HTML5 video |
| iPhone / iPad playback | No (native) | Yes |
| Upload to YouTube | Supported | Preferred |
Method 1: FFmpeg Remux (Fastest, Zero Quality Loss)
This is the correct and fastest method for the vast majority of MKV files:
ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4
What this does:
-c:v copy— copy the video stream without re-encoding-c:a copy— copy the audio stream without re-encoding- Result: identical video and audio, just in an MP4 container
- Speed: limited only by disk read/write speed, typically 30 seconds for a 10GB file
If you get an error about the audio codec (some MKV files use audio codecs MP4 doesn't support), fix it by re-encoding only the audio:
ffmpeg -i input.mkv -c:v copy -c:a aac -b:a 192k output.mp4
This copies the video losslessly but converts audio to AAC at 192kbps — still very fast since only audio is re-encoded.
Method 2: VLC Media Player (Free, GUI)
- Open VLC → Media → Convert/Save (or Ctrl+R)
- Click Add → select your .mkv file → click Convert/Save
- In the Profile dropdown, select "Video - H.264 + MP3 (MP4)" or "Video - H.265 + MP3 (MP4)"
- Click the wrench icon next to Profile → Video Codec → Encoding tab → check "Keep original video track" (for remux)
- Set destination file with .mp4 extension → click Start
VLC's convert function re-encodes by default unless you configure the "keep original track" option. For large files, FFmpeg's stream copy is faster and cleaner.
Convert MKV to MP4 Online
No FFmpeg install? Convert your MKV files directly in the browser — free, no upload to external servers.
When Re-encoding IS Required
The stream-copy method works when the MKV's video codec is compatible with MP4. It fails when:
- Video codec is VP8 or VP9: MP4 doesn't support these natively. Re-encoding to H.264 is required.
- Audio codec is FLAC or DTS: MP4 doesn't support FLAC audio or raw DTS. Re-encode to AAC.
- Subtitles are ASS/SSA format: MP4 subtitle support is limited. Extract as .srt or burn in.
To check what codecs your MKV contains before converting:
ffprobe -v quiet -print_format json -show_streams input.mkv
Look at the codec_name fields. If video is h264 or hevc and audio is aac or ac3, stream copy will work perfectly.
MKV to MP4 for Specific Platforms
- iPhone / iPad: MP4 H.264, max 60fps, AAC audio. Use stream copy if source is already H.264.
- PS4 / PS5: MP4 H.264 or H.265, AAC audio. Stream copy works for most MKVs.
- Samsung Smart TV: MP4 H.264/H.265, AAC/AC3 audio. Most MKV content remuxes fine.
- YouTube upload: MP4 H.264, AAC stereo. Use
-c:v copy -c:a aacfor safe uploads.
Frequently Asked Questions
What is the difference between MKV and MP4?
Does converting MKV to MP4 lose quality?
Why is my MKV file not playing on my TV?
How long does MKV to MP4 conversion take?
What if my MKV has subtitles I want to keep?
ffmpeg -i input.mkv -c:v copy -c:a copy -c:s mov_text output.mp4. If subtitles are ASS/SSA format (common in fansubs), convert them to SRT first or keep them as a separate .srt file alongside the MP4.