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
On 17/02/13 17:51, Antoine Villeret wrote:
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.
yes - me too, that's the first step .. xbmc seems promising, the way I've done it very successfully in the past is just sending frame numbers to pix-video in gem, using the computer that was running audio as the master clock. My friend found that just using omxplayer kept quite good sync over 20 minutes or so, and she is quite picky about that kind of thing. I didn't see the result myself, it was on the other side of the world.
After sync I want to tackle crossfades, which pdp might be able to achieve, then the kind of framing that can be done by moving a rectangle around in 3D, which will require some extra work. But not in a huge hurry, and a lot of other things to do, but should get my hands on a Pi in the next few weeks.
I've got lots of existing GEM stuff I was running a few years ago using a mac mini per projector that I'd like to port to Pis.
Simon