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
Last revision Both sides next revision
python_omxplayer [2016/06/23 19:40]
admin [Example:]
python_omxplayer [2017/09/07 16:02]
admin [Example:]
Line 12: Line 12:
 ---- ----
 ==== downgrade your omxplayer to version 0.2.7: ==== ==== downgrade your omxplayer to version 0.2.7: ====
-__with the latest version of the pyomxplayer the downgrade is obsolet__\\ +<del>__with the latest version of the pyomxplayer the downgrade is obsolet__\\ 
-Cause the latest version of the omxplayer shows the time on the screen when pause, one has to downgrade to version 0.2.7.\\ +<del>Cause the latest version of the omxplayer shows the time on the screen when pause, one has to downgrade to version 0.2.7.</del>\\ 
-  $ sudo apt-get autoremove omxplayer+<del>  $ sudo apt-get autoremove omxplayer
   $ sudo apt-get install libpcre3 fonts-freefont-ttf    $ sudo apt-get install libpcre3 fonts-freefont-ttf 
   $ wget http://omxplayer.sconde.net/builds/omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb   $ wget http://omxplayer.sconde.net/builds/omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb
   $ sudo dpkg -i omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb   $ sudo dpkg -i omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb
-  $ rm omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb+  $ rm omxplayer_0.2.7~git20130615~d87aa60a_armhf.deb</del>
  
-NO MORE UPDATE ANYMORE+<del>NO MORE UPDATE ANYMORE</del>
  
 ==== Install the Pyomxplayer: ==== ==== 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
  
 ==== Example: ==== ==== Example: ====
Line 38: Line 39:
 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\\