我从这个站点下载了控制 AR Drone 的项目:
https://github.com/Ruslan-B/AR.Drone
这个项目很旧。然后我从这个站点下载了 ffmpeg.autogen 库
https://sourceforge.net/projects/ffmpeg-autogen/?source=typ_redirect
这是旧版本的 ffmpeg,因为旧版本 AR.Drone。我必须是.NET Framework 4.0 版本。
项目已编译,但是当我运行应用程序时出现错误:
"Unable to load DLL 'avcodec': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
错误发生在这一行:
FFmpegInvoke.avcodec_register_all();