[MPlayer-users] svcd aspect ration bug w/ -vo vesa and -vo dga

Felix von Leitner felix-mplayer at fefe.de
Fri Jan 31 14:19:58 CET 2003


mplayer fails to play back svcd correctly.  They have an internal aspect
ratio, mplayer says it would apply scaling, but doesn't (with vesa or
dga).  So I add -vop scale=640:480 to get the picture right.

Problem is: mplayer thinks he scaled it up and thus the picture looks
like this:

  +-----+----------------+-----+
  |     |XXXXXXXXXXXXXXXX|     |
  |     |XXXXXXXXXXXXXXXX|     |
  |     |XXXXXXXXXXXXXXXX|     |
  |     |XXXXXXXXXXXXXXXX|     |
  |     |XXXXXXXXXXXXXXXX|     |
  |     |XXXXXXXXXXXXXXXX|     |
  +-----+----------------+-----+

X marks the -vop scaled picture.  The problem is that there is a black
border around it, which is not visible on vesa or dga because it is
black, but which nonetheless is there and causes dga and vesa to choose
800x600 or even 1024x768 as video mode, so the picture looks like this
on my TV:

  +---------------------------------+
  |                                 |
  |       +----------------+        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       |XXXXXXXXXXXXXXXX|        |
  |       +----------------+        |
  |                                 |
  +---------------------------------+

As you can see, there is not much left from the full-screen SVCD image.
Add to that the fact that my TV-out adds a small black border anyway and
mplayer is next to useless for -vo vesa and -vo dga and SVCD.

I RTFM and found -noaspect, but that is obviously not a solution as
mplayer already knows that (and how) the video has to be scaled.  This
setup is not girlfriend-proof.  How about adding an implicit -vop scale
and -noaspect in -vo vesa, -vo dga and -vo fbdev?

Felix



More information about the MPlayer-users mailing list