Mplayer Controls Problem


pootle

Still Fresh
Joined
Oct 26, 2008
Messages
68
When I watch videos using MPlayer the controls appear behind the video, and can't be clicked on. Pausing, restarting etc doesn't help.

I played around with it for a while and got the controls to drop down visibly but then no video played! A restart brought it back to normal.

Does anyone have an idea how to sort this out?
 
I third it. Interestingly VLC has the same problem. The only thing I can suggest is learn the keyboard shortcuts.

edit: yeah space is pause.
 
That's odd - I haven't encountered this myself. I just move the mouse down to them (I'm assuming you're watching in full-screen mode?) and they pop right up. :blink: (I've ripped all of my DVDs as per my guide in my signature, for whatever it's worth, just in case that makes any difference.)
 
Prometheus said:
That's odd - I haven't encountered this myself. I just move the mouse down to them (I'm assuming you're watching in full-screen mode?) and they pop right up.

Are you talking about play/pause/stop etc? because they're the only things that pop-up when I move the mouse down to the bottom, unless you can set it up so you have file/edit/view etc down at the bottom? :unsure:
 
Last edited by a moderator:
Oh, no, do pardon me - I appear to have misread what controls were presenting a problem! Sorry about that. :)
 
lol you had me confused there for a min.

I don't know how but I seem to have fixed the problem, it doesn't hide behind the player anymore!

I can't give you a technical description because I don't know what I did, I just mashed the keyboard from left to right and top to bottom. I will see if I can refine the technique and let you know!
 
^OK try this:>

open a video and let it play in a small window, don't maximize. Press and hold i (if it starts to spaz out don't worry this is good!) now click on one of the menu buttons and see if it opens normally. If it doesn't, try the above steps but this time with continuous clicking of the menu buttons eg (file/edit/view)

Not very orthodox but it does work and you only need to do it once! After that it will open normally every time you launch mplayer.
 
I was just going to post about this.. I also have found constant problems with the menu system while watching video.. As you said, it is always behind the display screen.

- Eisner
 
Update: bad and good results

Using Sarlix's holding i method I can get it to "spaz out" but even clicking everything the drop downs are always hidden :(

That said, I think that more instructions should include the term "spaz out" for the less technically aware of us to understand :)
 
pootle said:
Update: bad and good results

Using Sarlix's holding i method I can get it to "spaz out" but even clicking everything the drop downs are always hidden :(

That said, I think that more instructions should include the term "spaz out" for the less technically aware of us to understand :)

lol

My above fix only worked for one of my videos but not any others, V weird.

Anyway I have found a better solution! go into edit/preferences and change the Video Output to X11. Thats it! the menu should appear on all you videos now. Let me know if it works for ya :)



Also here is a list of shortcuts that may be useful:

edit: that's not all of them - adding more as I find them

Right Arrow - Fast Forward
Left Arrow - Fast Reverse
Page Up - Seek 10min forward
Page Down - Seek 10min backward
Up Arrow - Seek 1 min forward
Down Arrow - Seek 1 min backward
Space - Pause
p - Pause
m - Mute
a - Cycle through aspect ratio
o - Toggles OCD Display

1 - Contrast down 5
2 - Contrast up 5
3 - Brightness down 5
4 - Brightness up 5
5 - Hue down 5
6 - Hue up 5
7 - Saturation down 5
8 - Saturation up 5

[ - Play 10% slower
] - Play 10% faster
{ - Half speed playback
} - Double speed playback

9 - Volume down 10
0 - Volume up 10

# - Switch Audio Track
j - Subtitle select
v - Subtitle visibility

q - Quit immediately

+ - Increase Audio Delay
- - Decreate Audio Delay

z - Decrease Subtitle Delay
x - Increate Subtitle Delay

Ctrl-D - Show/Hide file details
Ctrl-P - Show/Hide playlist
Ctrl-F/F - Un/Fullscreen
 
Last edited by a moderator:
Sarlix said:
Also here is a list of shortcuts that may be useful:

edit: that's not all of them - adding more as I find them

Right Arrow - Fast Forward
Left Arrow - Fast Reverse
Page Up - Seek 10min forward
Page Down - Seek 10min backward
Up Arrow - Seek 1 min forward
Down Arrow - Seek 1 min backward
Space - Pause
p - Pause
m - Mute
a - Cycle through aspect ratio
o - Toggles OCD Display

1 - Contrast down 5
2 - Contrast up 5
3 - Brightness down 5
4 - Brightness up 5
5 - Hue down 5
6 - Hue up 5
7 - Saturation down 5
8 - Saturation up 5

[ - Play 10% slower
] - Play 10% faster
{ - Half speed playback
} - Double speed playback

9 - Volume down 10
0 - Volume up 10

# - Switch Audio Track
j - Subtitle select
v - Subtitle visibility

q - Quit immediately

+ - Increase Audio Delay
- - Decreate Audio Delay

z - Decrease Subtitle Delay
x - Increate Subtitle Delay

Ctrl-D - Show/Hide file details
Ctrl-P - Show/Hide playlist
Ctrl-F/F - Un/Fullscreen

You know that mplayer stores all of its keybindings in input.conf, right? (So you can also change them to whatever you like)

Here's the contents of input.conf:

Code:
##
## MPlayer input control file
##
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
## add new ones here.
## See DOCS/tech/slave.txt for possible commands that can be bound.
## Also see mplayer -input cmdlist for other possible options.
## The file should be placed in the $HOME/.mplayer directory.
##
## If you wish to unbind a key, use key ignore.
## e.g. ENTER ignore
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
PGUP seek 600
PGDWN seek -600
m mute
# switch_audio          # switch audio streams
+ audio_delay 0.100
= audio_delay 0.100
- audio_delay -0.100
[ speed_mult 0.9091	# scale playback speed
] speed_mult 1.1
{ speed_mult 0.5
} speed_mult 2.0
BS speed_set 1.0	# reset speed to normal
q quit
ESC quit
ENTER pt_step 1 1       # skip to next file
p pause
. frame_step            # advance one frame and pause
SPACE pause
HOME pt_up_step 1
END pt_up_step -1
> pt_step 1             # skip to next file
< pt_step -1            #         previous
INS alt_src_step 1
DEL alt_src_step -1
o osd
I osd_show_property_text "${filename}"     # display filename in osd
z sub_delay -0.1        # subtract 100 ms delay from subs
x sub_delay +0.1        # add
9 volume -1
/ volume -1
0 volume 1
* volume 1
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
( balance -0.1          # adjust audio balance in favor of left
) balance +0.1          #                                  right
d frame_drop
D step_property deinterlace  # toggle deinterlacer, requires -vf yadif or kerndeint
r sub_pos -1            # move subtitles up
t sub_pos +1            #                down
#? sub_step +1		# immediately display next subtitle
#? sub_step -1		#                     previous
#? sub_scale +0.1	# increase subtitle font size
#? sub_scale -0.1	# decrease subtitle font size
f vo_fullscreen
T vo_ontop              # toggle video window ontop of other windows
w panscan -0.1          # zoom out with -panscan 0 -fs
e panscan +0.1          #      in
s screenshot            # take a png screenshot with -vf screenshot
                        # S will take a png screenshot of every frame

h tv_step_channel 1
l tv_step_channel -1
n tv_step_norm
b tv_step_chanlist

##
## GUI
##

#l gui_loadfile
#t gui_loadsubtitle
#a gui_about
#s gui_stop
#p gui_playlist
#r gui_preferences
#c gui_skinbrowser

##
## Joystick section
## WARNING: joystick support has to be explicitly enabled at
##          compiletime with --enable-joystick
##

JOY_RIGHT seek 10
JOY_LEFT seek -10
JOY_UP seek 60
JOY_DOWN seek -60
JOY_BTN0 pause
JOY_BTN1 osd
JOY_BTN2 volume 1
JOY_BTN3 volume -1
JOY_BTN4 set_menu main

##
## Apple Remote section
##
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
##

AR_PLAY pause
AR_PLAY_HOLD quit
AR_NEXT seek 30
AR_NEXT_HOLD seek 120
AR_PREV seek -10
AR_PREV_HOLD seek -120
AR_MENU menu up
#AR_MENU menu cancel
AR_MENU_HOLD mute
AR_VUP volume 1
AR_VDOWN volume -1

##
## OSD Menu movement keys
##
## If you are using only the keyboard it is enough to define one command (like
## "menu up"), because then that single key will display the menu, which can
## then be navigated with the cursor keys and ENTER (defined in menu.conf).
##
## LIRC users should bind each "menu" command to a button on their remote.
##
## The set_menu command directly displays the (sub)menu specified as
## its argument. Usage should be self-explanatory (although not likely
## to be needed), after reading input.conf.
##

#MOUSE_BTN0 menu up
#y menu down
#y menu ok
#y menu cancel
#y menu hide
#y set_menu general_pref

##
## DVDNAV
## Requires dvdnav://
##

UP    {dvdnav} dvdnav up          # DVDNav UP
DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
ESC   {dvdnav} dvdnav menu        # DVDNav MENU
ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)

AR_VUP    {dvdnav} dvdnav up      # DVDNav UP
AR_VDOWN  {dvdnav} dvdnav down    # DVDNav DOWN
AR_PREV   {dvdnav} dvdnav left    # DVDNav LEFT
AR_NEXT   {dvdnav} dvdnav right   # DVDNav RIGHT
AR_MENU   {dvdnav} dvdnav menu    # DVDNav MENU
AR_PLAY   {dvdnav} dvdnav select  # DVDNav SELECT (ok)

#? seek_chapter -1      # skip to previous dvd chapter
#? seek_chapter +1      #         next
 
Last edited by a moderator:
Sarlix said:
... change the Video Output to X11. Thats it! the menu should appear on all you videos now. Let me know if it works for ya :)

Tyvm for the x11 tip =)
 
Last edited by a moderator:
~Levi~ said:
Sarlix said:
... change the Video Output to X11. Thats it! the menu should appear on all you videos now. Let me know if it works for ya :)

Tyvm for the x11 tip =)


No problem, I'm glad it worked for you :)


@God Ginrai

No I didn't know that, thanks for the info :)
 
Last edited by a moderator:
Just had a chance to try this- Yay, the menus appear fine now!

I'm having a couple of issues with playing the videos now though, is the video choppier for everyone using X11?
 
Sarlix said:
@God Ginrai

No I didn't know that, thanks for the info :)

Your Welcome. ;)


@pootle: I'm thinking that when you don't use the X11 option it goes straight to framebuffer and is therefore more efficient. Routing it through X probably causes a drop in performance.

-God Ginrai
 
Last edited by a moderator:
Sarlix said:
~Levi~ said:
Sarlix said:
... change the Video Output to X11. Thats it! the menu should appear on all you videos now. Let me know if it works for ya :)

Tyvm for the x11 tip =)


No problem, I'm glad it worked for you :)


@God Ginrai

No I didn't know that, thanks for the info :)

Works, but i drop more frames, Ew. =P
 
Last edited by a moderator:
Back
Top