[MPlayer-users] Subtitle problems

David Kuehling dvdkhlng at gmx.de
Mon Jul 29 16:02:01 CEST 2002


Hi,

I'm currently trying to render a ripped DVD movie with subtitles at the
bottom of the screen, but -subpos does not have any effect, whatever I'm
trying to do.  The bottom side of subtitles always stays in about the
same distance (50+ pixels) from the bottom of the screen.

Using scale, expand and crop at once draws subtitles twice at slightly
vertically offset positions.

Here's what I tried:

mplayer -vo x11 -sid 1 -subpos 100 -aid 129 vts_03_1.vob
mplayer -vo x11 -sid 1 -subpos 0 -aid 129 vts_03_1.vob
mplayer -vo x11 -sid 1 -subpos 100 -vop expand=720:720:0:0 \
        -aid 129 vts_03_1.vob
mplayer -vo x11 -sid 1 -subpos 0 -vop expand=720:720:0:0 \
        -aid 129 vts_03_1.vob

The following commandline produced overlapping doubled subtitles, the
subtitle that is drawn first is somewhat unsharp, seems that it was
drawn before the scaling operation was applied.  Without scaling, the
result is correct and there's only one subtitle.

mplayer -vo x11 -ss 0:49 -vop crop=720:576:0:0,expand=720:600:0:0:1,\
                              scale=720:432:0:0:0 \
        -sid 1 -aid 129 -v vts_03_1.vob

I finally was able to "move" the subtitles to the bottom of the screen
by using this combination of scale, crop and expand:

mplayer -vo x11 -ss 0:49 -vop scale=720:576:0:0,crop=720:720:0:0,\
                              expand=720:830:0:0:1 \
        -sid 1 -aid 129 -v vts_03_1.vob

Does anybody have some more experience with this?  I just don't
understand how subtitle drawing interacts with VO filters.

If necessary I could try to upload parts of the VOB file.

I'm using MPlayer-0.90pre5 on an x86 Debian Woody.

David Kühling
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40




More information about the MPlayer-users mailing list