AVI vs MJPEG
A detailed comparison of AVI Video and Motion JPEG — file size, quality, compatibility, and which format to choose for your workflow.
AVI Video
Video FilesAVI is a legacy Microsoft multimedia container that stores audio and video data. While largely superseded by modern formats, it remains widely recognized and is produced by many older devices and screen recorders.
About AVI filesMotion JPEG
Video FilesMotion JPEG (MJPEG) is a video format where each frame is independently compressed as a JPEG image. This intraframe-only approach enables easy frame-accurate editing and is widely used in security cameras and digital camera video modes.
About MJPEG filesStrengths Comparison
AVI Strengths
- Simple, well-documented format — trivial for any video library to parse.
- Universal Windows playback since Video for Windows in 1992.
- Low encoding overhead — interleaved structure is fast to write.
- Works with any codec technically, including modern ones.
MJPEG Strengths
- Trivially simple — any JPEG decoder handles frames.
- Every frame is a keyframe — instant seek and edit.
- No inter-frame dependencies — recover from packet loss easily.
- Hardware cost is minimal — any JPEG decoder works.
- Lossless across edits — cutting and rejoining doesn't degrade quality.
Limitations
AVI Limitations
- Aging container — no native support for chapters, subtitles, or multi-audio selection.
- File-size limits (2 GB original, 4 GB with OpenDML) break for HD content.
- Variable-framerate video causes sync drift.
- Larger than equivalent MP4 or MKV due to container overhead.
- Poor support on iOS and Android.
MJPEG Limitations
- 3-5× larger than MPEG-2; 8-10× larger than H.264 at comparable quality.
- No audio — requires a separate track.
- No standard container — appears inside AVI, MOV, MKV, MJPEG-over-HTTP.
- Obsolete for mass-market delivery.
Technical Specifications
| Specification | AVI | MJPEG |
|---|---|---|
| MIME type | video/x-msvideo | video/x-motion-jpeg |
| Extension | .avi | .mjpeg, .mjpg |
| Container | RIFF | — |
| Max file size | 2 GB (original); 4 GB (OpenDML extension) | — |
| Codec support | Any codec via FourCC identifiers | — |
| Frame format | — | Sequential JPEG (Baseline, usually 4:2:0) |
| Typical containers | — | AVI, MOV, MP4 (rare), raw stream |
| Common in | — | IP security cameras, USB webcams, scientific imaging |
Typical File Sizes
AVI
- 10-min video (XviD / MP3) 100-200 MB
- 45-min TV episode (DivX) 350-700 MB
- 2-hour movie (DVD rip) 700 MB - 1.4 GB
MJPEG
- 1-min VGA webcam clip 40-80 MB
- 1-min 1080p IP camera stream 300-500 MB
- Canon DSLR 720p video (1 min) ~550 MB
Ready to convert?
Convert between AVI and MJPEG online, free, and without installing anything. Encrypted upload, automatic deletion after 60 minutes.
Frequently Asked Questions
AVI (Audio Video Interleave) is a multimedia container format introduced by Microsoft in 1992. It interleaves audio and video data streams and supports various codecs, though it lacks native support for modern features like subtitles and chapters.
AVI (Audio Video Interleave) is a multimedia container formato introduced by Microsoft in 1992. It interleaves audio e video data streams e suporta various codecs, though it lacks native support para moderno features like subtitles e chapters.
AVI files play in VLC (recommended, free), Windows Media Player, KMPlayer, and most video editing software. Some AVI files may require specific codec packs depending on the encoding used.
AVI arquivos reproduzir in VLC (recommended, grátis), Windows Media Player, KMPlayer, e most video editando software. Some AVI arquivos may require specific codec packs depending no codificação used.
MP4 is the better choice for almost all modern uses since it offers better compression, wider compatibility, and support for subtitles and chapters. AVI is mainly encountered with legacy video files and older camera recordings.
MP4 is the better choice para almost all moderno uses since it oferece better compressão, wider compatibilidade, e support para subtitles e chapters. AVI is mainly encountered com legacy video arquivos e older camera recordings.