Hi,
this will not play queued movies, but you can change from one to another with a keystroke/mouse instance.
Quote:import processing.opengl.*;
import processing.video.*;
FasterMovie myMovie;
PImage mImage;
void setup()
{
size(800,600, OPENGL);
// for smoother result, try different size/rendering like P3D or JAVA2D
frameRate(60);
myMovie = new FasterMovie(this, "Movie1.mov",false);
myMovie.loop();
}
void movieImageAvailable ( PImage _myMovie )
{
mImage = _myMovie;
}
void draw(){
image(myMovie,0,0,width,height);
if(mousePressed){
myMovie.stop();
myMovie = null;
mImage = null;
myMovie = new FasterMovie(this, "Movie2.mov", false);
myMovie.loop();
}
}
To use this code and play your movies faster, you'll have to add FasterMovie.pde in your sketch :
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1175633922;start=8#8
and replace the video library with this one there :
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Video;action=display;num=1174051925