OpenCV 2.2 HighGui220.lib in relase mode is not working (Bug #2479)


Added by S K over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-10-26
Priority:Blocker Due date:
Assignee:S K % Done:

0%

Category:highgui-video
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I am using OpenCV2.2 to capture frames from a 1080p uncompressed avi file.

Error: Unhandled exception at 0x76fb15de in HDXPRT_VQ2.2.exe: 0xC0000005: Access violation.

Environment:
Visual Studio 2010
OpenCV 2.2
X86
Windows 7
Build is in Release mode

Code snippet: (video_file contains a 1080p HD uncompressed avi file)
CvCapture *capture = cvCaptureFromAVI(video_file); <<<<<<<--------------this call fails
if(!capture) {
cout << "Capture from AVI didn't work" << endl;
return FALSE;
}
I also tried with cvCaptureFromFile(video_file) call, which fails as well.
OpenCV2.2\lib\opencv_highgui220.lib (release lib) does not seem to work. I tried running with OpenCV2.2\lib\opencv_highgui220d.lib(debug lib) in Release mode and things work fine.
But, this is not the solution for me as I don't want to mix debug and release libraries and I will have issue deploying it.

Please look into this issue.
Thanks for the help
Shikha


Associated revisions

Revision dc28451b
Added by Andrey Pavlenko almost 11 years ago

Merge pull request #2479 from alalek:ocl_compare_scalar

History

Updated by Vadim Pisarevsky over 12 years ago

Unfortunately, we are physically not able to support earlier versions of OpenCV. If the problem can be reproduced with the latest version (2.4.3rc), please, reopen the ticket.

  • Status changed from Open to Cancelled

Also available in: Atom PDF