Call to VideoCapture::open() Freezes Process

asked 2014-01-15 09:12:40 -0500

Larry gravatar image

I am using OpenCV 2.4.8 on Windows XP to capture video from a Toshiba IK-HR2D video camera connected via USB2. Things worked for a while, but now, calls to VideoCapture::open() never return, and I have to reboot the system to kill the process. I traced the execution to cap_dshow.cpp, line 2705:

hr = VD->pCaptureGraph->RenderStream(&PIN_CATEGORY_PREVIEW, &MEDIATYPE_Video, VD->pVideoInputFilter, VD->pGrabberF, VD->pDestFilter);

I know nothing about DirectShow, nor do I want to learn about it. That is why I am using OpenCV. Can someone please help me to solve this problem?

Thank You

Larry

edit retag flag offensive close merge delete