Home / Repair guides / AVI file repair

AVI file repair: broken or missing AVI index

An AVI that won’t open, can’t be seeked or makes VLC ask about a broken index has usually lost its index: the list that tells players where every frame is. VLC can work around that for one playback. A repair writes a new, complete file. FrameRescue repairs Motion JPEG AVI files, the kind recorded by many older compact cameras and budget dashcams, and Xvid and DivX AVI files.

FrameRescue repair guide · Updated November 14, 2026

What “broken or missing AVI index” means

Inside an AVI file, the video frames and audio sit one after another in a block called movi. After it comes an optional index, idx1, which, in Microsoft’s words, “contains a list of the data chunks and their location in the file”. AVI files over 1 GB use the AVI 2.0 (OpenDML) extension, with its own index segments.

The index and the final sizes in the header are written when the camera closes the file. If the recording stops abruptly (battery dead, card removed, camera crashed), the frames are on the card but the index is missing or incomplete. Players then refuse the file, show no duration or can’t seek.

What VLC’s “Build index then play” does

When VLC finds a damaged index it asks “Broken or missing Index” and offers three buttons: Do not play, Build index then play and Play as is. The message is clear about the limit: “VLC won’t repair your file but can temporary fix this problem by building an index in memory.”

That is enough to watch the clip once. To keep it, edit it or share it, the file itself needs a new index.

Which AVI files FrameRescue can repair

AVI is a container: Microsoft lists DivX, Cinepak, Indeo, DV, Motion JPEG and uncompressed video among the codecs commonly found inside it. FrameRescue repairs Motion JPEG AVI files, and Xvid and DivX AVI files (MPEG-4 Part 2 video, which also includes FMP4 and 3ivx).

AVI fileRepair
Motion JPEG, index missing or broken, header sizes left at zero, or file cut shortYes: a new AVI with every frame copied unchanged and a new index, downloaded as name-repaired.avi
Motion JPEG over 1 GBYes, written back with AVI 2.0 indexes
Xvid or DivX (MPEG-4 Part 2, also FMP4 and 3ivx), index missing or broken, header sizes left at zero, or file cut shortYes: a new AVI with the video and audio copied unchanged and a new index, downloaded as name-repaired.avi
Xvid or DivX over 1 GB (AVI 2.0)Not at the moment: the repair stops and there is nothing to pay
DivX 3 (shown as MS MPEG-4 Video v3), H.264, DV or other codecs inside AVINot at the moment: the repair stops and there is nothing to pay
File made of zeros or of another file’s data, often after a failed recoveryNo: there is no video left to rebuild

Typical Motion JPEG AVI recorders are older compact cameras (for example Nikon COOLPIX L31, Canon PowerShot A800, Casio EX-Z65 and Ricoh PX, according to their manuals) and some budget dashcams.

How the repaired file is checked

The repaired AVI is decoded from the first frame to the last before it is offered.

When the check passes, you see a preview first and pay €5.00 only to download it.

Before you start

Questions about AVI repair

Does VLC repair AVI files?

No. VLC’s own message says it “won’t repair your file”: it builds the index in memory for that playback only. The file on disk stays the same, so Windows, phones, TVs and editors still see it as broken.

How do I know which codec my AVI uses?

Play it in VLC, open Tools › Codec Information and read the video codec. Motion JPEG shows as Motion JPEG Video; Xvid and DivX show as Xvid MPEG-4 Video, DivX MPEG-4 Video or MPEG-4 Video. Old DivX 3 files show as MS MPEG-4 Video v3 and are not covered yet.

Can FrameRescue repair DivX or Xvid AVI files?

Yes. Xvid and DivX AVI files whose index is missing or that were cut short get a new index, with the video and audio copied unchanged. Files over 1 GB and old DivX 3 files are not covered yet: the repair stops and you are not asked to pay.

What about AVI files larger than 1 GB?

Large AVI files use the AVI 2.0 (OpenDML) index format. Motion JPEG files of that size are written back with AVI 2.0 indexes, so players can still seek through them. Xvid and DivX files over 1 GB are not covered yet.

Related repair guides

Repair your AVI

Upload the original damaged file. A healthy clip from the same device is optional. FrameRescue checks the result before offering it, and you pay €5.00 only if a repaired file is ready.

Upload the damaged AVI