We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
play video on multiscreen (Read 520 times)
play video on multiscreen
Sep 6th, 2008, 2:52pm
 
Hi all,
I'm trying to split one dv pal video (720x576) onto 21 screens. First of all I'm going to describe the whole installation. The matrix is made by 11x4 elements which only 21 are lcd monitors. My plan is to use 1 macbook pro as server and 7 pc as slaves, on every pc are connected 3 monitors through a triplehead2go. First of all I made a sketch with the simple movie playing and it works well, then I inserted the mostpixelever elements to split into various pc's. the split works (or it seems to work) but the movie doesn't play.I have a SD video divided by a matrix of 11x4 every screen has only 65,45 by 144 pixels of the whole image.

here is the code:

import mpe.config.*;
import mpe.client.*;
import processing.video.*;
Movie myMovie;
UDPClient client;

void frameEvent(UDPClient c){
 redraw();
}

void setup() {
 //size(720, 576);
client = new UDPClient(sketchPath("mpe.ini"),this);
size(client.getLWidth(), client.getLHeight());
client.start();
noLoop();
 myMovie = new Movie(this, "Comp 1.mov");
 myMovie.play();
}


void draw() {
client.placeScreen();
 image(myMovie, 0, 0);
 client.done();
}

void movieEvent(Movie m) {
 m.read();
}


the mpe.ini is:

id=0;
server=192.168.123.100;
port=9002;
localScreenSize=64.45,144;
localLocation=144,0;
masterDimensions=720,576;
debug=0;


the sketch works but the video doesn't work.

anyone has encountered the same problem?
thanks
Page Index Toggle Pages: 1