AVI to MP4: Make Old Videos Play With Sound on Any Device

By FileConvertLab

Published: | Updated:

How to convert AVI to MP4: Xvid or DivX video with MP3, AC3 or DTS audio re-encoded to H.264 and AAC so it plays with sound on any device
An AVI card with Xvid or DivX video and MP3, AC3 or DTS audio is re-encoded into an MP4 card with H.264 video and AAC audio, above chips for online, Mac, VLC and the no-sound fix

An AVI file that won't play — or plays with no sound — almost always has an old codec inside: Xvid or DivX video, AC3 audio, or something even older that phones, Macs and TVs don't decode. To convert AVI to MP4, re-encode it to H.264 video with AAC audio; that pair plays on every current device. The fastest way is the AVI to MP4 converter: upload the .avi, download the .mp4.

Below: the online steps, how to do it on a Mac and in VLC, how to fix an MP4 that comes out silent, and what the conversion does to quality and file size — measured, not guessed.

How to Convert AVI to MP4 in Four Steps

  1. Open the AVI to MP4 converter in any browser on Windows, Mac, Linux or a phone
  2. Add your .avi files — drag and drop or click to browse. Up to 20 files can go in at once; they convert in a queue
  3. Let each file finish — Xvid and DivX video is re-encoded to H.264 on our servers, over an encrypted (HTTPS) connection; MP3 and AC-3 audio is copied as it is, other audio becomes AAC
  4. Download the MP4s one by one, or grab them together with Download all as ZIP

The MP4 keeps the original resolution and frame rate: a 640×480 camcorder clip stays 640×480. MP3 and AC-3 audio is copied into the MP4 unchanged; PCM and other audio is converted to AAC.

Size limits: 100 MB per file without an account. It's free without sign-up, with a daily limit on operations; without an account that covers about five videos a day. For how uploads are handled, see the privacy policy.

Why AVI Files Won't Play on Your Phone, Mac or TV

AVI (Audio Video Interleave) is a container Microsoft introduced in 1992. The container is rarely the real problem — what's inside is. Most AVIs you'll find today came from 2000s camcorders, DivX and Xvid downloads, or old screen recorders like Fraps, and they carry codecs that modern devices dropped long ago.

Where you're playing itWhat usually happensWhy
iPhone / iPad (Photos, Files)Won't openiOS doesn't support AVI or Xvid/DivX
Mac (QuickTime, iMovie, Photos)Won't open, or "not compatible"QuickTime has no Xvid/DivX decoder
Android gallery appsHit and missDepends on the manufacturer's player
Windows 10 / 11Usually playsWindows includes Xvid/DivX decoding
Smart TV from USBVideo plays, sometimes silentMany TVs no longer decode DTS or some AC3 tracks
Chrome, Safari, Firefox, EdgeWon't playNo browser supports AVI
Very old AVIs (Indeo, Cinepak)Fails almost everywhereCodecs from the 1990s nobody ships any more

Converting to MP4 fixes both layers at once: H.264 replaces the old video codec, AAC replaces the old audio, and the MP4 container is accepted by every app on the list.

How to Convert AVI to MP4 on Mac

QuickTime and iMovie can't open Xvid or DivX AVIs, so they can't export them either. Three ways that work:

1. Online, from Safari. Use the AVI to MP4 converter as above. Nothing to install, and it's the least effort for a handful of files.

2. HandBrake (free). Open the .avi, pick the Fast 1080p30 preset (it never upscales a smaller source), check that Format is MP4 and the Audio tab shows AAC, then click Start. HandBrake is the better choice for a big folder or files over the online size limit, because everything happens on your Mac. It also lets you pick which audio track to keep.

3. VLC. Covered in the next section; the steps are the same on Mac and Windows.

Once converted, the MP4 drops straight into Photos, iMovie or Final Cut Pro, and AirDrops to an iPhone.

How to Convert AVI to MP4 with VLC

VLC is free, plays nearly every AVI, and has a built-in converter:

  1. Media → Convert / Save (on Mac: File → Convert / Stream)
  2. Add your .avi files, then click Convert / Save
  3. Profile: choose Video – H.264 + MP3 (MP4)
  4. Destination: pick a folder and a name ending in .mp4
  5. Start, and wait — the progress bar is the playback position bar

VLC's converter works, but it's the most temperamental of the three. If the result has no sound or won't open, see the fix below, or switch to HandBrake. There's a fuller comparison of the free tools in VLC, FFmpeg and HandBrake compared.

AVI to MP4 With No Sound: How to Fix It

A silent MP4 — or a silent AVI to begin with — has one of four causes:

  • The device can't decode the audio. Many AVIs from DVD rips carry AC3 (Dolby Digital) or DTS audio. The picture plays, the sound doesn't. Re-encoding the audio to AAC fixes it. The online converter turns DTS, PCM and other audio into AAC but copies AC-3 as it is, so if your device can't play AC-3, convert the audio to AAC in HandBrake
  • VLC's profile dropped the audio. Click the wrench icon next to the profile, open Audio codec, make sure Audio is ticked, choose MPEG 4 Audio (AAC), set the sample rate to 44100 or 48000 Hz, save and convert again
  • The file has several audio tracks. Rips with two languages sometimes have a silent or commentary track that the player starts with. The online converter keeps every audio track, so switch tracks in the player, or keep only the one you need in HandBrake's Audio tab
  • Audio drifts out of sync. Older AVIs with variable-bitrate MP3 audio are known for drifting on long recordings. A full re-encode to MP4, which timestamps every audio packet, usually cures it. If it doesn't, the drift is baked into the file and needs an editor to fix

If the AVI itself plays silently even in VLC, there's no audio data to recover, and no converter can add it.

Will Converting AVI to MP4 Reduce Quality?

Re-encoding always loses a sliver of detail, but at a normal quality setting you won't see it. Here's what we measured.

Setup: a 1280×534 AVI with Xvid-style MPEG-4 video, run through our AVI to MP4 converter and through a plain stream copy.

FileSize
AVI source4.46 MB
MP4, re-encoded by the converter (H.264)3.07 MB
MP4, streams copied without re-encoding4.44 MB

The re-encoded MP4 was about 31% smaller and scored an SSIM of 0.991 against the AVI it came from — a similarity score where 1.0 means identical. The size drop comes from the codec: H.264 is far more efficient than Xvid. The container itself makes almost no difference, which is why the stream-copy version is practically the same size as the AVI.

That stream-copy row looks tempting — no loss, done in a blink. The catch: it's still Xvid video, just in an MP4 wrapper, so it fails on exactly the iPhones and Macs you were trying to reach. For old AVIs, the full re-encode is what actually fixes playback.

One clip isn't your camcorder footage, so treat the percentage as an example, not a promise. Grainy, detailed video shrinks less; the quality result holds.

AVI vs MP4: What Actually Differs

Both are containers. Quality depends on the codec and bitrate inside, not the box. The differences you'll notice:

AVIMP4
Introduced1992, MicrosoftEarly 2000s, MPEG-4 standard
Typical video codecXvid, DivX, older codecsH.264, H.265
Typical audio codecMP3, AC3, PCMAAC
Device supportWindows; limited on phones, Macs, TVsEvery current device and browser
StreamingNot built for it — the index sits at the end of the fileCan start playing while downloading
Subtitles and chaptersNot really — external .srt filesSubtitle tracks and chapters supported
Browser playbackNoneAll modern browsers

Converting MP4 Back to AVI

Some old gear — DivX-certified DVD players, early car head units, kiosk players, legacy editing software — only accepts AVI. That's a different job with its own codec choices, covered in MP4 to AVI: when and why you'd convert back. The tool for it is the MP4 to AVI converter.

Other Old Video Files: WMV, MKV and MOV

Clearing out a folder of old videos usually turns up more than AVI:

  • WMV — Windows Media Video from Windows Movie Maker. Like Xvid AVI, it won't play on Macs or phones, and it can't be remuxed into MP4 at all; use the WMV to MP4 converter
  • MKV — a modern container that phones and many TVs refuse. See how to convert MKV to MP4
  • MOV — QuickTime files from iPhones and Macs; convert MOV to MP4 for Windows and Android

If you're unsure what's actually inside a file, video formats explained walks through containers and codecs format by format.

Summary

AVI files fail on modern devices because of the old codecs inside, not because they're damaged. Re-encoding the video to H.264 fixes the picture and compatibility, and usually makes the file much smaller. Use the AVI to MP4 converter for a few files (it copies MP3 and AC-3 audio as it is), HandBrake for large batches or when a TV needs AC-3 turned into AAC.

Related Tools

Frequently Asked Questions

How do I convert an AVI file to MP4?

Upload the .avi to an online AVI to MP4 converter and download the result: Xvid and DivX video becomes H.264, MP3 and AC-3 audio is copied, and other audio becomes AAC. For large batches or files over the upload limit, HandBrake or VLC do the same job on your own computer.

How do I convert AVI to MP4 on a Mac?

QuickTime and iMovie can't open Xvid or DivX AVIs, so use an online converter from Safari, or install HandBrake, open the file, choose the Fast 1080p30 preset with MP4 format and click Start. VLC for Mac also converts, using File, then Convert / Stream.

Why won't my AVI file play on my iPhone or TV?

The AVI container is rarely the problem; the codecs inside are. iPhones and Macs don't decode Xvid or DivX video, and many TVs play the picture but not AC3 or DTS audio. Converting to MP4 with H.264 video and AAC audio fixes both.

Why does my converted MP4 have no sound?

If you used VLC, its profile may have audio switched off or set to an unsupported codec: edit the profile, enable audio, choose AAC and a 44100 or 48000 Hz sample rate. If the file has several audio tracks, the player may be starting with a silent one: the online converter keeps them all, so switch tracks in the player or keep the right one in HandBrake. If the sound is AC-3, which the online converter copies as it is, and your device can't play it, convert the audio to AAC in HandBrake.

Does converting AVI to MP4 reduce quality?

A re-encode always loses a little detail, but not visibly at a normal quality setting. In our test, the MP4 scored an SSIM of 0.991 against the source AVI, where 1.0 means identical, and was about 31% smaller.

Can I convert AVI to MP4 without re-encoding?

Often yes, by copying the streams into an MP4 container, which takes a fraction of a second. But the video is still Xvid or DivX, so it won't play on iPhones, Macs and many TVs. For compatibility, a full re-encode to H.264 is what fixes playback.

Can I convert AVI to MP4 with VLC?

Yes. Open Media, then Convert / Save, add the files, choose the Video H.264 + MP3 (MP4) profile, set a destination file ending in .mp4 and start. If the result is silent, edit the profile's audio codec to AAC.

Is the original AVI kept after conversion?

Yes. Conversion creates a new MP4 and never changes your AVI. Keep the original until you've played the MP4 on the devices you care about, then delete the AVI if you need the space.