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
cannot find any capture device (Read 1120 times)
cannot find any capture device
Nov 4th, 2005, 9:54am
 
I have a Logitect QuickCam pro 4000 and it works perfectly. I try the "capture" programme in 92Beta but Capture.list() report to me that there is no any capture device found. Thus I cannot define the name of the capture device. I use the default statement to initialize the camera (i.e. "camera = new Capture(this, 320, 240, 12); ") but the capture window fails to display anything. The code I tried is the following:



// Capture
// by REAS <http://reas.com>

// Reading and displaying an image from an
// attached Capture device.

// Updated 8 April 2005

import processing.video.*;

Capture camera;

void setup()
{
 size(200, 200);
 println(Capture.list());

 // Specify your own device by the name of the capture
 // device returned from the Capture.list() function
 //String s = "Logitech QuickCam Zoom-WDM";
 //camera = new Capture(this, s, width, height, 30);

 // If no device is specified, will just use the default
 camera = new Capture(this, 320, 240, 12);
}

void captureEvent(Capture camera)
{
camera.read();
}

void draw()
{
image(camera, 0, 0);
}


some error messages like these are listed:
at processing.video.Capture.list(Capture.java:477)

at Temporary_2982_9965.setup(Temporary_2982_9965.java:20)

at processing.core.PApplet.display(PApplet.java:1081)

at processing.core.PGraphics.requestDisplay(PGraphics.java:516)

at processing.core.PApplet.run(PApplet.java:976)

at java.lang.Thread.run(Unknown Source)



I was asked to check faq but I have not found any useful information. of course I also try setting the name of device to "Logitech QuickCam pro 4000" but no use. I encounter the same problem in 91Beta and 93Beta. I don't understand why my webcam cannot be detected.
Re: cannot find any capture device
Reply #1 - Nov 4th, 2005, 1:51pm
 
did you install winvdig?
http://processing.org/faq/bugs.html#video
Re: cannot find any capture device
Reply #2 - Nov 7th, 2005, 2:44am
 
Thanks for the suggestion. It works now.
Since there was no error message about QuickTime issue from the system so I just thought that my problem has nothing to do with WinVDIG.
Page Index Toggle Pages: 1