Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python_omxplayer [2017/09/07 15:56]
admin [downgrade your omxplayer to version 0.2.7:]
python_omxplayer [2017/09/07 16:51] (current)
admin [Install the Pyomxplayer:]
Line 30: Line 30:
 or in the folder with your python programm.\\ or in the folder with your python programm.\\
  
-or download the version with alpha layer support:\\+**or install the version with alpha layer support:**\\
   $ wget http://www.dernulleffekt.de/programme/pyomxplayer.py.tar   $ wget http://www.dernulleffekt.de/programme/pyomxplayer.py.tar
   $ tar -xf pyomxplayer.py.tar   $ tar -xf pyomxplayer.py.tar
 +  $ sudo cp pyomxplayer.py /usr/local/lib/python2.7/dist-packages
  
 +install pexpect:\\
 +  $ sudo pip install pexpect
 ==== Example: ==== ==== Example: ====
   >>> import pyomxplayer   >>> import pyomxplayer
 if you have the pyomxplayer from github:\\  if you have the pyomxplayer from github:\\ 
   >>> omx=pyomxplayer.OMXPlayer('/home/pi/video/example.mp4')   >>> omx=pyomxplayer.OMXPlayer('/home/pi/video/example.mp4')
-or for the pyomxplayer with alpha:\\+**or for the pyomxplayer with alpha layer support:**\\
   >>> omx=pyomxplayer.OMXPlayer('/home/pi/video/example.mp4', '100')   >>> omx=pyomxplayer.OMXPlayer('/home/pi/video/example.mp4', '100')
 than test the funktions\\ than test the funktions\\