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
Switching the Video Camera (Read 658 times)
Switching the Video Camera
Apr 18th, 2009, 3:01pm
 
I'm working on an application that reads in and displays video. I need to be able to switch to different cameras that are available. I can select an available device once, then switch to another one, but if I try to select a previously selected camera again, or one of the drivers that's not available I get the following error:

quicktime.std.StdQTException[QTJava:7.6.0g],-9405=couldntGetRequiredComponent,QT.vers:7608000
etc...

To make the switch I'm using the list() method then re-creating the Capture object like this:

video = new Capture(this, width, height,new_camera,15);

Any ideas?

Thanks!
Re: Switching the Video Camera
Reply #1 - Apr 18th, 2009, 11:53pm
 
I should add that the app freezes immediately after throwing the exception on my MBP, but doesn't freeze on a colleagues newer machine running Mac OS 10.5, although the error still occurs.
Page Index Toggle Pages: 1