简体   繁体   English

FFmpeg和VS2010(调试与发布)

[英]FFmpeg and VS2010 (Debug vs Release)

I 'm working on a project the requires FFmpeg libraries to extract metadata from a video a file. 我正在一个需要FFmpeg库从视频文件中提取元数据的项目中。 I' m using static builds from zeranoe ( http://ffmpeg.zeranoe.com/builds/ ) . 我正在使用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 " “该应用程序无法正确启动(0xc000007b)。单击“确定”关闭”

I have no idea why .Any suggestions ? 我不知道为什么。有什么建议吗?

conf : conf:

  • MS visual Studio 2010 win 32 application MS Visual Studio 2010 Win 32应用程序
  • C++ lang C ++语言
  • Qt 4.3 used Qt 4.3使用
  • FFmpeg static builds FFmpeg静态版本
  • Windows 64 bit system Windows 64位系统

It should be about missing dependency DLLs. 它应该与缺少依赖项DLL有关。 Your troubleshooting is to use Dependency Walker to check your binary and identify [missing] dependencies it require. 您的故障排除方法是使用Dependency Walker检查二进制文件并确定所需的[缺少]依赖项。

Possible problems with dependency DLLs include: 依赖项DLL可能存在的问题包括:

  • 32/64 bitness mismatch of a dependency DLL 依赖项DLL的32/64位不匹配
  • broken DLL itself 损坏的DLL本身

Note that Dependency Walker covers these as well. 请注意,Dependency Walker也涵盖了这些内容。 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. 还要注意,如果使用不同文件夹中的输出构建应用程序,则该应用程序的Debug / Release版本可能有效地使用了不同的FFmpeg(和/或其他依赖项)DLL,因此运行时行为也有所不同。

See also: 也可以看看:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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