how to use Microsoft Video Capture Macros using C#

…衆ロ難τιáo~ 提交于 2019-12-12 05:05:00

问题


I want to make an Windows application using C#.NET in which I capture video from an attached webcam and store it into any location.

Can anybody give me pointers on how to get started/accomplish this?


回答1:


If your using Winforms, then you need to use a component of DirectX called DirectShow to do this. You can see an example and download source code from this link.

If you are using WPF, you can see how this is done from this link.

If you need a library that will work with both WPF and Winforms, try this link



来源:https://stackoverflow.com/questions/10432015/how-to-use-microsoft-video-capture-macros-using-c-sharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!