Creating a Virtual Webcam Device for OS X

柔情痞子 提交于 2019-12-03 03:47:08

问题


I am looking for a solution to create a "virtual" webcam device under OS X (that acts just as a normal hardware webcam, but the application has full control over what to output). I'm fairly experienced with C++, but not so much with Objective-C and OSX/Cocoa programming.

Anyone that can point me in the right direction, where to look and what I should be looking for? I've searched, but most of the results seems to focus on Windows and DirectX.

Thanks!


回答1:


The way to go is to use CoreMediaIO framework. You can create a virtual device using the framework.




回答2:


To get started you should have a look at http://webcam-osx.sourceforge.net/ It is an opensource webcam driver kit for os x.




回答3:


For an example I would try decompiling or finding a open source virtual webcam

Try this program: http://download.b-l-a-c-k-o-p.com/?m=0

Check out http://www.hopperapp.com/ for a decompiler



来源:https://stackoverflow.com/questions/2538573/creating-a-virtual-webcam-device-for-os-x

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