简体   繁体   中英

FFmpeg and VS2010 (Debug vs Release)

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

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM