EasyRTMP failed to startup in release version after upgraded to the latest version of ffmpeg 2


To enhance the OSD functions for EasyRTMP, I tried to upgraded the ffmpeg to the latest version(2.2.4).

After a bounch of code/interface adjustment, it finally passed the test in debug version. But while I tried to bulid it in release version, and tried to run it.

A familiar dialog poped out.
release-version-can-not-work-due-to-ffmpeg
So I tried to use the Dependency Walker to locate the issue.

As you can see, there was nothing, not even a single interface being found.
dependency-walker-for-easyrtmpSo I decided it was a link-time issue, maybe the interfaces definitions were stripped out in the linking time.

Go back to the Visual Studio, open Project Properties –> Linker –> Optimization, find the References property in the right side of the propery page, and try change the setting to “Keep Unreferenced Data(/OPT:NOREF)”.
compiling-project-with-the-latest-ffmpeg-in-VS2008

Now rebuild the project and launch it. God, it worked, XDXD.


Leave a comment

Your email address will not be published. Required fields are marked *

2 thoughts on “EasyRTMP failed to startup in release version after upgraded to the latest version of ffmpeg

  • xinyangyuan

    你好,请问easyrtmp的开源项目还在维护吗?我在github上看见最新的更新是2012年的,请问最新的源码托管在哪里?