Tag: omxplayer

OMXPlayer GUI on the Raspberry Pi

From this website:
http://stevenhickson.blogspot.nl/2012/08/setting-up-omxplayer-gui-on-raspberry-pi.html

Unfortunately omxplayer is a command line tool and that can get bothersome. To easily get around this and use it, install xterm by running:

Note: You don’t have to use xterm, you can use the built in lxterminal instead by replacing xterm with lxterminal in all the examples below. However, xterm allows for the nice fullscreen option that omxplayer messes up.

Then right click one of your avi files and select open with, then click custom command line tool, type in:

and check the box saying always do this so you only have to double click on any avi file in the future and it will do the same thing.

This opens up omxplayer in a new terminal so the key presses, such as p (pause) and q (quit), work. It also opens it up in fullscreen (the -r flag and the -fullscreen flag for xterm). Note: The rest of the display goes to sleep after a while so if the screen is black when the movie quits, shake the mouse or press a key to wake it up.