mplayer avi permanent index
Hello.
I have a little problem with some avi files. I cannot open these files normally, since mplayer claims there's no video stream. I have to play it with the -forceidx option, or by saving and then loading a idx file. That's fine, but I'd like to be able to get a new avi with a built-in index, a permanent one. In the man page I've read that this can be done using mencoder, but I cannot understand how. Could you please help me working it out? Thanks. |
A simple example of how to encode files using mencoder:
$ mencoder <infile> -ovc lavc -oac copy -forceidx -o <outfile> This will encode with a libavcodec codecs (-ovc lavc), copies the sound, no changes made (-oac copy), forces an index (-forceidx ). As you might have read, there are a ton of options. Don't know if you have lavc compiled in, for other available video codecs: $ mencoder -ovc help Hope this gets you going again. |
Thanks a lot, everything's fine :D
bye |
All times are GMT -5. The time now is 04:57 PM. |