[MPlayer-users] cropping 4:3 left and right to form 16:9

Anthony Griffiths neuronetv at gmail.com
Thu Sep 28 11:34:08 EEST 2017


I'm running fedora 26 with mplayer-1.3.0-9.fc26.i686 on an acer
netbook. The netbook has a 16:9 screen set at res 1024 x 600 but the
inbuilt webcam in the lid is a 4:3 cam, I think its native res is
640x480. I can use mplayer to display the cam at full screen but
there's a black stripe down the left and right of the screen. I want
to zoom/inflate the cam image so it crops/cuts away the top and bottom
and fills the full width of the screen without stretching the image
itself and also display at full screen. I've been trawling google and
trying lots of different commands but I can't work out how to do this.
The basic command I started from was this:
$ mplayer tv:// -tv driver=v4l2:device=/dev/video1:fps=20:outfmt=yuy2 -fs
I simply want to inflate the cam image so it loses the left and right
black stripes. Thanks for any help.


More information about the MPlayer-users mailing list