movie playing on a loop
in
Core Library Questions
•
1 year ago
Hey, I'm hoping someone can help me fix this very simple problem. I'm new to processing and was just trying to ake a short video play on a loop. I have everything loaded into the libraries properly but for some reason the line image(myMovie, 0, 0); comes up as "error coordinate out of bounds!". I don't entirely understand what this means, I tried moving around the size and coordinate location but I don't seem to be having any luck. If anyone has any suggestions please let me know :)!
import processing.video.*;
Movie myMovie;
void setup() {
size(800, 800);
myMovie = new Movie(this, "movie 5.mov");
myMovie.loop();
}
void draw() {
image(myMovie, 0, 0);
}
void movieEvent(Movie m) {
m.read();
}
1