Hi, I have a weird problem. Recently some of my webcam interface code stopped working and now I've found that all my video library applications seem a bit temperamental on my system.
For example I have the same webcam initialise code in two programs, one works every time while the other one (which is more complex generally, though the webcam process is the same) just hangs on compiling 95% of the time. It seems that it doesn't like the following essential line:
Code: cam = new Capture(this, 320, 240);
In the other (good) code this works fine and I can display and manipulate the webcam input no problem.
I've found that I can repeat this problem using the processing examples (to save you helpful people from trying to understand my code).
AsciiVideo works every time with my webcam while
GettingStartedCapture doesn't compile (but doesn't give me any error messages, it just hands). What makes these two pieces of code so different when the initialise webcam routine is the same?
Do you think this could be a hardware issue or something to do with VDIG. The fact that AsciiVideo is so robust makes me think that this isn't the case but let me know if I'm wrong.
Any help appreciated :-)
Ad