You are not logged in.

#1 2008-02-20 07:28:09

BC
Member
Registered: 2008-01-29
Posts: 83

MPlayer key bindings

In the right click menu for MPlayer there are four options for changing a video's size: half, normal, double, and fullscreen.  I was wondering if anyone knew of a way to make keybindings for these resizing options.  After looking through input.conf I see there's a binding for fullscreen, but not the others.  The command "mplayer -input cmdlist" shows a long list of possible commands to bind keys to, but the only option for resizing I recognize is fullscreen.

I'm aware that I could just install a frontend that can probably do it, but I'd like to know if I can have these keybindings in MPlayer. tongue

Can anyone help?

Last edited by BC (2008-02-20 07:28:55)

Offline

#2 2008-02-20 15:49:34

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: MPlayer key bindings

there's the -xy parameter:

-xy <value> (also see -zoom)
                 value<=8
                      Scale image by factor <value>.
                 value>8
                      Set  width to value and calculate height to keep correct
                      aspect ratio.

but it must be passed when invoking mplayer. I don't know if there's a way to bind a key to it.

Offline

Board footer

Powered by FluxBB