[MPlayer-users] Subtitleproblem encoding OGG to MPEG2

Thomas Heuving heuving at gmx.de
Mon Feb 18 17:57:55 CET 2008


Nico Sabbi schrieb am Sun, 17 Feb 2008 22:46:49 +0100:
> 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

I put the encoded file on DVD and didn't have any problem at all so
far. But as I'm not even knowing, why I use this parameter (surely
copied it from one example on the Net) : Should I use the
standard of 8?
Speaking of my real problem: I want to emphasize that I've encoded
quite a lot of films with these options using SRT-Files.

Best regards
-- 
Thomas Heuving




More information about the MPlayer-users mailing list