Hi there,
I’m trying to mess with some video using Processing, but I get an error whenever I try to use video.pixels, even after doing video.loadPixels()
import processing.video.*;
Movie video;void setup() {
loadPixels();
video = new Movie(this, “peter.mov”);
video.play();
video.loadPixels();
int n = video.pixels[0];}
void movieEvent(Movie video) {
video.read();}
ArrayIndexOutOfBoundsException: 0
Why is this? does it have something to do with the video format?