Archive for May, 2009

How to embed .idx subtitles into an mp4 or avi file with mencoder

I usually watch movies with subtitles on my cellphone but before that I have to transcode the avi to an mp4 with the subtitles “burnt” on the movie, not as a separate file. Recently I came across a movie with subtitles in two files, one .idx and one .sub instead of the common .srt file. [...]

More »

How to fix audio synchronization of an AVI on Linux

I just downloaded an AVI file with audio out of sync. Everything sounded one second before it should during the whole movie so it was really annoying. Fixing this with mencoder is easy and fast.

mencoder video.avi -oac copy -ovc copy -delay -1 -o video-fixed.avi

That will delay sound for one second. Notice that “-1″ [...]

More »