[MPlayer-users] RFE: Subtitles at the real adge of the screen?
ivanova
flamingivanova at punkass.com
Tue Aug 10 00:05:39 CEST 2004
On Mon, 09 Aug 2004 10:38:35 +0200
Daniel Mladek <dmladek at netbeans.com> wrote:
> Dominik 'Rathann' Mierzejewski wrote:
> >On Thursday, 05 August 2004 at 15:08, JiHO wrote:
> >>>But why it doesn't support to use whole screen/monitor area ? Then
> >>>watching movie(wide-screen) with subtitles will be
> >>>much comfortable if subtitles are under the area used by wide-screen
> >>>film.
> >>>What I mean you could see at attached picture (hope that 7380b doesn't
> >>>ruin anyone with low connection).
> >>>Definitely some M$Win players know that.
> >>>
> >>>
> >>It's possible to do this with the -vf expand option. check it in the
> >>manual, everything is explained.
> >And I think there's a patch floating around in -dev-eng that does this
> >automagically.
> Thanks for your answers, but I'm afraid I need some more help. Those
> VideoFilters seems to be
> pretty complicated stuff for me.
> I've searched man mplayer and HTML documentation.
from the man page:
expand[=w:h:x:y:o]
Expands (not scales) movie resolution to the given value and
places the unscaled original at coordinates x, y. Can be used
for placing subtitles/OSD in the resulting black bands.
w,h expanded width,height (default: original width,height).
Negative values for w and h are treated as offsets to
the original size.
EXAMPLE:
expand=0:-50:0:0
adds a 50 pixel border to the bottom of the
picture
x,y position of original image on the expanded image (de-
fault: center)
o OSD/subtitle rendering
0: disable (default)
1: enable
So what you probably want to do is add a black border to the top and bottom of
the picture:
mplayer movie.avi -vf expand=0:-300
This will make the height 300 pixels larger and because there is no x,y position
the default will center the image. So you have a 150 pixels top and bottom border.
More information about the MPlayer-users
mailing list