Ask Your Question

Luc's profile - activity

2012-09-17 05:19:46 -0600 received badge  Student (source)
2012-08-10 04:52:57 -0600 answered a question VideoCapture is not working in OpenCV 2.4.2

I have the same problem in windows7 and Visual Studio 2008. When i read frames from a capture the first 2 frames are read as black frames, and my program crashes at the third frame.

Does anyone know how to solve this issue in win7 visual studio 2008?

2012-08-10 03:20:20 -0600 asked a question 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.