On 13/02/13 21:15, João de Brito Rocha Reis Vidigal wrote:
Ok... Hands on!
I kinda need this... So guide me and I'll try my best!

1st - can I use pdp_xv on the RPi?... will it work?
putting it very simply, the thing I need is really just a video window to
throw some videos in... short videos and from time to time. meaning it is not
a VJ machine... which it could be... but it ain't!


if you really just need to play videos triggered by your pd patch then you can use the player that comes with the Pi, it can be played using [shell].

here is a very quick example I set up for a friend who wanted to play a bunch of videos on que, starting different videos together on 4 or 5 Pis cued from a laptop over wifi. It wasn't hard for her to get a screenfull of buttons to do the cues she wanted, and the Pis were great since she didn't have much time to set up in the venue, so her wifi network could be run and tested offsite. Plus the Pis worked out cheaper than buying long VGA cables etc.

Anyway this worked for her .. obviously it is extremely limited, but it does let you play videos cued by pd. Just open pihelp.pd

Now I want to get things a bit better, and see if I can put together a very simple set of pd objects to set up a window then play and crossfade a series of videos. Nothing fancy yet, but just getting that up will be a start.

Unfortunately it can't happen too soon, I've got some other stuff on my plate 
too.


Simon
#N canvas 7 74 428 368 10;
#X obj 36 118 starter;
#X obj 250 117 playit;
#X text 116 201 open me using right-click for more info;
#X text 125 327 Simon Wise 2012;
#X text 139 219 (or control-click on OSX);
#X text 222 96 put this on each Pi ..;
#X text 6 279 IMPORTANT: if [netsend] can't connect it will hang;
#X text 5 294 for a long time \, until eventually it times out;
#X text 77 27 sudo apt-get install pd-ggee;
#X text 12 65 THEN:;
#X text 11 4 FIRST: to get [shell] install package pd-ggee on the Pi's
;
#X text 30 95 put this on your laptop;
#N canvas 5 102 227 118 10;
#X obj 31 23 netreceive 3001;
#X floatatom 118 56 5 0 0 0 - - -;
#X obj 31 52 ggee/shell;
#X connect 0 0 2 0;
#X connect 0 1 1 0;
#N canvas 391 98 379 614 10;
#X obj 185 300 netsend;
#X msg 196 249 connect 192.168.0.11 3001;
#X obj 101 88 bng 15 250 50 0 empty empty 1 5 8 0 10 -1794 -1 -262144
;
#X obj 97 23 bng 60 250 50 0 empty empty go 5 25 0 40 -1794 -1 -262144
;
#X obj 101 104 bng 15 250 50 0 empty empty 1 5 8 0 10 -173826 -1 -262144
;
#X obj 72 402 netsend;
#X obj 121 88 bng 15 250 50 0 empty empty 2 5 8 0 10 -1794 -1 -262144
;
#X obj 121 104 bng 15 250 50 0 empty empty 2 5 8 0 10 -173826 -1 -262144
;
#X obj 177 489 netsend;
#X obj 141 88 bng 15 250 50 0 empty empty 3 5 8 0 10 -1794 -1 -262144
;
#X obj 141 104 bng 15 250 50 0 empty empty 3 5 8 0 10 -173826 -1 -262144
;
#X msg 83 378 connect 192.168.0.12 3001;
#X msg 188 466 connect 192.168.0.13 3001;
#X msg 11 194 connect localhost 3001;
#X text 11 175 for a local test ...;
#X msg 11 220 send gvim;
#X text 214 196 the command goes here ..;
#X text 244 233 the address here;
#X text 215 267 3001 is the port number;
#X text 175 43 all go at once;
#X text 173 89 green = go;
#X text 172 104 brown = connect;
#X text 135 589 Simon Wise 2012;
#X text 185 58 (must be connected first);
#X text 59 562 just edit commands and addreses to suit!;
#X msg 185 211 send omxplayer fireleft.mov;
#X msg 72 350 send omxplayer waterleft.mov;
#X msg 177 437 send omxplayer fireright.mov;
#X connect 1 0 0 0;
#X connect 2 0 25 0;
#X connect 3 0 2 0;
#X connect 3 0 6 0;
#X connect 3 0 9 0;
#X connect 4 0 1 0;
#X connect 6 0 26 0;
#X connect 7 0 11 0;
#X connect 9 0 27 0;
#X connect 10 0 12 0;
#X connect 11 0 5 0;
#X connect 12 0 8 0;
#X connect 13 0 0 0;
#X connect 15 0 0 0;
#X connect 25 0 0 0;
#X connect 26 0 5 0;
#X connect 27 0 8 0;
#X coords 0 -1 1 1 75 120 1 90 2;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to