使用网络摄像头捕获视频 [英] capture video using webcamera

查看:128
本文介绍了使用网络摄像头捕获视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用camerawindow.webcamera捕获视频.但是,现在我想关闭此摄像机窗口.
我用过

i could capture video from webcamera using camerawindow.but, now i want to close this camera window.
i used

if (!(videoSource == null))

                if (videoSource.Running)
                {

                    videoSource.SignalToStop();


                    videoSource = null;

                }



但这是行不通的.
我必须从另一个类调用此函数(SignalToStop()).

请帮助
感谢



but it''s not worked.
i have to invoke this function (SignalToStop()) from another class.

plz help
thanks

推荐答案

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10

单击此链接..我希望这对您有帮助
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10

Follow this link .. i hope this will be helpful


尝试访问以下站点: ^ ]它帮助我在流媒体和录制来自网络摄像头的视频中获得了大量源代码,希望您能找到想要的东西:)
try to have a look at this site: http://www.socketcoder.com/Default.aspx?index=0[^] it helped me alot with source code both at stream and record videos from webcam hope you can find what you want :)


这篇关于使用网络摄像头捕获视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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