View Full Version : [ubuntu] How to make the vlc index fix permanent?

December 7th, 2009, 06:45 AM
I have a few .avi files which have a small problem with sound/video synchronization. I use vlc to watch the avi's. vlc is nice enough to fix that issue, but the fix is temporary.

Is it possible to make it permanent? And how?

December 9th, 2009, 05:47 PM
Any idea guys?

December 9th, 2009, 06:07 PM
are the files writeable?
chmod 777 them

December 9th, 2009, 06:09 PM
VLC allows you to stream it's output to your hard drive. You could try setting up VLC to sync up your movie's sound/video, and have it write the result to another file:


If you're adventurous, you could write a script (or search for one) that does all your broken movies automatically. Though for just a few files you might find it just as easy to do them one-by-one.

January 17th, 2011, 09:25 PM
Taken from http://ubuntu.sun.ac.za/wiki/index.php/Mencoder

mencoder -idx input.avi -ovc copy -oac copy -o output.avi

November 10th, 2011, 08:07 PM
This does not work on mkv files, how do I repair indexing for those?

November 10th, 2011, 11:51 PM
Closed, please start a new thread for your question.