Ask Your Question

Capture issue -> BSOD

asked 2014-05-01 02:35:37 -0600

Stoo gravatar image


I'm using OpenCv 2.4.8 in VisualStudio 2010 under Windows8. My goal is to get an image from a camera fixed on a UAV. It's a small Sony camera similar to that one :Camera This camera sends the data via a TS351 emitter, which i receive by a RC305 receiver. Finally i use an EasyCap USB 2.0 to get the image on my computer.

I tried to receive the image on Matlab and it works just fine; but now i need to get it on my c++ program. When trying to reach my computer webcam (device 0), no problem at all; Opencv works fine, but when i try to open device 1, although it works on Matlab; it bugs on OpenCv, opening the camera by the following code:

capture = cvCaptureFromCAM( 1 );

And when I say it bugs, well it really does.. Blue screen of death everytime.

I really don't get it, and i'm not familiar with the different types of video data; so any help will be good to take =)

Thank you!


edit retag flag offensive close merge delete



Pretty simple, openCV 2.4.8 qd te cvCaptureFromCAM(1) - which is C-API - is the worst combo ever. Use the new VideoCapture interface, that will surely do its job and uses the C++ API instead of the C API

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-01 02:48:02 -0600 )edit

Actually i used VideoCapture interface first, but since it was not working, i tried cvCaptureFromCAM as well. Same result for both: - Working with my PC's webcam - BSOD when trying to access the other camera Any other idea?

Stoo gravatar imageStoo ( 2014-05-01 03:54:10 -0600 )edit

Did you try with the -1 option? It takes any cam connected to the system.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-02 02:22:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-03 05:09:41 -0600

Stoo gravatar image

Actually i found the problem, the image grabber was not considered as a camera. I used a software called DVDriver to make the conversion and it works just fine now. Thank you guys for ur suggestions =)

edit flag offensive delete link more



Thanks so much for the DVDriver tip! My capture cards are playing nicely now.

quantumguy gravatar imagequantumguy ( 2014-05-04 15:40:25 -0600 )edit

Question Tools


Asked: 2014-05-01 02:35:37 -0600

Seen: 736 times

Last updated: May 03 '14