← Back to Complete Guide

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

Five tested ways to turn MKV files into MP4 — starting with the one-click option, then the free terminal and GUI methods. Most conversions take seconds, not minutes, because remuxing doesn't re-encode anything. Pick the method that matches your comfort level and file count.

By Hadi Karaki, maker of Formatif: media processing suiteSeptember 22, 202611 min read

Check first — will remux work on your file?

Inside the MKVRemuxes straight to MP4Needs fixing first
VideoH.264 (AVC), H.265 (HEVC)VP9, AV1, MPEG-2 — re-encode this stream
AudioAAC, AC3, E-AC3, MP3DTS, TrueHD, FLAC, Opus, Vorbis — convert the track
SubtitlesSRT, or none at allPGS / VobSub — keep the MKV or burn them in

Nothing here forces a full re-encode — convert the one problem stream and copy the rest. To see what is inside a file before you start: ffprobe -v error -show_entries stream=codec_type,codec_name -of csv=p=0 input.mkv

Which method should you pick?

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

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: 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

Converting MKV to MP4 in Formatif Pro

With the Video Codec and Audio Codec COPY option, you can remux a batch of MKV videos to MP4 in seconds, or re-encode fully.

Method 2: FFmpeg remux (fastest, free)

FFmpeg remux MKV to MP4 (no re-encoding)

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. For subtitle formats and burn-in options, see our guide to SRT vs VTT vs ASS subtitles.

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

Ubuntu & Linux: convert MKV to MP4 from the terminal

Install FFmpeg once — sudo apt install ffmpeg on Ubuntu/Debian, sudo dnf install ffmpeg on Fedora. The single-file command above then works unchanged, and the bash loop handles a whole directory. For a GUI batch on Linux, Formatif Pro ships a Linux build that remuxes folders with per-file status — no distro-specific codec packages to chase.

Skipping the terminal? Terminal syntax errors and PATH issues are the #1 reason these commands fail on Windows. You can drag an entire folder into Formatif Pro and batch-remux every MKV to MP4 with per-file status — same zero-loss result, no code. Download the free trial.

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

If the MKV came from OBS, the converter is already installed — OBS MKV to MP4 is a built-in two-step job for both past and future recordings. (Need to split the audio tracks while you are in there? That is a separate OBS multi-track audio workflow.)

  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.

Recordings from before you enabled this? OBS only auto-remuxes new recordings — your archive of old MKVs still needs converting. Drop the folder into Formatif Pro to batch-remux all of them at once instead of opening one file at a time.

Method 4: 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 5: 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 2–4). Container swap plus smaller file → HandBrake.

How long does it take to convert MKV to MP4?

A remux takes seconds, because nothing is re-encoded — the limit is your disk speed, not your CPU. A re-encode is compute-bound: roughly real-time on CPU, several times faster on a GPU. Typical figures for a 1-hour 1080p file on a modern SSD:

JobMethodTypical timeBottleneck
MKV → MP4, MP4-safe codecsRemux (-c copy)5–20 secondsDisk
MKV → MP4, H.264 on GPURe-encode (NVENC / Quick Sync)1–4 minutesGPU encoder
MKV → MP4, H.264 on CPURe-encode (x264)15–45 minutesCPU cores
3-hour movie, MP4-safe codecsRemux (-c copy)20–60 secondsDisk
4K HDR MKV, MP4-safe codecsRemux (-c copy)20–60 secondsDisk

Estimates for a 1-hour 1080p source on an SSD; re-encode times scale with resolution and encoder. Keep the source and output on the same disk so a remux does not read and write across two devices.

Large files are where remuxing wins outright: a 3-hour film or a 4K HDR recording still copies in under a minute, while re-encoding the same file can run for hours. If you also need to get under a size limit, remux first and compress the MP4 afterward.

Doing this across a whole season or archive keeps the same seconds-per-file math: Formatif Pro remuxes an entire folder in one pass — $8.95 one-time with a 3-day trial — instead of you running the command file by file.

Can Adobe Media Encoder convert MKV to MP4?

Usually yes — current versions import many MKV files, so you can open one and encode straight to MP4 or MOV. Two caveats decide whether it works for your file: import still fails when the container holds a codec Media Encoder can't read, and Media Encoder cannot export MKV at all — the support is import-only.

If a file won't open, don't transcode blind. Remux the MKV to MP4 first — seconds, no quality loss — then import the MP4. The video stream stays untouched and Media Encoder gets a container it handles cleanly.

  • MKV imports fine — encode directly to MP4 or MOV.
  • Import fails or audio is missing — remux to MP4 with the FFmpeg command above, then re-import.
  • Converting a whole camera or OBS archive — batch-remux the folder with FFmpeg or Formatif Pro, then bring the MP4s into Media Encoder in one go.

The same remux-first rule helps with Premiere Pro, After Effects, and other editors that are picky about containers: get the file into a friendly container once, and everything downstream behaves. For the container choice itself, see MKV vs MP4 explained.

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.

Can Adobe Media Encoder convert MKV to MP4?

Current versions import many MKV files, so you can encode them to MP4 or MOV — but import fails for codecs it can't read, and Media Encoder cannot export MKV. If a file won't open, remux it to MP4 first (seconds, no quality loss) and import the MP4 instead.

How do I convert MKV to MP4 on Ubuntu or Linux?

Install FFmpeg with 'sudo apt install ffmpeg' (Debian/Ubuntu) or 'sudo dnf install ffmpeg' (Fedora), then remux: ffmpeg -i input.mkv -c copy output.mp4. A bash for-loop handles a whole folder, and Formatif Pro has a Linux build if you prefer a GUI batch.

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.

Or keep reading: what actually differs between MKV and MP4.

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.