记录保存的网络摄像头视频在.net中? [英] Record save video from webcam in .net?

查看:122
本文介绍了记录保存的网络摄像头视频在.net中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我怎么可以让一个Windows应用程序有一些第三方的dll做一个网络摄像头视频录制。 我想打一个个人视频记录应用程序,以便提出任何DLL.Help

Hi how i can make a Windows App with some third party dll to make a webcam video recorder. I want to make a personal video log App so suggest any DLL.Help

推荐答案

您可以使用的 DirectShow的API 捕捉webcame视频。您可以使用DirectShow.Net库来更方便地访问它的功能在.NET

You can use the DirectShow API to capture webcame video. You can use the DirectShow.Net library to more easily access its functionality in .NET

例如:

  • http://www.codeproject.com/KB/audio-video/WebcamUsingDirectShowNET.aspx
  • http://blogs.msdn.com/b/markhsch/archive/2007/11/19/c-webcam-user-control-source.aspx

另一种选择是使用 Windows图像采集(WIA) API。第9频道包含一个较旧的文章(2008年),其中在Scott Hanselman显示了如何拍摄照片与网络摄像头:

Another option would be to use the Windows Image Acquisition (WIA) API. Channel 9 contains an older article (from 2008) where Scott Hanselman shows you how to capture pictures with a webcam:

捕获使用(而不是图像)WIA视频:

Capturing video using WIA (instead of images):

  • http://www.codeproject.com/KB/cs/WebCamService.aspx
  • http://www.codeproject.com/KB/dotnet/wiascriptingdotnet.aspx

不过,您可能不想使用它了,因为WIA 2.0(发布与Vista),主要是针对朝扫描仪,而不是其他的成像设备,如网络摄像头。它还包含了WIA传统支持,虽然1.0的应用程序。

However, you might not want to use it anymore as WIA 2.0 (released with Vista) is mainly targeted toward scanners instead of other imaging devices such as webcams. It still contains legacy support for WIA 1.0 applications though.

这篇关于记录保存的网络摄像头视频在.net中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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