[PD] crude pd interface for omxplayer/Rpi

batinste dwanafite at yahoo.fr
Thu Mar 7 00:18:53 CET 2013


Hi list

Looking for a way to control video playback on the Raspberry Pi outside 
Gem's realm, i stumbled across omxplayer and this topic 
<http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=7987>.

So based on it i've made a very crude [shell]-based omxplayer controller 
in Pd, see attached. As omxplayer can be controlled via keystrokes, you 
can expand this patch's possibilities very easily. For now, you can 
choose a file, play it, pause and resume, restart the video, quit 
omxplayer, increase and decrease volume.

I encounter an annoying bug when restarting a video : one can briefly 
see what's behind the window, be it a console or lxde's desktop. 
Happily, omxplayer has also a counter-bug thats prevents the desktop to 
refresh itself (it stays black : you have to move the mouse all over the 
screen to refresh). So to keep the restart prettier, you have to launch 
the desktop manager.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130307/d10160e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omxplayercontrol.pd
Type: text/x-puredata
Size: 1974 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130307/d10160e2/attachment.bin>


More information about the Pd-list mailing list