AVI identifies a container, not one codec
AVI is a container used for many older recordings and camera clips. Its video might be MJPEG, DivX, Xvid or another codec, and the audio can vary too. That variety is why an AVI extension alone cannot establish compatibility. This page reads a narrow subset: standard MJPEG video, optionally paired with uncompressed 16-bit PCM sound. Check the codec information in your source player before expecting a clip from an old camera or archive to work here.
How supported frames become a playback copy
The AVI reader extracts the MJPEG frames, decodes their JPEG images and encodes them as H.264 video. Optional PCM audio is decoded and encoded as AAC. The result is a newly written MP4, not a renamed AVI. This route always re-encodes the supported footage and is not lossless. Video encoding targets 8 Mbps, while audio targets 192 kbps. Keep the original if you may need to make another version or compare fine detail later.
Why audio and timing restrictions matter
Accepted audio has one or two channels, a sample rate from 8 to 96 kHz and 16-bit PCM samples. The reader rejects extra streams, delayed stream starts, missing frames and incomplete PCM data. It also rejects multi-part OpenDML files. These restrictions avoid accepting layouts that this conversion path cannot handle correctly. A clip that plays in a desktop player can still fail these checks, so successful local playback is not a promise that this page supports its structure.
Prepare a short clip and review the result
Use a source no longer than 60 seconds and no larger than 128 MB, with dimensions within the stated resolution limit. The AVI reader also requires a valid frame rate no higher than 120 fps. Odd frame dimensions can receive one pixel of padding for H.264 encoding. After conversion, listen near the beginning and end and check motion in the preview. For DivX, Xvid or unsupported audio, use a desktop converter to produce H.264/AAC MP4 directly.