[MPlayer-users] Using .sub-Subtitles in mencoder possible?
Mark Blain
mblain2 at yahoo.com
Sun May 3 22:23:47 CEST 2009
Thomas Heuving <heuving at gmx.de> wrote in news:3nmvc6-lup.ln1 at ID-
32009.user.uni-berlin.de:
> 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
Use -vobsub, not -sub. From the manpage:
-vobsub <VOBsub file without extension>
Specify a VOBsub file to use for subtitles. Has to be the full pathname
without extension, i.e. without the .idx, .ifo or .sub.
More information about the MPlayer-users
mailing list