Wednesday, April 23, 2008

Reindexing AVI files

Today I had a video file that was giving VLC some errors and causing the program to hang up at a certain point in the stream. What I usually do in this situation is use AVIDemux to fix it using it's Rebuild Frames option, but this certain file was also causing AVIDemux to crash when loading the file. After a bit of searching, I found a way to reindex the avi file through mencoder, which seems to handle things the other toys can't.
mencoder -idx input.avi -ovc copy -oac copy -o output.avi
I'm posting this so I'll know where to find it in future endeavors, more than anything else.

No comments:

Post a Comment