" preferred"方法从C#访问摄像头在Windows Vista / 7 [英] "Preferred" method to access webcam from C# in Windows Vista / 7

查看:151
本文介绍了" preferred"方法从C#访问摄像头在Windows Vista / 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现很多帖子讨论WIA,Windows便携设备API和DirectShow(并给予例如code)在访问从C#一个摄像头,但是当你研究每一种方法,你似乎遇到引用,这些都是旧方法。

I've found plenty of posts discussing WIA, Windows Portable Devices API and DirectShow (and giving example code) for accessing a webcam from C# but when you research each method you seem to come across references that these are "old" methods.

所以,问题是,比Windows Vista上运行没事的时候前面,什么是从C#访问摄像头的preferred的方法?

So, question is, when running nothing earlier than Windows Vista, what is the "preferred" method for accessing a webcam from C#?

谢谢,

约翰。

推荐答案

我想你要找的是的 Windows媒体基金会
从MSDN中提取:

I think what you are looking for is Windows Media Fundation. Extracted from MSDN:

微软媒体基金会是在Windows Vista中引入的替代DirectShow的。当然,DirectShow是仍支持在Windows 7中,但鼓励开发在新的数字媒体应用程序使用媒体基础。

Microsoft Media Foundation was introduced in Windows Vista as the replacement for DirectShow. Of course, DirectShow is still supported in Windows 7, but developers are encouraged to use Media Foundation in their new digital media applications.

这篇关于" preferred"方法从C#访问摄像头在Windows Vista / 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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