Skip to content
Fileora
Video
Last updated: November 18, 2026
7 min read

AVI to MP4: How to Convert Legacy AVI Videos for Modern Devices

Learn why 1992 Microsoft AVI videos fail to play on iPhones, Macs, and web browsers, and how converting AVI to H.264 MP4 substantially reduces file size.

Why Microsoft's 1992 AVI Container Hit Its Limits

Microsoft introduced Audio Video Interleaved (.avi) in November 1992 as part of the Video for Windows extension for Windows 3.1. Built as a sub-format of the Resource Interchange File Format (RIFF), AVI was a major milestone in early multimedia, allowing computers to interleave chunks of video frames and PCM audio so CD-ROM drives could read both streams without thrashing the laser head.

More than three decades later, you still encounter `.avi` files in three common places: (1) family camcorder MiniDV tapes and early 2000s digital camera archives, (2) 2000s-era movies encoded with DivX or Xvid, and (3) modern automotive dashcams, security DVRs, borescopes, and wildlife trail cameras that use Motion JPEG (MJPEG) AVI because the encoder chip costs only pennies.

However, the 1992 AVI container lacks critical features required by modern video players and web browsers. Original AVI headers lacked standardized pixel aspect ratio flags, struggled with Variable Frame Rate (VFR) and B-frame timestamps (requiring ugly 'packed bitstream' hacks), capped files at 2 GB before the OpenDML extension, and are completely unsupported by the HTML5 `<video>` specification, iOS, and modern macOS QuickTime.

AVI vs. MP4: Technical and Storage Comparison

When you transcode a legacy AVI file—whether it contains raw uncompressed frames, Motion JPEG (MJPEG), Microsoft Video 1, or MPEG-4 Part 2 (DivX/Xvid)—into a modern MP4 container with H.264 video and AAC audio, you upgrade both the outer container and the internal compression efficiency.

PropertyLegacy AVI (.avi)Modern MP4 (.mp4)Benefit of Converting to MP4
Container SpecificationMicrosoft RIFF / OpenDML (1992)ISO/IEC 14496-14 (MPEG-4 Part 14)Standardized timecodes, chapters, and fast seeking
Typical Video CodecsMJPEG, DivX, Xvid, DV, UncompressedH.264 (AVC), H.265 (HEVC), AV1Substantially smaller file size at equal visual clarity
HTML5 Web Browser PlaybackNot supported in <video> tagsSupported natively across all modern browsersInstant inline playback in Chrome, Safari, Edge, Firefox
Apple iOS / macOS SupportRequires third-party app (VLC)Native in Photos, Files, QuickTime, iMovieDirect AirDrop, iCloud Photos, and iMessage sharing
Dashcam 5-Minute 1080p Clip~650 MB (MJPEG in AVI)~95 MB (H.264 CRF 23 in MP4)Easy to email or submit to insurance portals

Why Dashcam and MiniDV AVI Files Shrink Dramatically in MP4

If you pull the microSD card from a car dashcam or action camera and find a folder full of 500 MB `.avi` clips that are only 3 minutes long each, the camera is almost certainly recording Motion JPEG (MJPEG) with uncompressed PCM audio. In an MJPEG stream, a 30 FPS camera simply saves 30 separate JPEG still pictures every second. If your car is parked at a red light and 90% of the windshield view is completely stationary, MJPEG still writes the entire sky, dashboard, and road 30 times per second.

Similarly, MiniDV camcorder tapes transferred over FireWire save as DV-AVI at a fixed bitrate of 25 Mbps (~13 GB per hour of standard-definition video).

When Fileora converts those MJPEG or DV-AVI files to H.264 MP4, the H.264 encoder analyzes temporal redundancy across frames. Stationary background regions are encoded once and referenced via motion vectors, while the uncompressed PCM audio is compressed to clean 192 kbps AAC. A 650 MB dashcam AVI clip routinely drops under 100 MB with no visible loss in license-plate sharpness.

Step-by-Step: Converting AVI to MP4 in Your Browser

Whether you are submitting a dashcam clip to an insurance adjuster or rescuing old family videos from an external hard drive, you can convert AVI to MP4 directly on your computer or phone without uploading gigabytes of video over your internet connection:

  1. 1Open Fileora's AVI to MP4 converter (/convert/avi-to-mp4).
  2. 2Drag and drop your .avi video file (up to 2 GB) into the dropzone.
  3. 3Click Convert. Fileora loads the FFmpeg WebAssembly engine in a background Web Worker, decodes the AVI video and audio streams, and encodes a standard H.264 + AAC .mp4 file.
  4. 4Download your finished .mp4 file. If you only need a short 15-second segment of a long dashcam recording, you can also open the Trim Video tool (/tools/trim-video) to cut the exact clip.

Recommended In-Browser Tools & Specifications

Run the conversions and techniques described in this guide locally in your browser:

Frequently Asked Questions

Apple dropped native AVI support from macOS QuickTime and iOS years ago because AVI is a 1992 Microsoft RIFF container that typically houses legacy codecs like DivX, Xvid, MJPEG, or uncompressed video. Converting AVI to H.264 MP4 makes the video play natively across all Apple, Android, and Windows devices.