[MEncoder-users] Selectable subtitle

DEF shaker.doc at gmail.com
Fri Apr 6 12:30:47 CEST 2012


On Apr 6, 2012 11:10 AM, "Janos Szamosfalvi" <szamosj at yahoo.com> wrote:
>
> I'm encoding directly from a DVD, and I would like to know how do I
include a subtitle that is not hardcoded into the main movie.  In other
words, if I play it with VLC, I can choose to enable it or not.
>
> Mu current commandline: mencoder dvd://1 -dvd-device k: -alang en -slang
en -of lavf -lavfopts format=mp4 -o tmp4.mp4 -srate 44100 -af
resample=44100:0:1,format=s16le -oac mp3lame -lameopts cbr:br=128 -ofps
24000/1001 -vf crop=704:480:10:0,scale=800:600,harddup  -ovc x264
-x264encopts
bitrate=1000:bframes=2:b_pyramid=normal:weight_b:keyint=24:psnr:ssim:pass=2
>

Try with -vobsubout and -sid.  If you need more than one subtitle then you
would use -vobsiboutindex .
Also remove the -slang option to remove the hard coding.

>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users


More information about the MEncoder-users mailing list