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 16:02]
admin [Example:]
python_omxplayer [2017/09/07 16:51] (current)
admin [Install the Pyomxplayer:]
Line 35: Line 35:
   $ sudo cp pyomxplayer.py /usr/local/lib/python2.7/dist-packages   $ 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\\