Linux Command Line AVI Repair

Recently I had an avi file with a broken index that needed to be repaired. After a quick search and read of some man pages I discovered these handy flags for mencoder to get the job done! mencoder -idx homemovie.avi -ovc copy -oac copy -o homemovie-repaired.avi bamo!