VideoCapture crashed when open video in WIN32 Release (Bug #752)
Description
Platform: Windows 7 64bit Visual Studio 2010
Problem: the below failed when complied in Win32 Release, but works fine in Win32 Debug.
[[VideoCapture]] cap; cap.open("sample.avi");// Crashed at here ...
I think this problem comes from ffmpeg220.dll because when i forced the project(ffmpeg220.dll) complied in _DEBUG, problem solved.
Associated revisions
bugfix for highgui crash on Windows in debug mode (ticket #752) has been propagated from branch 2.2 to trunk
Merge pull request #752 from khzimmer:2.4
History
Updated by Stephan Schuetz about 14 years ago
I had the same problem.
Changing the option "Enable Incremental Linking" in "Release" configuration in the "opencv_ffmpeg" project to "Yes (/INCREMENTAL)" solved this problem for me (of course a rebuilding the library is necessary).
Maybe this should be assigned in the SVN trunk, if this is the solution.
Updated by 铖 许 about 14 years ago
the problem is likely fixed in r4462
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Martin Beckett about 14 years ago
Also fixes it for cv::VideoWriter()
(vs2010, win7)
Updated by Martin Beckett about 14 years ago
Sorry - I meant I have tested and it DOES fix it for cv::videowriter the '?' was a typo.
Updated by Leszek Swirski almost 14 years ago
This fix hasn't made it into the SVN trunk.
- Status changed from Done to Cancelled
- (deleted custom field) deleted (
fixed)
Updated by Vadim Pisarevsky almost 14 years ago
thanks! in r4942 the fix has been put to the trunk as well.
- Status changed from Cancelled to Done
- (deleted custom field) set to fixed