Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
omxplayer
C++ C Other
tree: aecc18b3f9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cores
guilib
linux
utils
BitstreamConverter.cpp
BitstreamConverter.h
COPYING
DllAvCodec.h
DllAvFilter.h
DllAvFormat.h
DllAvUtil.h
DllBCM.h
DllOMX.h
DllSwResample.h
DynamicDll.cpp
DynamicDll.h
File.cpp
File.h
IAudioRenderer.h
Makefile
Makefile.ffmpeg
Makefile.include
OMXAudio.cpp
OMXAudio.h
OMXAudioCodecOMX.cpp
OMXAudioCodecOMX.h
OMXClock.cpp
OMXClock.h
OMXCore.cpp
OMXCore.h
OMXOverlay.h
OMXOverlayCodec.h
OMXOverlayCodecText.cpp
OMXOverlayCodecText.h
OMXOverlayText.h
OMXPlayerAudio.cpp
OMXPlayerAudio.h
OMXPlayerVideo.cpp
OMXPlayerVideo.h
OMXReader.cpp
OMXReader.h
OMXStreamInfo.cpp
OMXStreamInfo.h
OMXSubtitleTagSami.cpp
OMXSubtitleTagSami.h
OMXThread.cpp
OMXThread.h
OMXVideo.cpp
OMXVideo.h
RBP.h
README.md
omxplayer
omxplayer.cpp
profiler.sh
system.h

README.md

OMXPlayer

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.

Downloading OMXPlayer

git clone git://github.com/huceke/omxplayer.git

Compiling OMXPlayer

Cross Compiling

You need the content of your sdcard somewhere mounted or copied. There might be development headers to install on the running Pi system for the crosscompiling.

Edit Makefile.include and change the settings according your locations.

Compiling on the Pi

You can also compile it on the PI the native way ;)

Running OMXPlayer

make ffmpeg
make
make dist

Installing OMXPlayer

Copy over omxplayer-dist/* to the Pi /.

Using OMXPlayer

Usage: omxplayer [OPTIONS] [FILE]
Options :
         -h / --help                    print this help
         -a / --alang language          audio language        : e.g. ger
         -n / --aidx  index             audio stream index    : e.g. 1
         -o / --adev  device            audio out device      : e.g. hdmi/local
         -i / --info                    dump stream format and exit
         -s / --stats                   pts and buffer stats
         -p / --passthrough             audio passthrough
         -d / --deinterlace             deinterlacing
         -w / --hw                      hw audio decoding
         -3 / --3d                      switch tv into 3d mode
         -y / --hdmiclocksync           adjust display refresh rate to match video
         -t / --sid index               show subtitle with index

For example:

./omxplayer -p -o hdmi test.mkv
Something went wrong with that request. Please try again.