Video · AVI to MP4

AVI to MP4, for playback anywhere.

Old AVI files usually hold Xvid or DivX video, a format phones and browsers no longer play. This converts them to H.264 MP4 on your device, or copies them untouched if you ask. Not uploaded.

How to convert AVI to MP4

  1. Choose the AVI file (a digitised tape, an old camera clip, a downloaded video from the 2000s).
  2. Check the table. Xvid or DivX video appears as MPEG-4 and is marked Re-encoded to H.264; MP3 audio is marked Copied.
  3. Pick Balanced or Faster, press Convert to MP4, and download.

Why AVI needs more than a rewrap

AVI is a 1992 container, and what is inside it is usually MPEG-4 Part 2 (Xvid, DivX) video with MP3 audio. MP4 can technically store MPEG-4 Part 2, so a straight copy is possible, but almost nothing that plays MP4 will decode it: browsers, iPhones and most smart TVs want H.264. That is why Auto re-encodes this kind of video. If you only need the MP4 wrapper, for example to feed an editor that reads MPEG-4 Part 2, choose Remux only; the tool then copies both tracks unchanged and generates the missing timestamps AVI does not store reliably.

Quality, size and old-video quirks

Old AVI clips are typically 640x480 or smaller, so they re-encode quickly: in our own test runs this build encoded 640x360 at roughly 40 frames per second. Re-encoding old compressed video adds a second compression pass, so keep the original. Interlaced footage from analogue tape is not deinterlaced; it will look the same as it did. Non-square pixels are preserved as stored.

Worked example

A 45-minute 640x480 Xvid AVI of about 700 MB, with 128 kbps MP3 audio. Auto, Balanced: video Re-encoded to H.264, audio Copied. At roughly 640x480 and 25 fps that is 67,500 frames; at a conservative 30 frames per second the encode takes about 40 minutes on a laptop, so keep the tab open. The MP4 is typically smaller than the AVI because H.264 compresses better than Xvid. For a quick look, trim a short section first with the video trimmer to check the settings.

What can go wrong

Common mistakes

Your file never leaves your browser

The conversion is done by FFmpeg compiled to WebAssembly inside a sandboxed frame. The frame's content security policy refuses every network connection except local blob and data URLs, and no ads or analytics run inside it, so there is nowhere for your video to go. The AVI is read from disk, the MP4 is built in memory, and you save it with your browser's normal download. Family video from old tapes is exactly the kind of file that should not be uploaded to a conversion site.

Limits and what this does not do

Common mix-ups

  1. MDN: Media container formats (file types)

Checked against these sources on .

Frequently asked questions

Why does AVI to MP4 re-encode the video by default?

Xvid and DivX are MPEG-4 Part 2, which MP4 can hold but most phones, browsers and TVs cannot play. Re-encoding to H.264 makes the MP4 actually playable.

Can I convert AVI to MP4 without re-encoding?

Yes. Choose Remux only. The video and audio are copied unchanged into MP4. The result may not play on phones or in browsers, but works in some editors and media players.

Will the MP4 look worse than the AVI?

Slightly, because the video is compressed a second time. At the default quality the loss is usually hard to see on old standard-definition footage. Keep the original AVI.

How long will it take?

Standard-definition video encodes at roughly 30 to 40 frames per second in our tests, so a 45-minute clip takes on the order of 30 to 60 minutes. Larger frames are slower. Copying takes seconds.

My audio is out of sync. What now?

Try Always re-encode, which decodes and rewrites the audio and rebuilds timing. Remux only keeps the original timing, including any fault.

Does it handle DivX or Xvid specifically?

Yes. Both appear as MPEG-4 video in the track table and are handled the same way.

What if the converter says a decoder is missing?

The browser build supports common AVI codecs (MPEG-4, MJPEG, WMV, MP3, PCM) but not every rare one. The message names the problem; desktop software such as FFmpeg or HandBrake covers more.

Is my AVI uploaded?

No. It is processed on your device in a frame without network access.

Sources

Last checked

Runs entirely in your browser. Your file is read on your device and is never uploaded.

Advertisement
Advertisement