Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know how to repair "broken" AVI files in VLC: How can I repair a broken AVI file?

But how can I detect that an AVI file is broken if I have thousands of AVI files, and I don't want to open them 1 by 1? I'm using Ubuntu, so are there any CLI methods to find them?

Thanks!

enter image description here

share|improve this question
up vote 1 down vote accepted

DivFix++ does something similar that could solve your problem.

DivFix++ -w *

This just "fixes" the file regardless of their sanity and overwrites the originals with the fixed ones.

share|improve this answer

This might be exactly what you are looking for: http://606u.dir.bg/avicheck/

share|improve this answer
    
I didn't downvote, but one link answers are discouraged here. Why not write about how to use that tool? – slhck Jun 7 '11 at 15:25
    
@slhck It's not a tool, it is a tutorial, describing how to detect avi corruption using ffmpeg. – Let_Me_Be Jun 7 '11 at 15:30

Typically when I was using Windows this error was present it was due to the file not being complete. I would assume the message with Ubuntu as well. I am currently using Ubuntu, but I do not have any .avi's to test with at the moment. I would check file sizes to make sure that it is the full .avi.

If you click "don't repair", it still should load and play but it'll most likely be incomplete.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .