Loading...
Logo
Processing Forum
Hello,

I'm having some strange issues trying to access a webcam on Windows.
I get this an error dialog mentioning the camera name and
SetFileName failed

.That is using Processing 1.5.1 with the latest version of Quicktime and WinVDIG on Windows 8.
I've tried two different cameras (the default "HD WebCam" and a "Logitech HD Pro Webcam C920").

I found this post somewhat helpful: when I run Processing.exe as administrator I don't get the error anymore, but there still is no data coming in from the cam. Also, I've noticed the webcam works with the latest version of Processing (2.0b5), but I need to compile a large project which is older and anything related to graphics fails (including an error saying that the core.PGraphics3D class isn't found) :( 
Another thing is, using the camera also works in Processing 1.5.1 using the OpenCV Processing wrapper library to fetch frames.

Any hints/tips on how I can get the camera working in Processing 1.5.1 using the Capture class ?

Thanks,
George

Replies(1)

The problem seems to be using the Capture class on Windows 7 or higher where not all WinVDIG versions work perfect. Version 1.01 seems to work best at this point (less errors and the image can scale down, improving framerate)