如何在WPF中将视频从摄像头录制到文件 [英] How to recording video from webcam to file in WPF
问题描述
我需要中继帮助!
i need relay help!
我需要了解如何将视频从网络摄像头录制到WPF文件中?
i need to understand How to recording video from webcam to file in WPF?
tnx for helpers。
tnx for helpers.
推荐答案
据我所知,如果你想获得视频,使用DirectShow几乎可能是"直接的方式"。你可以在这里得到一些帮助:
https://msdn.microsoft.com/en-us/library/dd407331(v=VS.85).aspx
As far as I know, using DirectShow may almost be the "direct way" if you want to get the video. You may get some help here : https://msdn.microsoft.com/en-us/library/dd407331(v=VS.85).aspx
样本:
https://www.codeproject.com/ Articles / 18511 / Webcam-using-DirectShow-NET
https://blogs.msdn.microsoft.com/markhsch/2007/11/19/c-webcam-user-control-source/
您也可以尝试
WIA :
https:// channel9 .msdn.com / coding4fun /用品/ Look- at-me-Windows-Image-Acquisition
https://channel9.msdn.com/coding4fun/articles/Look-at-me-Windows-Image-Acquisition
https://www.codeproject.com/Articles/15219/WebCam-Fast-Image-Capture-Service-using-WIA
https://www.codeproject.com/Articles/15219/WebCam-Fast-Image-Capture-Service-using-WIA
https://www.codeproject.com/Articles/2303/WIA-Scripting-and-NET
我建议你试试AForge.NET。
I recommand you try AForge.NET.
您可以从这里下载:
http://www.aforgenet .com / framework /
你也可以从Nuget获得:
https://www.nuget.org/packages?q=AForge.NET
You can also get from Nuget: https://www.nuget.org/packages?q=AForge.NET
http://www.aforgenet.com/framework/docs/html/f4d3c2ba-605c-f066-f969-68260ce5e141.htm
By the way, this is the wrong forum for your question because it's got nothing to do with WPF.
此致,
Bob
Bob
这篇关于如何在WPF中将视频从摄像头录制到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!