Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Video Capture not working in OpenCV 2.4.2 Windows7 32bit vs9

Hi all,

I'm using the precompiled version of opencv 2.4.2. for windows 7 32bit on Visual Studio 2008. All sample projects compile just fine.

However when I initialize a VideoCapture with: "cv::VideoCapture cap( "in.avi" );"

and then start reading frames with: "cv::Mat in; cap >> in;"

I can read the first 2 frames of the video just fine, but get a crash at the third frame.

How can I solve this problem?

Many thanks.