Skip to content

Instantly share code, notes, and snippets.

@bbjubjub2494
Created June 8, 2020 14:09
Show Gist options
  • Save bbjubjub2494/7298c8ae52985d85cc3e3146178cf965 to your computer and use it in GitHub Desktop.
Save bbjubjub2494/7298c8ae52985d85cc3e3146178cf965 to your computer and use it in GitHub Desktop.
import processing.video.*;
Movie cam;
void setup() {
cam = new Movie(this, "testvideo.avi");
cam.loop();
}
void draw() {
if (cam.available() == true) {
println("read");
cam.read();
}
cam.get();
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment