[MPlayer-users] Subtitleproblem encoding OGG to MPEG2

Nico Sabbi Nicola.Sabbi at poste.it
Sun Feb 17 22:46:49 CET 2008


Il Sunday 17 February 2008 19:16:28 Thomas Heuving ha scritto:
> I want to encode an OGG-Film to MPEG2. When I play the film through mplayer
> with -sid 0, I see the subtitles, but mencoder doesn't put them in the
> MPEG2-file.
> My Commandline and the output of mencoder is as follows
> (some whitespace deleted and some very long output truncated)
> | # mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd\
> | -ofps 30000/1001 -vf scale=704:448,expand=720:480,harddup -lavcopts \
> | acodec=ac3:abitrate=128:dc=10:vcodec=mpeg2video:vrc_buf_size=1835:\
> |vrc_maxrate=9000:|vbitrate=3000:keyint=15:trell:mbd=2:aspect=16/9\
> | -af-adv force=1 -srate 48000 -af lavcresample=48000,volnorm\
> | -subpos 100 -subfont-blur 6 -subfont-outline 3\
> | -subfont-text-scale 7 -fontconfig -font 'Echelon Condensed'\
> | -subcp latin1 -o metadefumaca_ueng.mpg -ss 370 -sid 0 -endpos 60\
> | Metade.Fumaca.ogm

it's unrelated to your problem, but :dc=10 can horribly break your
encode if you play it in another player! I did the same mistake long ago



More information about the MPlayer-users mailing list