EasyNVR H5无插件RTSP直播方案在Windows server 2012上修复无法定位GetNumaNodeProcessorMaskEx的问题

今天遇到一个客户在使用EasyNVR无插件安防直播解决方案的时候,在Windows Server 2012上出现一个问题提示:

EasyNVR无插件RTSP播放

经过反复的查找,虽然提示上显示问题出在KERNEL32.dll上,但是已经论证,实际应该还是出在ffmpeg的调用兼容上,于是,我们在博客:http://www.cnblogs.com/nlsoft/p/5714393.html 中找到了解决方案,将ffmpeg的对应接口调用做一次新的关系映射即可:

FT ft[]={
{"_wfopen_s",                    "_wfopen"},
{"strncpy_s",                    "strncpy"},
{"swscanf_s",                    "swscanf"},
{"strtok_s",                     "strtok"},
{"GetNumaNodeProcessorMaskEx",   "GetNumaNodeProcessorMask"},
{"InitializeConditionVariable",  "InitializeCriticalSection"},
{"SetThreadGroupAffinity",       "SetThreadAffinityMask"},
{"SleepConditionVariableCS",     "LeaveCriticalSection"},
{"WakeAllConditionVariable",     "EnterCriticalSection"},
};

我在Github也备份了一份转换文件:
https://github.com/EasyDarwin/Tools/tree/master/fix-ffmpeg-bin
需要注意的是,cmd文件和exe文件要跟ffmpeg相关的dll/exe放在同级目录中;

EasyNVR无插件直播方案介绍

EasyNVR无插件直播

EasyNVR RTSP无插件直播

EasyNVR H5播放RTSP

更多细节可以到:http://www.easydarwin.org/ 索取!

posted @ 2017-08-02 17:08  Babosa|EasyDarwin  阅读(394)  评论(0编辑  收藏  举报