hey Simon,
I haven't check the JSON/RPC API of XBMC but yes I think there is some possibilty here Another way is to start with video player example like Ju said on his blog : http://w.xuv.be/projects/raspi_video_loop I'll give it a try next week and keep you aware. My goal is to be able to sync several RPi in a frame accurate way.
Cheers
-- do it yourself http://antoine.villeret.free.fr
2013/2/16 Simon Wise simonzwise@gmail.com
On 16/02/13 20:16, Antoine Villeret wrote:
hello,
if by "from within PD" you mean triggering omxplayer from pd you can do that either by using [shell] like Simon explained or by using pdsend and pdreceive, this could be done remotely, here is an how to : http://antoine.villeret.free.**fr/?p=600http://antoine.villeret.free.fr/?p=600 cheers
yes .. a pipe works fine as well.
Antoine did you check out xbmc further, I don't have a Pi here at the moment but have been looking at the xbmc docs and it can be controlled directly through a TCP port, so you should be able to do a lot more control (via netsend etc). Perhaps only the media centre playlist, looping and seeking stuff ... no crossfades that I can see. There does seem to be some provision for custom effects somewhere, via shaders but it seems, but probably only in GL, not in GL-ES. Still ... accurate seeking could be useful, there seems to be access to a global clock and seeks in files ... both with high enough resolution to sync things well. I'll test that when I can when I get a chance.
Has anyone tried using pdp on a Pi? again, I'll have a play when I've got one here. Pdp has an xv window, and a movie player that uses the linux quicktime library ... is the quicktime library available for Pi? and if so does it use the built-in codecs? ... that could be a way to go for fairly straightforward video playback.
Simon
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list