Opening and Closing multiple videoCapture crash

asked 2013-06-21 04:21:09 -0500

Hi, I'm developing an application using multiple webcams, compiled with MSVC10 on Win7 (tried with openCV241 and openCV245 videoCapture class).

I understand there is limited bandwidth with a USB port and therefore my application only activate one webcam at a time. I'm using multiple videoCapture objects for each webcam, '' and 'videoCapture.release()' commands to switch between webcams.

Most of the time I can switch over to a different webcam but occassionally my application crashes. I manage to isolate the crash at the 'videoCapture.release()' command. Please can anyone help with this issue?

edit retag flag offensive close merge delete