Skip to content
Zumkor
← Back to blog · · 9 min read

How to convert AVI to MP4 on Mac (offline, batch, 2026)

Old AVI files won't play in QuickTime? Convert AVI to MP4 on your Mac with ffmpeg or Zumkor — batch whole folders, hardware-accelerated, fully offline, nothing uploaded.

guides video mac

Zumkor converts videos to MP4, MOV, M4V, or MKV on your Mac — free for 7 days, batch whole folders, 100% offline. Then one-time $19.99, yours forever. Needs macOS 14+ on an Apple silicon Mac — any M-series machine.

Download on the App Store Zumkor for Mac

Somewhere on your Mac — or on the external drive you just plugged in — sits a folder of .avi files. Home videos ripped from a camcorder in 2006, clips from an old digital camera, downloads from the era when AVI was internet video. Double-click one and QuickTime Player either refuses outright — “The document could not be opened” — or opens a window that plays picture with no sound, or sound with no picture. iMovie won’t import them, Photos won’t take them, and AirDropping one to your iPhone gets you an attachment nothing can play.

The files are almost certainly fine. AVI is simply a format from a different era of computing, and the fix is a conversion to MP4 — the format everything made this century plays. This guide covers how to convert AVI to MP4 on a Mac: the free command-line route, the lossless shortcut that works for a lucky subset of files, and the drag-a-folder batch route for the shoebox archive — all running entirely on your Mac, with nothing uploaded anywhere.

Why your Mac won’t play AVI anymore

AVI (Audio Video Interleave) is Microsoft’s video container from 1992 — old enough that it predates MP4, H.264, and most of the people uploading video today. A container is just a wrapper; what matters is the codec inside, and AVI files typically carry the codecs of their time: DivX and Xvid (the MPEG-4 variants that powered 2000s internet video), Motion JPEG (what early digital cameras recorded), DV (MiniDV camcorder captures), with audio in MP3 or raw PCM.

Apple’s media stack — QuickTime Player, iMovie, Final Cut, Photos, everything built on AVFoundation — speaks H.264 and HEVC in MP4/MOV containers. It retains partial AVI support for a few legacy codecs (some Motion JPEG camera clips still open), which is why AVI behavior on a Mac feels random: one file plays, the next one doesn’t, a third plays video but drops the audio. DivX and Xvid, the codecs inside the bulk of the world’s AVI files, were never part of Apple’s stack at all.

None of this is corruption, and there’s no plugin to install (the DivX-codec-pack era is mercifully over). The mismatch is permanent — which is exactly why the right move is converting the files once to MP4 with H.264 video and AAC audio, the combination that opens on every device, editor, TV, and upload portal made in the last fifteen years. Do it once and the format problem is gone for good.

If you only need to watch them

Conversion is overkill if the goal is a one-time viewing. Two free players open virtually any AVI directly:

  • IINA — the modern, Mac-native open-source player. Drag the .avi in, it plays, DivX and all.
  • VLC — the veteran that has played AVI files since the actual AVI era.

Reach for conversion when watching isn’t enough: you want the clips in Photos or iMovie, on an iPhone or Apple TV, uploaded somewhere, or — the big one for AVI specifically — archived in a format that will still open in 2040. Those camcorder files are irreplaceable; AVI-with-DivX is not the wrapper to trust them to for another twenty years.

Skip the upload-a-file converter sites

Googling “avi to mp4” surfaces pages of free converter websites, and for this job they’re an especially bad fit. AVI files are big — old codecs compressed inefficiently, so an hour of camcorder footage can run to gigabytes. Uploading that to someone else’s server, waiting for their queue to transcode it, and downloading the result takes longer than your Mac needs to do the whole job locally. The free tiers cap file sizes precisely so files like these hit the paywall, and your family videos spend the day on a server you don’t control.

Both routes below are fully offline. Wi-Fi off, nothing leaves the machine.

Method 1: ffmpeg (free, command line)

The free tool that does this properly is ffmpeg, installed via Homebrew:

brew install ffmpeg

For one file:

ffmpeg -i input.avi -c:v libx264 -crf 20 -preset medium -c:a aac -b:a 192k output.mp4

What the flags mean: -c:v libx264 re-encodes the video to H.264, -crf 20 sets quality (lower = better; 18–23 is the sensible range), and -c:a aac -b:a 192k converts the MP3 or PCM audio to AAC. The output plays in QuickTime, imports into Photos and iMovie, and syncs to an iPhone without complaint.

Check for the lossless shortcut first. A minority of AVI files — usually newer ones from cameras or capture software that used AVI as a wrapper around modern video — already contain H.264. Those don’t need re-encoding at all; the video stream can be repackaged into an MP4 container as-is, instantly and with zero quality loss (the same trick that makes MKV to MP4 conversion so fast). Check what’s inside:

ffprobe input.avi

If the video stream says h264, remux instead of re-encoding:

ffmpeg -i input.avi -c:v copy -c:a aac -b:a 192k output.mp4

That copies the video untouched and converts only the audio — done in seconds regardless of length. If ffprobe says mpeg4 (that’s DivX/Xvid), mjpeg, or dvvideo, there’s no shortcut: those codecs don’t belong in an MP4 that Apple’s apps will play, so a real re-encode to H.264 is required, and the conversion takes time proportional to the footage.

That’s where stock ffmpeg shows its weak spot on a Mac: libx264 grinds through frames on the CPU. Apple’s hardware encoder is available (-c:v h264_videotoolbox -b:v 5000k) and far faster, but it wants explicit bitrates instead of a quality level, and guessing wrong costs you quality or file size. Workable if you like Terminal; a lot of flags if you just want forty camcorder files to play.

A whole folder, in a shell loop:

cd ~/Movies/old-avi
for f in *.avi; do
  [ -e "$f" ] || continue
  ffmpeg -i "$f" -c:v libx264 -crf 20 -c:a aac -b:a 192k "${f%.*}.mp4"
done

Free, scriptable, dependable — the right answer if you live in Terminal anyway.

Method 2: Zumkor (drag the folder, done)

If the job is bigger than one file — and with AVI it almost always is, because these files travel in herds from old drives and camera cards — this is the chore Zumkor exists to delete (it needs macOS 14 or later on an Apple silicon Mac — any M-series machine):

  1. Open Zumkor and drag in the .avi files — or the whole folder, subfolders and all.
  2. Pick MP4 as the output (the Universal MP4 preset targets maximum compatibility, with play-anywhere H.264).
  3. (Optional) Swap presets if you want to standardize sizes — “iPhone-compatible 1080p” and “720p” normalize everything to a common resolution, and the YouTube presets prep uploads.
  4. Click Convert.

Every file re-encodes through VideoToolbox, the hardware encoder on your Apple silicon Mac, so a whole archive converts fast and cool with sensible defaults — no codec flags, no per-file ffprobe detective work. Folders convert in one pass with subfolder structure mirrored if you want it, and everything happens on-device: nothing uploads, no file-size caps, works with Wi-Fi off — which matters when the “files” are your kids’ first steps.

The pricing matches the job: free for 7 days, then one-time $19.99, yours forever, no subscription — less than converter-site subscriptions charge every couple of months.

The honest trade-off: for one file, once, ffmpeg is free if you don’t mind Homebrew and a copied command. Zumkor earns its keep when there are forty files, when you’d rather not learn codec forensics, and when the same cleanup afternoon also surfaces WebM downloads, old MOV clips, and a video too big to email — one app, every direction.

Getting the conversion right

  • Codec: H.264 unless you know better. H.264+AAC in MP4 plays everywhere. HEVC is ~30–40% smaller at the same quality — a real win when archiving hours of footage to Apple-only devices — but H.264 is the safe answer for anything you’ll share.
  • Quality: high, not maximum. A 2006 DivX file was compressed hard the day it was made; re-encoding can’t add detail back. High-quality settings (CRF 18–23 territory, or Zumkor’s defaults) preserve everything that’s actually there. Maxing the dial just inflates the file.
  • Don’t upscale. Old AVI files are often 640×480 or 720×576. Converting them “at 1080p” makes a fatter file of the same soft picture. Keep the source resolution and let the player scale it.
  • Expect real time on real archives. DivX, Xvid, MJPEG, and DV all require full re-encodes — an hour of footage takes minutes even with hardware encoding. Queue the folder and get coffee; that’s physics, not a stuck progress bar.
  • Keep the originals until you’ve spot-checked. Converting for archival? Play a few outputs end-to-end — including one with dialogue, to confirm audio sync — before anything gets deleted.

Rescuing the whole old-format shelf

AVI rarely travels alone. The same drive usually holds .wmv (Windows Media), .flv (Flash video), .mpg, and early .mov files — the full fossil record of 2000s video, all hitting the same wall on a modern Mac and all with the same exit: convert to MP4. Zumkor reads the WMV, FLV, and MOV ones (.mpg MPEG-2 files are the exception — those still need ffmpeg), plus modern arrivals like WebM and AV1, and writes MP4/MOV/M4V/MKV in the same drag-and-drop pass — see the full list of formats it reads and writes. One batch run turns an archaeological dig into a folder of files that just play.

And if some of those old clips are really audio — a recital, an interview, a gig someone filmed — you can skip video entirely and extract the sound straight to MP3 or M4A in the same app, one output-format choice away.

Bottom line

  • Just want to watch: IINA or VLC, free, no conversion.
  • One file, comfortable in Terminal: brew install ffmpeg, check the codec with ffprobe, then re-encode with ffmpeg -i input.avi -c:v libx264 -crf 20 -c:a aac output.mp4 (or -c:v copy if it’s already H.264).
  • A folder of family videos, no flags: Zumkor — drag the folder, pick MP4, everything converts offline in one pass with Apple-silicon hardware encoding, for a one-time $19.99.

Whichever route you take, take it soon if the files matter. AVI support isn’t coming back — every macOS release moves further from it — and the files sitting on that aging external drive aren’t getting safer. Convert once, and they’re ordinary videos again.

FAQ

Why won’t an AVI file play in QuickTime on my Mac?

Most AVI files contain DivX, Xvid, or other 2000s-era codecs that Apple’s media framework never supported. QuickTime opens only a small subset of legacy AVIs (some Motion JPEG camera clips), which is why one file may play while another won’t. Converting to MP4 with H.264 fixes all of them permanently.

Can I convert AVI to MP4 without losing quality?

Only if the AVI already contains H.264 video, in which case the stream can be copied into an MP4 container losslessly and near-instantly. Most older AVIs hold DivX/Xvid or MJPEG, which must be re-encoded — technically lossy, but at high quality settings the output is visually indistinguishable from the source.

How do I batch convert a folder of AVI files to MP4 on a Mac?

Either write an ffmpeg shell loop in Terminal, or drag the whole folder into Zumkor, pick MP4, and click Convert — every file is processed on-device with hardware encoding, no uploads and no file-size caps. Both routes work offline; the difference is flags versus a drag.