VideoCapture crashed when open video in WIN32 Release (Bug #752)


Added by 铖 许 over 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

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

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

Revision 0cfcb487
Added by Vadim Pisarevsky almost 14 years ago

bugfix for highgui crash on Windows in debug mode (ticket #752) has been propagated from branch 2.2 to trunk

Revision 1e9ed142
Added by Andrey Kamaev almost 12 years ago

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

Also available in: Atom PDF