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.
Hi,
thanks for sharing, it works but still with the audio crack when launching and quitting omxplayer but this is an omxplayer's issue...
cheers a
-- do it yourself http://antoine.villeret.free.fr
2013/3/7 batinste dwanafite@yahoo.fr
Hi list
Looking for a way to control video playback on the Raspberry Pi outside Gem's realm, i stumbled across omxplayer and this topichttp://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.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thank you for the idea ! This has nothing to do with this thread, but i was actually looking for a way of controlling VLC, and this is really all the inspiration I needed.
Cheers,
Pierre.
2013/3/16 Antoine Villeret antoine.villeret@gmail.com
Hi,
thanks for sharing, it works but still with the audio crack when launching and quitting omxplayer but this is an omxplayer's issue...
cheers a
-- do it yourself http://antoine.villeret.free.fr
2013/3/7 batinste dwanafite@yahoo.fr
Hi list
Looking for a way to control video playback on the Raspberry Pi outside Gem's realm, i stumbled across omxplayer and this topichttp://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.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list