当前位置:网站首页>AForge "failed to load the file or assembly" aforge.video.ffmpeg.dll "or one of its dependencies. The specified module cannot be found "
AForge "failed to load the file or assembly" aforge.video.ffmpeg.dll "or one of its dependencies. The specified module cannot be found "
2022-07-22 19:49:00 【Caiyuan who loves programming】
problem : The file or assembly could not be loaded “AForge.Video.FFMPEG.dll” Or one of its dependencies . The specified module was not found .
1.Aforge.Net Subproject has AForge.Video.VFW Provide for the right to Avi Operation of file ,AForge A sub project is added later AForge.Video.FFMPEG adopt FFmpeg library , Provides support for a large number of video formats , We all know ,FFmpeg Is a very powerful video processing class library , It's also open source , however AForge.Video.FFMPEG It's still in the experimental stage , The goal is to use FFmpeg replace AForge.Video.VFW Provide a better library for video file operation , However, the library value currently provides reading and writing of video data , It does not support reading and writing audio files , May support in the future
In use AForge.Video.FFMpeg when , Add pair AForge.Video.FFMPEG.dll, AForge.Video.dll and AForge.dll Three dll References to
If not, it is because of the lack of FFmpeg Related library files ,
2. We need to take FFmpeg Copy relevant files to Debug Under the table of contents (AForge.NET\Framework\Externals\ffmpeg\bin All under the path dll)
If it doesn't :
3.
Modify the configuration manager
Solution right click on Configuration Manager , The activity plan platform includes x86 choose X86, New if not ( Or edit -> Remove and then create , Because it's possible that there x86 Settings are replicated Any CPU Of ), New words here —–> The copy setting here is ” empty ”( Focus on !!! That's why I haven't succeeded ),
If not , And what happens to happen is the following similar problems
Mixed mode assemblies are for “v2.0.50727” Version of the runtime , Without configuring other information , Cannot be in 4.0 Load the assembly from the runtime .
4.
Open the problem solving Explorer on the right App.config
Replace the code inside with the following code :
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
边栏推荐
猜你喜欢
It is found that the MariaDB database is 12 hours late, and the xxljob scheduled task scheduling is abnormal
zabbix怎样创建只监控某个端口状态的模板
数据仓库模型设计与工具
Domestic stereo audio frequency d/a converter dp4344 replaces compatible cs4344
CV520国产替代CI520非接触式读写器读卡芯片
安装mariadb 10.5.7(tar包安装)
MySQL converts milliseconds into time string
zabbix怎样自定义mysql监控项并触发告警
Why choose b+ tree for index
mysql进阶(十七)Cannot Connect to Database Server问题分析
随机推荐
虚函数
分享一下Typora工具
warning: [mariadbmon] The current master server ‘srv-cls01-02‘ is no longer valid because it is in r
SI12T触摸按键芯片替代TMS12
zabbix实现钉钉监控告警
ansible简单使用示例
友元函数和友元类
JVM-VisualVM:多合-故障处理工具
ES6新特性分享(完结)
PHP implementation of SQLite udf/udaf
mariadb审计插件
NIOFiles工具类
oracle怎样转义单引号
基础类型
Zabbix Server宕机报“__zbx_mem_malloc(): out of memory (requested 96 bytes)”
MySQL创建分区表,并按天自动分区
Setting proxy method in PHP curl request
-Bash: ifconfig: command not found
Polymorphism
No code coverage driver is available