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
Bug 230 (Exporting a live cam) (Read 274 times)
Bug 230 (Exporting a live cam)
Feb 26th, 2008, 11:07pm
 
Hey Dudes,

I'm trying to export a captured live cam or a recorded movie up to my server using export.
Under applet export page says "The "Movie" and "Capture" examples do not yet work properly, this will be fixed shortly."
In Bug 230 page there are comments saying that the reason behind this is "because its class name conflicts with the "Movie" class, which is even used
by the sketch. this prevents exporting whether to applet or application."
and Reas solution is "Done. "Movie" changed to "MoviePlayback" and "Capture" to "WebCam".

Now for a simple read() code that reads a recorded movie I changed all "Movie" to "MoviePlayback" but processing doesnt recognize it.

I was wondering if the problem still exists or there is a way of fixing it.

import processing.video.*;
Movie myMovie;

void setup() {
 size(200, 200);
 background(0);
 myMovie = new Movie(this, "movie1.mov");
 myMovie.loop();
}

void draw() {
 image(myMovie, 0, 0);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
 m.read();
}
Page Index Toggle Pages: 1