FFmpeg and VS2010 (Debug vs Release)

2019-08-04 16:19发布

I 'm working on a project the requires FFmpeg libraries to extract metadata from a video a file. I' m using static builds from zeranoe (http://ffmpeg.zeranoe.com/builds/) . The Solution works fine in Debug mode .

But when I start it in release mode I get this error :

"The application was unable to start correctly (0xc000007b).Click ok to close "

I have no idea why .Any suggestions ?

conf :

  • MS visual Studio 2010 win 32 application
  • C++ lang
  • Qt 4.3 used
  • FFmpeg static builds
  • Windows 64 bit system

1条回答
Viruses.
2楼-- · 2019-08-04 16:24

It should be about missing dependency DLLs. Your troubleshooting is to use Dependency Walker to check your binary and identify [missing] dependencies it require.

Possible problems with dependency DLLs include:

  • 32/64 bitness mismatch of a dependency DLL
  • broken DLL itself

Note that Dependency Walker covers these as well. Also note that if you build your application with output in different folders, your Debug/Release versions of the application might be effectively using different FFmpeg (and/or other dependency) DLLs, hence different runtime behavior.

See also:

查看更多
登录 后发表回答