Ask Your Question

Revision history [back]

VideoCapture Release Mode

Hi, I am using W7/32bits with VC++ 2010, Opencv 2.0 The command "VideoCapture constructor", written like in the sample below, works fine under Debug version and crashes under release.

include <stdio.h>

include <tchar.h>

include "cv.h"

include "highgui.h"

using namespace cv;

int _tmain(int argc, _TCHAR* argv[]){ VideoCapture capture("video.avi"); //320X240, 50 fps, if(!capture.isOpened()) return 0;
return 0; } please help

click to hide/show revision 2
the "101010" button, use it !

updated 2013-06-06 06:21:36 -0500

berak gravatar image

VideoCapture Release Mode

Hi, I am using W7/32bits with VC++ 2010, Opencv 2.0 The command "VideoCapture constructor", written like in the sample below, works fine under Debug version and crashes under release.

include <stdio.h>

include <tchar.h>

include "cv.h"

include "highgui.h"

#include <stdio.h>
#include <tchar.h>
#include "cv.h"
#include "highgui.h"
using namespace cv;

cv;

int _tmain(int argc, _TCHAR* argv[]){ VideoCapture capture("video.avi"); //320X240, 50 fps, if(!capture.isOpened()) return 0;
return 0; }

please help