I think the idea is fine, you just have to either implement the patch or ta=
one of the mplayer developers into adding it in.
On Monday 03 November 2003 3:03 am, Giuseppe Ghib=F2 wrote:
> I found that using pref-aspect=3D1 in /etc/mplayerplug-in.conf, the playi=
> window maintains the aspect ratio, but the window of the browser could not
> be enough large to contain the movie. For instance suppose the
> movie size is 480 x 260. This lead to an aspect ratio of 1.846.
> Now suppose the browser window is just 629 x 180 pixels. In this case
> the mplayer is called by the plugin with the following arguments:
> gmplayer ... -screenw 629 -screenh 180 -xy 629 ...
> which causes the playback size of the movie to be 629 x (629/1.846) =3D 6=
> 341 pixels. But since the browser window has not enough height to contain
> 341 pixels, only a portion of the window height is shown, the rest is cut.
> In this case the -xy size to pass to the browser to get the image full
> contained in the browser window, but respecting the aspect ratio, should
> have been: (180*1.846) x 180 =3D 332 x 180 (or 304 x 180 for considering =
> "mini" skin height), i.e. the argument of -xy should have been 332.
> Unfortunately this approach is not possible, because mplayerplug-in doesn=
> know the movie size before calling mplayer. So, IMHO, the only way would =
> to modify mplayer, to add also two options:
> - a -yx <height> option, so that the image is scaled in x direction to
> maintain the aspect ratio and the height.
> - a -max|min_xyyx, so that only min or max is taken between -xy <width>, =
> -yx <height> size.
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> Mplayerplug-in-devel mailing list