← Back to Complete Guide

Convert MKV to MP4: 5 Methods Compared (Fastest First)

Five tested ways to turn MKV files into MP4 — ordered by speed. Most conversions take seconds, not minutes, because the best method doesn't re-encode anything. Pick the method that matches your comfort level and file count.

By Hadi Karaki, maker of FormatifSeptember 4, 20269 min read

Which method should you pick?

MethodSpeedQuality lossBatchBest for
1. FFmpeg remuxSecondsNoneYes (script)Anyone comfortable pasting one command
2. OBS remuxSecondsNoneAuto on recordOBS recordings, past and future
3. Shutter EncoderSeconds (rewrap)NoneYes (queue)GUI lovers, mixed batches
4. HandBrakeMinutesTiny (re-encode)QueueAlso shrinking the file
5. Formatif ProSeconds–minNone where possibleYes (folders)Whole folders, no terminal

VLC also converts MKV → MP4 (Media → Convert/Save) but it's buried, single-file, and slow — fine for a one-off, not recommended otherwise.

Method 1: FFmpeg remux (fastest, free)

One command copies the video and audio streams untouched into a new MP4 container. Seconds per file, bit-for-bit identical quality. If you don't have FFmpeg yet: Windows winget install ffmpeg; macOS brew install ffmpeg; Linux sudo apt install ffmpeg.

Single file — remux, zero quality loss

ffmpeg -i input.mkv -c copy output.mp4

Batch: whole folder at once

Windows Command Prompt

for %i in (*.mkv) do ffmpeg -i "%i" -c copy "%~ni.mp4"

PowerShell

Get-ChildItem *.mkv | ForEach-Object { ffmpeg -i $_.FullName -c copy ($_.BaseName + '.mp4') }

macOS / Linux terminal

for f in *.mkv; do ffmpeg -i "$f" -c copy "${f%.mkv}.mp4"; done

When remux fails — fix only the problem stream

MP4 can't carry everything MKV can (DTS/TrueHD audio, PGS subtitles, VP9/AV1 video). Don't re-encode the whole file — convert just the offender and keep copying the video:

Keep video, convert audio to AAC

ffmpeg -i input.mkv -c:v copy -c:a aac output.mp4

Keep video + audio, drop subtitles

ffmpeg -i input.mkv -c copy -sn output.mp4

Full re-encode fallback (high quality)

ffmpeg -i input.mkv -c:v libx264 -crf 20 -c:a aac output.mp4

Method 2: OBS built-in remux (free, zero commands)

If the MKV came from OBS, the converter is already installed:

  1. Open OBS Studio → File → Remux Recordings.
  2. Select your MKV file(s), choose the output folder, and start.
  3. Done in seconds — same zero-loss stream copy as the FFmpeg command.

And for all future recordings: Settings → Advanced → Recording → check “Automatically remux to MP4.” Record crash-safe MKV, receive MP4 automatically on stop. There is no reason not to enable this.

Method 3: Shutter Encoder rewrap (free GUI, batch queue)

Prefer buttons to terminals? Shutter Encoder (free, Windows/macOS/Linux) exposes remuxing as a one-click function:

  1. Drag in one file or a whole folder.
  2. Set the Function dropdown to Rewrap → .mp4.
  3. Hit Start. Same instant, lossless stream copy — with a progress bar.

Method 4: HandBrake (free GUI, also shrinks files)

HandBrake always re-encodes — minutes instead of seconds — so only reach for it when you also want a smaller file or a different codec:

  1. Open the MKV, pick the Fast 1080p30 preset (or HQ 1080p30 for near-invisible loss).
  2. Set format to MP4, adjust quality (RF 20–22 is the sweet spot).
  3. Add more files to the queue for batch, then Start.

Rule of thumb: straight container swap → remux (methods 1–3). Container swap plus smaller file → HandBrake.

Method 5: batch folders, no terminal

Dozens of MKVs? Skip the command line.

Scripts are great until the folder has 200 files in nested subfolders, three of them have DTS audio, and two fail halfway with no log you can read. Formatif Pro ($8.95 one-time) batch-converts entire folders of MKV to MP4 locally — remuxing where possible for instant zero-loss conversion, re-encoding where needed — with per-file status instead of a silent failed loop.

Point at a folder — subfolders included
Remux H.264 streams, zero quality loss
No file size limits, fully offline
One-time purchase of $8.95 — no subscription

MKV to MP4 questions, answered

Will converting MKV to MP4 lose quality?

Not if you remux — the streams are copied bit-for-bit, so it's identical. Loss only comes from re-encoding at a lower bitrate. Try remux first, every time.

Why does FFmpeg fail converting my MKV to MP4?

A stream MP4 can't carry: DTS/TrueHD audio, PGS subtitles, or VP9/AV1 video. Convert just that stream (-c:v copy -c:a aac) or drop subtitles (-sn) instead of re-encoding everything.

How do I batch convert many MKV files?

Loop FFmpeg over the folder (commands above for CMD, PowerShell, and bash), queue them in Shutter Encoder or HandBrake, or point Formatif Pro at the folder for a no-terminal batch with per-file status.

How long does it take?

Remux: seconds (disk-speed limited). Re-encode: roughly real-time to several times real-time depending on resolution and hardware.

Can OBS convert MKV to MP4?

Yes: File → Remux Recordings for existing files, or enable Automatically remux to MP4 so all future recordings convert on stop.

Does HandBrake lose quality converting MKV to MP4?

Technically yes (it re-encodes), but at HQ presets the loss is visually invisible. The real cost is time — minutes vs a remux's seconds.

Keep learning

One folder, hundreds of MKVs, one click.

Formatif Pro ($8.95 one-time) and Formatif AI ($12.95 one-time) handle video, image, and audio conversion offline — with batch workflows, no file size limits, and a 3-day free trial.

Prefer the terminal? The FFmpeg commands above are complete and free forever — this page exists so you can choose honestly.

HK

Written by

Hadi KarakiLinkedIn

Founder of Formatif, a local-first offline media processing suite for Windows and Linux. Hadi writes about video, image, and audio formats, compression, and privacy-first desktop workflows.