Fullscreen in Mplayer

Dotan Cohen dotancohen at gmail.com
Fri Apr 27 10:53:44 UTC 2007


On 27/04/07, Marko Vojinovic <vvmarko at panet.co.yu> wrote:
> On Thursday 26 April 2007 20:43, Dotan Cohen wrote:
> > According to the 'man', one should be able to toggle the mplayer size
> > with command-1,2,3,4 and achieve fullscreen with command-f. Assuming
> > that 'command' is the Ctrl key, then Ctrl-F does in fact make the
> > player window full screen, however the video stays the same size.
> > Thus, I have a mostly-black screen. Ctlr-1,2,3,4 do nothing, however.
> >
> > Am I assuming incorrectly? Neither the Tux key nor the Alt key modify
> > the window when pressed with F, thus I assume that the command key is
> > Ctrl.
>
> In mplayer man page I can find the following:
>
> (The  following  keys are valid only when using the quartz video output
> driver.)
>                  option + 0
>                       Resize movie window to half its original size.
>                  option + 1
>                       Resize movie window to its original size.
>                  option + 2
>                       Resize movie window to double its original size.
>                  option + f
>                       Toggle fullscreen (also see -fs).
>
> Are you reffering to this? (Maybe you have different version of mplayer, mine
> is 1.0rc1-4.0.1 hand-compiled). If so, in order to have this working you
> should use the appropriate driver, if you have it (I guess the option is
> "-vo quartz", never used it).

Yes, I was refereing to this. I had tried both, but both gave the same
response: a black fullscreen window, with a tiny video playing in the
middle. I was unable to get the video to take up the whole screen.

> But regardless to that, by pressing f during playback or with option "-fs" it
> should go fullscreen. If it doesn't enlarge the image and just adds black
> bands around the image, then I guess the problem is video driver (at least it
> was on my machine).

Adding the -zoom option helped.

> To see supported video drivers, do
>
> $ mplayer -vo help

I will definetly do that. Thanks.

> Among several of them, "xv" should be there. It is the default video driver,
> and should work. To verify, do
>
> $ mplayer -vo xv somefile.avi
>
> If it complains, xv does not work. The issues for that can be various, it
> happened to me when I installed nvidia-legacy drivers from Livna. However, I
> do not recall ATM what I did to repair this. At the time, I was experimenting
> a lot trying to get beryl to work with my nvidia card, and in the process
> broke a lot of things, including mplayer.

That's why I gave up on Beryl. Now that it's merging with Compiz
again, maybe things will be sorted out.

> Tomorrow when I get to the office I will maybe be able to remember, and post
> it.

That was your work machine! Bad, bad!

Dotan Cohen

http://lyricslist.com/lyrics/artist_albums/288/k-ci_and_jojo.html
http://what-is-what.com/what_is/skype.html




More information about the users mailing list