I try to open an AVI file.

  1. The first software I tried is VLC media player. It reports some error about AVI index:

    This AVI file is broken. Seeking will not work correctly. Do you want to try to fix it? This might take a long time.

    I chose yes, and it began fixing AVI index and existed when the repair progress bar reaches 20% or so. Then the video started playing and stopped much earlier than when it is supposed to finish.

  2. Next I tried to open it in Totem Movie Player, which also stopped earlier at the same place as in VLC player.
  3. I tried to play it in GMplayer. Now the entire AVI file can be played from start to finish, but it is impossible to drag playing progress bar while it was possible in VLC player and Totem player.
  4. I heard that Avidemux can fix AVI index error, but later discovered it even failed to open the AVI file before it could try to fix the error.

So I was wondering how I can fix the AVI index error, or at least drag the playing progress bar in GMplayer?

Thanks and regards!


I was able to restore a broken avi index using this

$ mencoder -forceidx input.avi -o output.avi -oac copy -ovc copy

Source: http://compbrain.net/archives/18

However, the file was playable in VLC before. After repairing the index, VLC's warning just disappeared.

  • This is great solution, but in some cases it will only fix several minutes (seconds). To fix the whole file, you need a better solution. – installero Jun 6 '14 at 12:16

It sounds like you've got a corrupt video file. If this is the case, then there will be no solution other than to get a video file that isn't broken.

Have you had any success playing it anywhere?

  • I can play it in its full length in GMplayer, except that I cannot drag the playing progress bar. I was also wondering what other nice media player software is? – Tim Mar 14 '11 at 0:27
  • @Tim check the audio & video section of the software center. – Reuben Swartz Mar 14 '11 at 0:37
  • @Reuben: Thanks! But it is kind of pointless to try one application after another, especially given that I have tried three and two failed to play full and one failed to allow me to change playing progress. – Tim Mar 14 '11 at 0:53
  • Like I said, it's probably a corrupt file. That means that it's not a problem with the player. It's a problem with your file (i.e. a problem with whatever program produced it). – J. Taylor Mar 14 '11 at 5:35
  • Yes, I agree with you on that. My question has been how to repair the index problem of the avi file. I tried several programs to open it and even still look for one, because I hope that some program will be able to play it well despite the problem, or even has the repair functionality. – Tim Mar 14 '11 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.