开发者

Multiple IP Cameras as Windows video sources?

Creating a video encoder app with multiple video sources. Is there a certain type of IP camera th开发者_如何学Pythonat can be used as a Windows video source (I.e. DirectShow) or a generic IP camera driver that can be used to connect both video and audio from a hardware camera?


To do video capture in directshow, you must acquire an IBaseFilter pointer to the video device, then add the filter to the graph.

You can get these IBaseFilter pointers for your cameras by enumerating the CLSID_VideoInputDevice category.

Getting audio follows the same procedure, this time though, you'll acquire the audio IBaseFilters by enumerating the CLSID_AudioInputDevice category.

I can post code to show how this is accomplished if you're interested, but I only have c++ code, I've never tried directshow coding with c#

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜