[MPlayer-users] Aspect ratio auto-detection for vf=crop, expand=:::::n

Roman Polach r0polach at gmail.com
Tue Mar 15 20:13:09 CET 2011


I just tried "vf expand=::::1:16/9" but I got the same results as with
"vf=crop,expand=:::::16/9".
That means black box on all 4 sides when playing 4/3 video on 4/3 screen -
the thing I wish avoid.

Roman Polach

> did you try
>
> vf expand=::::1:16/9
> I personally use this for keeping a 16/9 output from PS3MediaServer to
Sony
> Bravia W5500 TV
> :: -vf softskip,expand=::::1:16/9,harddup
>
> Cheers
> Jakob Sternberg
>
> 2011/3/15 Roman Polach <r0polach at gmail.com>
>
> > Hi,
> > I am using "vf=crop,expand=:::::4/3" config line for a long time
> > to insert subtitles in the bottom black strip, when playing wide-screen
> > video on non-wide screen.
> > It's advantage is that no black strips are added if video is not
> > wide-screen
> > and black strips have
> > height exactly correct for filling the screen and preserving video file
> > aspect ratio no matter what
> > height / width / ratio the video file was...
> > It was great solution until I started to switch 4/3 display and 16/9 TV
> > output regularly.
> > Now I have two configs (one with "vf=crop,expand=:::::4/3" and other
with
> > "vf=crop,expand=:::::16/9")
> > that I am switching every time before launching mplayer.
> > So I want to ask:
> > Is it possible to set up some auto-detection of screen aspect ratio for
use
> > in .mplayer/config?
> > (for the best without need of making shell alias or scripts - that would
> > loose the beauty..)
> > And if not, can be this feature add to mplayer? Something like
> > "vf=crop,expand=:::::-1"?
> >
> > Thanks,
> > Roman Polach


More information about the MPlayer-users mailing list