本文介绍了AForge.Video.VFM和AVIReader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须创建axWindowsMediaPlayer的类似物.我阅读并使用了这篇文章中的部分代码,但是这篇文章中的代码仅从AVI获取图像文件.现在,我必须循环使用此代码.这就是为什么我需要使用AForge.Video.VFM的AVIReader类的原因.我写了下一个代码:

I must create analogue of axWindowsMediaPlayer. I read and used some part of code from this post, but code from this post get only image from AVI-files. Now, I must cyclical use this code. That is why I need working with class AVIReader of AForge.Video.VFM. I wrote next code:

openFileDialog1.ShowDialog();
            aviReader.Open(openFileDialog1.FileName);   //there I have exception
            Int32 length = aviReader.Length;


但是此代码会生成异常:未找到xvidcore.dll!"和ApplicationException:初始化解压缩器失败".
您能告诉我什么地方出了问题,如何使用此代码?
抱歉,PSI很抱歉,但我知道英语所以


But this code generates exception: "xvidcore.dll not found!" and ApplicationException:"Failed initializing decompressor".
Can you tell me what is wrong, and how can I use this code?
P.S.I''m sorry, but I know English so-so

推荐答案


这篇关于AForge.Video.VFM和AVIReader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 02:25
查看更多