5W site logo 5W - мой домашний сайт-блог с картинками, кино и плюшками.

mplayer-scale.txt

mplayer -aspect 4:3 somefile.avi
----------------------------------------------------------

alias mplayer='mplayer -zoom -x 900 -y 600 -geometry 50%:50%'


mplayer -zoom -xy 600 my_file.avi
----------------------------------------------------
with this, it plays in 3x4, but still not the original resolution:

Code:

mplayer -vf expand=:::::1 "video.mp4"

--------------------------------------------------------------------
By means of trial and error, I've found the following command-lines work without glitches for me:

mplayer -vo gl -fs -vf expand=width:height "video.mp4"

mplayer -vo gl2 -fs -vf expand=width:height "video.mp4"

---------------------------------------------------------------
Resize video in mplayer

you could also put in your ~/.mplayer/config file
there are various ways to do it
Code:

screenw=600
screenh=400
xy=.5
xy=600

and for fullscreen
Code:

fs=1

------------------------------------------------------