Skip to content
A simple python interface for the Raspberry Pi's omxplayer
Python Shell
Find file
New pull request
Latest commit 25b13f2 @KenT2 reformat again
Failed to load latest commit information. reformat again Version 1.02 complete rewrite version 1.03 added some error checking

pyomxplayer uses the ideas recorded at to provide a python wrapper for omxplayer. The test harness I produced to test the wrapper can also be used as simple python based media player using omxplayer.

There is now a different implementation of the python wrapper which uses PEXPECT. It is at

TBOPlayer in this git repository (KenT2) is a much better gui for omxplayer.

INSTALLATION and must be in the same directory

to run - python from a terminal opened in the same directory

track to play is a file name e.g. my_track.mp4

developed with python 2.7, not tried on python 3.

videos must be in a directory set in the main program.

Running this with Idle produces funny results, just run from a terminal.

Something went wrong with that request. Please try again.