[MPlayer-users] Using .sub-Subtitles in mencoder possible?

Thomas Heuving heuving at gmx.de
Sun May 3 07:29:39 CEST 2009


I'm using mplayer SVN-r29134-snapshot-4.1.
When I play an avi with accompanying .sub- and .idx-Files, mplayer says:
  SUB: Could not determine file format
  Kann Untertitel nicht laden: ./love_in_a_fallen_city.sub
but the subtitles are shown.
If I want to resample the avi to put it on a Video-DVD, I 
get just the same message, when I give the .sub-File to mencoder
with the -sub-Option:
  SUB: Could not determine file format
  Kann Untertitel nicht laden: love_in_a_fallen_city.sub
but there are no Subtitles in the output.

How can I produce a MPG-File, in which the Subtitles are included in
the Videostream?
The complete Commandline of mencoder is
  mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -ofps\
  30000/1001  -vf scale=704:464,expand=720:480,harddup -lavcopts\
  acodec=ac3:abitrate=128:dc=10:vcodec=mpeg2video:vrc_buf_size=1835:\
vrc_maxrate=9000:vbitrate=3400: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 \
  -sub love_in_a_fallen_city.sub -o l.mpg love_in_a_fallen_city.avi
-- 
Thomas Heuving



More information about the MPlayer-users mailing list