使用aforge FFMPEG时出错 [英] Error when I use aforge FFMPEG

查看:191
本文介绍了使用aforge FFMPEG时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi guy's

i在我的项目中使用Aforge lib捕获图像并记录来自webCam的实时视频...

但是当使用ffmpeg.dll来保存AVI文件时webCam发送此错误:



hi guy's
i use Aforge lib in my project for capture image and record live video from webCam ...
but when use ffmpeg.dll to save AVI file from webCam send this Error :

private VideoFileWriter FileWriter = new VideoFileWriter();
        FileWriter.Open("test.avi", 460, 500, 25, VideoCodec.Default, 5000000);
            img = (Bitmap)videoSourcePlayer.GetCurrentVideoFrame().Clone();
        FileWriter.WriteVideoFrame(img);





错误img:



[ ^ ]



如何处理此错误?

谢谢



我尝试过:



如何处理这个错误?

i不知道工作



Error img :

[^]

how to handle this error ?
thanks

What I have tried:

how to handle this error ?
i don't know work

推荐答案

参见 VideoFileReader类 [ ^ ]有关安装和使用的说明。
See VideoFileReader Class[^] for instructions on installation and usage.


这篇关于使用aforge FFMPEG时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆