重复的相机流
我需要制作一个程序,允许我同时使用另外两个程序捕获相机流。基本上我需要 ManyCams (http://www.manycam.com/) 提供的功能。
我该怎么做?我对免费的 C++ 库或某些 C#/C++ .net 解决方案感兴趣。
I need to make a program that would allow me to capture camera stream with my 2 other programs simultaneously. Basically I need the functionality that ManyCams (http://www.manycam.com/) offers.
How can I do this? I'm interested in a free c++ library, or some C#/C++ .net solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,一个简单的步骤是“共享”而不是“重复”相机流,您的应用程序可以捕获相机流,然后提供 api 在多个应用程序之间共享它。 OpenCV 值得一看。
well, one easy step will be "share" rather than "duplicate" camera streams, your application can capture camera streams then provide api to share it between multiple applications. OpenCV worth a look.
我不确定,但您可能需要充分了解硬件的工作原理并知道如何为其开发驱动程序。您应该做的是从 USB 设备的驱动程序获取图形,并使用从相机获得的图形作为您自己的虚拟相机驱动程序的输入源。
I'm not sure but you probably need to have good understanding of how hardware work and know how to develop a driver for it. What you should do is to get the graphic from usb device's driver and use what you get from your camera as input source for your own virtual camera drivers.