5

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

LanceBaynes
  • 4,190

3 Answers3

1

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

Šimon Tóth
  • 1,454
1

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.

slhck
  • 235,242
bot47
  • 1,922
-1

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.

Brendan
  • 232