OMXPlayer Builds Update

http://omxplayer.sconde.net/

 

About

OMXPlayer is a commandline OMX player for the Raspberry PI.
It was developed as a testbed for the XBMC Raspberry PI implementation and is quite handy to use standalone.

OMXPlayer has big dependencies that take long to compile on Raspberry Pi and usually without sucess, so I decided to make a build-bot for creating binary distributions for Raspbian (Debian with hard-float for RPi).

I didn’t wrote the code, I just provide the binary packages. If you have any problem with them you can contact me in different ways and I will try to help:

  • E-Mail: skgsergio [at] gmail [dot] com
  • Twitter: @skgsergio
  • IRC: [SkG] @ irc.freenode.net (usually online at #raspberrypi, #raspbian and many others.)

Builds

ISSUES: If you have any issue/problem with omxplayer first make sure you are using the latest build with the latest Raspberry Pi’s firmware version, then check the troubleshooting section and if none of that works fell free to contact me by email or irc.

Latest build

Build date: 23/10/2013 06:05 CEST
Git version: 38f05ee
Download .deb (armhf): omxplayer_0.3.2~git20131023~38f05ee_armhf.deb
SHA-1 Hash: eaa98a8b337fcf43f38bc83ec2c513560dc449ba
Notes: None.

Old builds

Show/Hide ]

Experimental builds

/!\ WARNING /!\
Don’t use this versions unless you know what are you doing.
There is no support for this versions.
This packages are not automatically updated.

Boblight support

Git version: 03cfbee7 (Stasik0′s fork) – Forked from a8e69391
Build date: 25/04/2013 21:00 CEST
Download .deb (armhf): omxplayer_0.2.6~boblight~git20130425~03cfbee7_armhf.deb
SHA-1 Hash: 8b19ff89031ec0bef4e05f1b6ec4ae6a7efb702f

Key bindings

Key Action
1 Increase Speed
2 Decrease Speed
j Previous Audio stream
k Next Audio stream
i Previous Chapter
o Next Chapter
n Previous Subtitle stream
m Next Subtitle stream
s Toggle subtitles
q Exit OMXPlayer
Space or p Pause/Resume
- Decrease Volume
+ Increase Volume
Left Seek -30
Right Seek +30
Down Seek -600
Up Seek +600

Instructions

First you need install required dependencies:

# aptitude install libpcre3 fonts-freefont-ttf
- or -
# apt-get install libpcre3 fonts-freefont-ttf

Optionally you can install fbset, I highly recommend it if you are going to use –refresh/-r option:

# aptitude install fbset
- or -
# apt-get install fbset

When you have installed the dependencies you can go ahead downloading the omxplayer and install it with dpkg:

# wget http://omxplayer.sconde.net/builds/omxplayer_x.x.x~gitxxxxxxxx~xxxxxxxx_armhf.deb
# dpkg -i omxplayer_x.x.x~gitxxxxxxxx~xxxxxxxx_armhf.deb

Note 1: The crunch (number sign) means that you have to run that command with root privileges.
Note 2: You must substitute all the x, see the builds section to find the current build.

Troubleshooting

Screen flicker when omxplayer finishes playing

Sometimes when omxplayer finishes playing a video the screen turns black so I’ve included a hack in the launcher script to refresh the screen. This hack makes the screen flicker.

If you want to disable this hack you have to set the enviroment variable NOREFRESH to 1 as follows:

$ NOREFRESH=1 omxplayer video.mp4

No such file or directory

/usr/bin/omxplayer: line xx: /usr/bin/omxplayer.bin: No such file or directory

Usually appears using my builds in Raspbmc. This problem is solved running this:

# ln /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3

Symbol lookup error

/usr/bin/omxplayer.bin: Symbol lookup error: /usr/bin/omxplayer.bin: undefined symbol: vc_xxxxxxxxxx.

This error appears when omxplayer has a feature that your currently installed firmware don’t have. Please update your firmware.
I personally use rpi-update to have firmware updated.

Insufficient permissions to access /dev/vchiq

This can happen running omxplayer as user. To allow using omxplayer as user you need to do this:

# echo ‘SUBSYSTEM==”vchiq”,GROUP=”video”,MODE=”0660″‘ > /etc/udev/rules.d/10-vchiq-permissions.rules
# usermod -aG video USERNAME-WHO-WILL-RUN-OMXPLAYER
# reboot

Error while loading shared libraries

/usr/bin/omxplayer.bin: error while loading shared libraries: libxxxxxxx.so.xx: cannot open shared object file: No such file or directory

Some packages were broken so you will need to remove omxplayer and install it again:

# aptitude purge omxplayer
# wget http://omxplayer.sconde.net/builds/omxplayer_x.x.x~gitxxxxxxxx~xxxxxxxx_armhf.deb
# dpkg -i omxplayer_x.x.x~gitxxxxxxxx~xxxxxxxx_armhf.deb

Package architecture does not match system

dpkg: error processing omxplayer_xxxxxxxxxxxxxxxxxxx.deb (–install):
package architecture (armhf) does not match system (armel)
Errors were encountered while processing:
omxplayer_xxxxxxxxxxxxxxxxxxx.deb

This means that you are trying to install my OMXPlayer build on Debian. My builds are only for Raspbian (armhf/hard) that is the reference distribution of the Raspberry Pi Foundation.
You can read about hard vs softfp here: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=7796&p=99844

Other problems

If you have any other problem that is not listed before please contact me. If you are sure that is an omxplayer problem please check omxplayer’s issue tracker at github.

Important: If you are going to report an issue you must the output of omxplayer –version or the name of the .deb package you installed.

Links