I'm trying to use more than 3 webcams with Processing (on the mac).
I first tried selecting individual cameras using the strings from Capture.list(), but what's on that list never changes (see
http://forum.processing.org/#Topic/25080000000334003) so that doesn't work.
So then I setup a keyPressed() action for numbers 1-5, so that when I press 1 it sets up a new capture variable and loads capture.settings() on it in order to select the source. So on for numbers 2-5. This works for two cameras, but usually bugs out for 3 or more. I did have it working once for 3, but never more than 3. It seems to be somewhat dependent on the order I've plugged cameras into the USB ports, but it's not predictable.
Errors I get with this process include:
quicktime.std.StdQTException[QTJava:7.6.6g],-9405=couldntGetRequiredComponent,QT.vers:7668000...Exception in thread "Animation Thread" java.lang.RuntimeException: No capture could be found, or the VDIG is not installed correctly....
I don't see how the VDIG error is correct, since it loads the first and sometimes second camera before I get that error.
I have tried swapping cameras around trying to see if it's a particular camera causing the problem, but it doesn't appear to matter at all.
Any ideas are greatly appreciated. I'm running out of options!
thanks
1