AVI to MP4 Converter

🎬

Upload Video

Drag & drop or click to select a video file

  1. Upload an AVI file.
  2. Optionally trim the time range.
  3. Click Convert and wait for completion.
  4. Download the MP4 file.

AVI is outdated - why convert it?

AVI is a 1990s container with poor compression, huge files, and few features. MP4/H.264 is the modern replacement: better quality at smaller sizes.

AVIOld devices, legacy footage

Legacy format, little or no modern compression, very large.

MP4 (H.264)All modern playback and sharing

Modern standard, small and widely compatible.

Tip

New projects rarely need to produce AVI anymore.

Help

FAQ

Why is AVI conversion slow?Show
AVI files usually cannot be stream-copied into MP4 - the video must be decoded and re-encoded to H.264. This tool tries the fast copy path first and falls back to transcoding automatically, but for AVI the fallback is the rule, not the exception.
Will the MP4 be smaller than the AVI?Show
Almost always, yes - often 2-5x smaller. AVI footage is typically encoded with MPEG-4 ASP (DivX/XviD) at 2005-era efficiency. Re-encoding to H.264 at default quality usually cuts the file to a fraction of the original size.
Does converting AVI to MP4 lose quality?Show
Re-encoding always involves some quality loss, but with H.264 at a reasonable quality setting it is visually negligible for old footage - AVI sources are usually already low-resolution (480p) and heavily compressed.
What codecs do AVI files typically contain?Show
DivX and XviD (both MPEG-4 Part 2/ASP) dominate, with mp3 or AC3 audio. This tool handles them and converts audio to AAC.
Is my file uploaded?Show
No. The conversion runs locally by default.

How to convert AVI to MP4

  1. Upload an AVI file.
  2. Optionally trim the time range.
  3. Click Convert and wait for completion.
  4. Download the MP4 file.

Privacy

Full guide

AVI to MP4 Converter

Convert legacy AVI videos to modern MP4 format for better device compatibility. Unlike MKV-to-MP4 conversions (which often succeed as a fast lossless remux), AVI almost always requires a real re-encode - this page explains why, and what to expect in terms of speed, size, and quality.

Why AVI files are so large: a 1992 container in a 2026 world

AVI (Audio Video Interleave) was introduced by Microsoft in 1992 as part of the Video for Windows API. Its design assumptions are frozen in that era:

  • No modern codec support. AVI predates H.264 by 15 years and B-frame interleaving by over a decade. It can technically hold MPEG-4 ASP video (DivX/XviD), but the hacks required made the format brittle.
  • Weak compression. The dominant AVI codecs - DivX, XviD, and older Indeo/Cinepak - encode at a fraction of H.264's efficiency. A 700 MB AVI "CD rip" from 2006 carries less video information than a 200 MB H.264 file today.
  • No streaming, no chapters, no subtitles. The index sits at the end of the file, so playback cannot start until the whole file is available.

This is why AVI survived mainly as the output of 2000s-era DVD rippers, early digital cameras, and screen recorders - and why every modern player, phone, and editor treats it as a legacy import format at best.

Why AVI → MP4 means transcoding (usually)

A container swap (remux) copies the compressed video stream into a new wrapper without re-encoding - fast and lossless. It only works when the codec inside is natively at home in the target container.

For AVI this usually fails in practice:

  1. The codec itself is the problem. DivX/XviD are MPEG-4 Part 2 (ASP). MP4 can technically wrap ASP video, but virtually no hardware decoder or browser will play it - you would produce a file that is "MP4" in name only.
  2. AVI's timestamp model doesn't translate. AVI uses fixed frame durations while MP4 uses per-sample timestamps; B-frames in AVI require packed bitstream hacks that break stream-copy.

So this tool tries the fast copy path first (it sometimes succeeds for simple cases), detects failure, and falls back to a genuine H.264 transcode. That fallback is the expected path for AVI - which is why conversion here is slower than MKV or MOV conversions, and why the result is actually useful: an H.264/AAC MP4 that plays everywhere.

What the pipeline does when transcoding:

  • Video: re-encode to H.264 (libx264), yuv420p pixel format for maximum compatibility
  • Audio: re-encode to AAC at 128 kbps (from the typical mp3/AC3 sources)
  • Container: MP4 with +faststart, so web playback can start before the download finishes

What to expect: speed, size, and quality

AspectExpectation
SpeedReal-time transcoding in the browser (wasm FFmpeg); a 1-hour AVI can take a while - trim to the segment you need first
SizeUsually 2-5x smaller than the source; old MPEG-4 ASP is that much less efficient than H.264
QualityVisually near-identical at default CRF; sources are typically already 480p-era compressed footage
CompatibilityOutput plays on every browser, phone, TV, and editor

Two practical notes:

  • Trim before converting. Since transcoding processes every frame of the selected range, cutting to the 30 seconds you actually need is the single biggest speedup available.
  • Browser memory limit. In-browser conversion runs in a ~2 GB WebAssembly address space. Files approaching that size will fail; use the desktop build or trim the input for very large AVIs.

Typical sources of AVI files

  • DVD rips from the 2000s (DivX/XviD era) - the most common case
  • Early digital cameras and camcorders (Motion JPEG AVI, which is enormous because every frame is a JPEG)
  • Old screen recordings and game captures
  • Legacy software exports that still default to AVI

Motion JPEG footage deserves a special mention: an hour of it can exceed 10 GB because MJPEG barely compresses temporally. Converting to H.264 typically shrinks it by 10-20x with no visible loss - one of the most dramatic size wins of any conversion this tool offers.

Tips

  • AVI files usually require transcoding (slower than remux)
  • Old codecs like DivX/XviD are supported
  • Consider trimming large files before conversion
  • If the file is close to 2 GB, expect browser conversion to fail - trim first or use the desktop app