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
Strange Behavior (Read 602 times)
Strange Behavior
Dec 8th, 2006, 12:35am
 
I have been using the video Capture class for a while with no problems.  However, moving my code onto my laptop introduced a strange problem.  

The line :
Code:

println(Capture.list());

Causes an EXCEPTION_ACCESS_VIOLATION (0xc0000005).  If I comment this line out, the program runs.  Of course you need to use this line if you plan on choosing a camera by name.  

Video capture programs work fine, as long as you use the null argument to choose the first found camera :
Code:

camera = new Capture(this, null, 320,240);


With that, it works 100%.  I thought this was strange that the laptop (Dell E1505) didnt like the Capture.list() but the desktop (Generic P4) doesnt care.  

Both use Win NT Sp2, WinVDIG 1.0.1, QT 6.5.2 and a Logitech Quickcam IM.

Maybe this info will help someone else.
Page Index Toggle Pages: 1