Pirathonite
Posts: 30
Joined: Tue Jun 23, 2015 4:39 am

omxplayer

Mon Jul 27, 2015 10:55 pm

I am using raspbian and i have some videos, but cant play them because omxplayer doesnt have a shortcut. Can anyone tell me how to make a shortcut of omxplayer so I can play my videos?

THank you guys very much

Dimonira
Posts: 44
Joined: Mon Apr 06, 2015 6:17 am

Re: omxplayer

Tue Jul 28, 2015 1:16 pm

Hi!
omxplayer - command string program. Therefore it is best to install omxplayergui.
To do this, you need to install Minimal Kiosk Browser and the needed packages for him (I installed everything except vlc).
This is described in this topic: viewtopic.php?t=40860.
Briefly I can give the commands that I used:
1. Install MKB:

Code: Select all

wget http://steinerdatenbank.de/software/kweb-1.6.5.tar.gz
tar -xzf kweb-1.6.5.tar.gz
cd kweb-1.6.5
./debinstall
2. Install the needed packages (except vlc):

Code: Select all

sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/bin/youtube-dl
sudo chmod a+x /usr/bin/youtube-dl
sudo apt-get install uget
sudo apt-get install tint2
sudo apt-get install xterm
3. Install last versions for omxplayer (says that for the last):

Code: Select all

sudo apt-get install libpcre3 fonts-freefont-ttf
sudo apt-get install fbset 
4. Install latest build (.deb file name taken from this page: http://omxplayer.sconde.net/#builds):

Code: Select all

wget http://omxplayer.sconde.net/builds/omxplayer_0.3.6~git20150710~4d8ffd1_armhf.deb
sudo dpkg -i omxplayer_0.3.6~git20150710~4d8ffd1_armhf.deb
Now you will have a windowed player omxplayergui and videos can be launched by double-clicking.

Return to “General discussion”