Created
June 8, 2020 14:09
-
-
Save bbjubjub2494/7298c8ae52985d85cc3e3146178cf965 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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