FFmpeg和VS2010(Debug vs Release) [英] FFmpeg and VS2010 (Debug vs Release)

查看:337
本文介绍了FFmpeg和VS2010(Debug vs Release)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个项目上工作,需要FFmpeg库从视频文件中提取元数据。我使用zeranoe的静态构建( http://ffmpeg.zeranoe.com/builds/ ) 。该解决方案在调试模式下工作正常。

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 :

应用程序无法正确启动(0xc000007b)。点击确定关闭

我不知道为什么。任何建议?

I have no idea why .Any suggestions ?

conf:


  • MS visual Studio 2010 win 32应用程序

  • C ++ lang

  • Qt 4.3已使用

  • FFmpeg静态构建

  • Windows 64位系统

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

推荐答案

应该是关于缺少依赖DLL。您的疑难解答是使用 Dependency Walker 检查您的二进制文件并确定所需的[缺少]依赖关系。

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

依赖性DLL的可能问题包括:

Possible problems with dependency DLLs include:


  • 32/64位匹配不匹配依赖DLL

  • 破坏DLL本身

请注意,Dependency Walker涵盖了好。另请注意,如果使用不同文件夹中的输出构建应用程序,则应用程序的Debug / Release版本可能会有效地使用不同的FFmpeg(和/或其他依赖关系)DLL,因此具有不同的运行时行为。

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.

另请参见:

  • Now I use the automated built MinGW64 and put the .a and .h files to accordingly locatin, but the ffmpeg.exe cannot start and complained about the "The Application was unable to start correctly (0xc000007b)".

这篇关于FFmpeg和VS2010(Debug vs Release)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆