How to Convert Video to MP4: 6 Methods That Actually Work

A complete guide to convert video to MP4 — six practical methods covering QuickTime, HandBrake, VLC, FFmpeg, online converters, and dedicated GUI apps with codec and quality advice.

If you need to convert video to MP4, you are not alone. MP4 is the format the modern internet runs on: it plays on every phone, every browser, every editor, and every streaming platform without drama. Whether your source is a chunky MOV from a DSLR, an MKV download, an AVI archive, a WebM screen recording, or an old WMV presentation, turning it into MP4 is almost always the right first move.

This guide walks through six reliable methods to convert video to MP4 on Mac and PC — from the built-in tools already on your machine to pro-grade command-line workflows. We will also cover the codec choices that decide your final quality and file size.

Why MP4 Is the Best All-Rounder

MP4 (MPEG-4 Part 14) is a container format — a standardized wrapper that holds video, audio, subtitles, and metadata. What makes it special is how universally that wrapper is accepted.

Three reasons MP4 won the format wars:

  • Compatibility everywhere. iPhones, Android phones, Windows, macOS, Linux, smart TVs, game consoles, every browser, every editor, every social platform — they all play MP4 natively. No codec packs, no "unsupported file" popups.
  • Modern codec support. MP4 carries H.264 and H.265 (HEVC), the two most efficient widely-supported video codecs in existence, plus newer variants that even support AV1.
  • Hardware acceleration. Apple Silicon, Intel Quick Sync, NVIDIA NVENC, and AMD VCE all include dedicated hardware blocks for encoding and decoding H.264 and H.265 inside MP4. That is why your Mac plays a 4K MP4 without the fans spinning up.

Compare that to MKV (poor mobile support), MOV (heavier than MP4), AVI (dead weight in 2026), or WebM (bad for editors). When you convert video to MP4, you are trading a niche format for the lingua franca of digital video.

Supported Source Formats You Can Convert to MP4

Almost any video file on the planet can be converted to MP4. The common ones:

Source formatTypical originNotes
MOViPhone, DSLR, macOS screen recordingOften already H.264/H.265 — can be remuxed losslessly
MKVDownloaded movies, Plex librariesUsually H.264/H.265 inside — easy remux
AVIOld camcorders, legacy archivesUsually needs re-encoding from DivX/Xvid
WMVWindows screen recordings, old PowerPointsNeeds re-encoding from WMV3/VC-1
FLVOld YouTube downloads, Flash-era contentNeeds re-encoding
WEBMBrowser screen recorders, YouTubeRe-encode from VP8/VP9/AV1
MTS / M2TSSony / Panasonic camcorders (AVCHD)Usually H.264 — often remuxable
3GPOld feature phonesRe-encode from H.263
OGVLegacy open-web videoRe-encode from Theora
TSTV captures, broadcast streamsOften remuxable

Two terms matter before you pick a method:

  • Remux changes only the container, not the video inside. Instant, lossless. Works when the source codec is already MP4-compatible (H.264, H.265).
  • Transcode decodes and re-encodes the video into a new codec. Takes CPU time and introduces some quality loss — invisible with good settings.

If you are converting MOV, MKV, or MTS and the inside is already H.264 or H.265, you can often remux in seconds. Everything else needs transcoding.

Method 1: macOS QuickTime and Finder Encode (Built-In)

The simplest way to convert a video to MP4 on a Mac uses what is already there. macOS has had a built-in "Encode Selected Video Files" action in Finder for years.

Steps:

  1. Right-click any video file in Finder.
  2. Choose Quick Actions -> Encode Selected Video Files.
  3. Pick a resolution (480p, 720p, 1080p, or 4K) and whether to keep audio.
  4. Click Continue.

The result is always an MP4 with H.264 and AAC audio via Apple's AVFoundation pipeline. Fast, hardware-accelerated, zero installation.

Limits: No codec choice, no quality slider, no batch tuning. Fine for quick one-offs; for anything where bitrate matters, move on. QuickTime Player can also export via File -> Export As, using the same encoder.

Method 2: VLC (Free, Cross-Platform)

VLC is free, open source, runs on Mac, Windows, and Linux, and already handles nearly every video format you will encounter. Most people use it to play odd files — but its convert-and-save feature is underrated.

Steps:

  1. Open VLC and go to File -> Convert / Stream (macOS) or Media -> Convert/Save (Windows).
  2. Drop your source file in.
  3. Under Choose Profile, pick Video - H.264 + MP3 (MP4) or Video - H.265 + MP3 (MP4).
  4. Click Customise if you want to tweak bitrate, resolution, or audio codec.
  5. Click Save as File, pick a destination with a .mp4 extension, and hit Save.

VLC is reliable for formats that give other tools trouble — old FLV, oddball AVI variants, TS captures. It is not the fastest encoder, it does not always use hardware acceleration, and the UI is clunky. But it works, and it is free.

Method 3: HandBrake (Detailed MP4 Settings)

HandBrake is the free, open-source video transcoder most power users reach for when they want real control over the output. It is the tool of choice for ripping Blu-rays, batch-converting archives, and producing tightly-tuned MP4s.

Steps to convert to MP4:

  1. Open HandBrake and drag your source video in.
  2. Under Format, choose MP4 (sometimes labeled MP4 File).
  3. Under Preset, pick one of the Apple, Matroska, or General presets. For universal compatibility, Fast 1080p30 is a solid default.
  4. Go to the Video tab:
    • Video Codec: H.264 (x264) for maximum compatibility, or H.265 (x265) for ~40% smaller files at the same quality.
    • Framerate: Same as source.
    • Quality: Constant Quality, RF 20–22 for H.264 or RF 22–24 for H.265. Lower = better quality and bigger file.
  5. Go to the Audio tab and make sure the track is set to AAC (avcodec) or AAC (CoreAudio) on Mac.
  6. Go to the Summary tab and confirm the container is MP4.
  7. Set Save As to a path ending in .mp4 and click Start.

HandBrake's "Web Optimized" checkbox in the Summary tab is worth enabling — it moves the MP4 moov atom to the front of the file so browsers can start playing before downloading the whole thing. Essential for videos you plan to upload or embed on a website.

For a deeper dive into the tradeoffs between codecs, the H.264 vs H.265 comparison explains which one you should actually pick.

Method 4: Online Converters (Quick but Limited)

Online converters like CloudConvert, Convertio, and FreeConvert let you drop a file in a browser and download an MP4 without installing anything. For a single 50 MB video on a borrowed laptop, they are fine.

The tradeoffs:

  • File size limits. Free tiers usually cap you at 100 MB to 1 GB.
  • Upload and download time. You push your whole video across the internet twice — slower than a local encode for 4K files.
  • Privacy concerns. Your footage sits on someone else's server. For confidential, medical, or NDA content, this is a non-starter.
  • Quality ceiling. Most free tools use conservative presets that favor speed over efficiency.

Use online converters for small, non-sensitive files when nothing else is available. For anything regular or serious, stay local.

Method 5: FFmpeg (Command Line, Maximum Power)

FFmpeg is the engine inside HandBrake, VLC, and most other video tools. Using it directly gives you total control and is the fastest way to batch-convert hundreds of files at once. On macOS install it with brew install ffmpeg; on Windows use winget or download a static build.

Lossless remux (when the source is already H.264 or H.265 — works perfectly for most MOV, MKV, and MTS files):

ffmpeg -i input.mkv -c copy -movflags +faststart output.mp4

That command finishes in seconds regardless of file size because no re-encoding happens. The -movflags +faststart flag writes the moov atom to the front for web streaming.

H.264 transcode (universal compatibility, larger files):

ffmpeg -i input.avi -c:v libx264 -preset medium -crf 20 \
  -c:a aac -b:a 192k -movflags +faststart output.mp4
  • -crf 20: quality target. Range 18–28; lower is better. 20 is visually lossless for most content.
  • -preset medium: encoder speed. Try slow for ~10% smaller files at the same quality.

H.265 transcode (smaller files, slower encode):

ffmpeg -i input.mov -c:v libx265 -preset medium -crf 24 \
  -tag:v hvc1 -c:a aac -b:a 192k -movflags +faststart output.mp4

The -tag:v hvc1 flag is critical on Mac — without it, QuickTime and Safari will refuse to play the file even though it is valid.

Batch convert a whole folder of MKVs to MP4:

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

FFmpeg has a steep learning curve but once you know five commands you can handle 95% of real-world conversions faster than any GUI.

Method 6: Dedicated GUI Converter Apps

If you want the control of HandBrake without the learning curve, several polished Mac apps handle conversion with cleaner UX: Permute, iFFmpeg, Cisdem Video Converter, and Movavi Video Converter all sit in this category. They typically add drag-and-drop batching, device presets ("convert for iPhone 15"), and subtitle handling on top of FFmpeg's engine.

For a broader rundown of options, see the guide to the best video converter for Mac and the 6 best free any-format video converters.

Choosing the Right Codec: H.264 vs H.265

Once you have picked MP4 as your container, the next decision is which codec goes inside. In practice you have two real choices in 2026.

H.264 (AVC) is the old reliable. Every device made in the last decade can decode it in hardware, every browser plays it, every editor imports it. File sizes are larger than H.265 but compatibility is bulletproof. Choose H.264 when the destination is unknown or when you need to edit the file later.

H.265 (HEVC) produces roughly 40–50% smaller files at the same visual quality. Apple devices made since 2017, most Android flagships, and all modern browsers handle it fine. Older PCs and some hardware encoders struggle. Choose H.265 for archiving, 4K content, or anywhere storage and bandwidth matter more than squeezing out the last 5% of compatibility.

The HEVC vs H.264 comparison goes into the efficiency math in more detail. For most people: H.264 for sharing, H.265 for keeping.

Keeping Quality While Shrinking File Size

The thing nobody tells you about converting video to MP4 is that the conversion itself does not shrink your file meaningfully — the codec and bitrate choices do. A straight remux from MKV to MP4 keeps the file size almost identical. A transcode with the wrong settings can even make it bigger.

If your real goal is smaller files that still look great, you need a dedicated compressor that understands visual perception, not just a format swap. That is where Compresto fits in. Compresto is a native macOS app that handles the heavy lifting: it converts MOV, AVI, MKV, WMV, WEBM, FLV, MTS and more into MP4, uses Apple Silicon hardware acceleration to encode in seconds, applies perceptual quality tuning so the output stays visually sharp, and can shrink files 60–80% without the fan noise of an hour-long HandBrake job.

Drag your video in, pick a target quality, and Compresto handles codec choice, bitrate curves, and MP4 container flags automatically. No command line, no preset spreadsheets.

If you are starting with an MKV specifically, the MKV to MP4 guide covers the remux-first workflow that saves the most time. For MOV sources, the MOV to MP4 converter for Mac guide has a step-by-step walkthrough. WebM and AVI each have dedicated guides too: WebM to MP4 and AVI to MP4.

FAQ

What is the best free way to convert video to MP4?

For Mac, the built-in Finder Encode Selected Video Files action handles 90% of simple cases with zero setup. For anything more involved — batch jobs, specific codecs, quality tuning — HandBrake is the best free option on both Mac and PC. For command-line users, FFmpeg is unmatched.

Will converting video to MP4 lose quality?

It depends. If the source is already H.264 or H.265 and you do a remux (changing the container only, as in ffmpeg -c copy), there is zero quality loss. If you transcode — decode and re-encode the video — there is always some loss, but with a sensible CRF (20–23 for H.264) it is visually imperceptible for nearly all content.

How long does it take to convert a video to MP4?

Remuxing a 4K movie takes 5–20 seconds regardless of length. Transcoding is measured against playback speed: hardware-accelerated H.264 on Apple Silicon often runs 5–10x faster than realtime, so a 10-minute clip takes about a minute. Software x265 encoding on CPU can run 0.3–1x realtime, so that same 10-minute clip might take 15–30 minutes.

Can I convert video to MP4 without re-encoding?

Yes, if the source video is already encoded in H.264 or H.265. FFmpeg's -c copy flag remuxes the streams into an MP4 container without touching the video, which is instant and lossless. This is how you should handle most MKV, MOV, and MTS files.

What MP4 settings give the best balance of quality and file size?

For most content: H.264 (x264), CRF 21, preset medium, AAC audio at 160–192 kbps, faststart enabled. That produces a file that looks great, plays everywhere, and streams cleanly from a web server. For 4K or archival use, switch to H.265 (x265) with CRF 24 and add the hvc1 tag for Apple compatibility.

Why is my converted MP4 bigger than the original?

Usually one of two causes: your source was already an H.265 file and you transcoded it to H.264 (which needs more bits for the same quality), or you used a very low CRF like 16 that overshoots visual quality. Solution: remux with -c copy where possible, or target CRF 20–23.

Conclusion

MP4 is the format video should be in. Whether you are pulling footage off a camera, downloading an MKV, exporting from an editor, or digging up an AVI from a backup drive, converting to MP4 gives you a file that plays anywhere, edits anywhere, and streams anywhere. The six methods above cover every realistic situation — from Finder's one-click encode for a quick favor, to FFmpeg's batch scripts for serious archiving, to HandBrake's dialed-in presets for content creators.

If you want the fastest, quietest way to convert video to MP4 on a Mac — one that uses Apple Silicon hardware acceleration, picks the right codec automatically, and produces files that are both smaller and sharp — download Compresto and drop your first video in. Most users see a 60–80% size reduction on the first try, with zero configuration required.

Grab it at compresto.app and turn your next conversion into a two-click job.

Ready to compress your files? Join thousands of creators using Compresto ⚡