[MEncoder-users] Hardcoding .sub subtitles into movie

Phil Ehrens phil at slug.org
Thu Mar 16 22:53:48 CET 2006


Phil Payne wrote:
> Hi,
> 
> I have an  avi with .sub subtitles.
> 
> Is there anyway to re-encode the avi to hard-code the subtitles into the 
> movie stream e.g. so I can watch it on a rather low-featured external 
> divx player?
> 
> If I include -sub on the mencoder commandline this have worked in the 
> past with .srt format subtitles but does not work with .sub


if the avi is called foo.avi and you have the files foo.idx and foo.sub:

mencoder ... -sub foo -vobsubid N ...

Where N is the index of the sub stream you want. Sometimes you need to
use the -sid and/or -slang options as well, not sure why (and it may be
mencoder version specific).




More information about the MEncoder-users mailing list