We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
unable to list video capture devices (Read 713 times)
unable to list video capture devices
Apr 26th, 2010, 11:36am
 
I've run into a very peculiar bug with the Capture.list() method of the Processing video library (I'm working on a MacBook Pro with the Processing 1.1 release). I have no trouble with the actual capture; however, I'm unable to retrieve the list of capture devices using either:

Code:
  String[] devices = Capture.list();
 println(devices);


or

Code:
  println(Capture.list());


Using either of these solutions consistently produces the following error (even in the video capture library examples that ship with the Processing IDE):

"Couldn't find any capture devices, read the video reference for more info."

Since the Capture is automatically defaulting to my MacBook iSight camera, I'd like to switch it to an external device. In the past, I'd used the string array from the Capture.list() method to specify other cameras, but now I just encounter the above error.

As I've said, the capture actually runs, meaning I can display it to the screen and do basic image processing on captured frames. I just can't get Capture.list() to work.

Any help would be greatly appreciated!
Page Index Toggle Pages: 1