Creating a Virtual Webcam Device for OS X
Asked Answered
D

3

26

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!

Domel answered 29/3, 2010 at 14:20 Comment(5)
Wondered the same thing. I'm guessing lots of people would like to "cheat" at Chatroulette. ;-)Holliehollifield
Haha :) I think it's kind of strange though since I can't find any good information about it. But maybe I'm just looking in the wrong places. Still looking, and I found this, maybe useful: gemma.apple.com/mac/library/documentation/GraphicsImaging/…Domel
I've found a couple of links that could be interesting for anyone in the same situation as me (I haven't been able to solve the problem yet, but I'm still looking into it): lists.apple.com/archives/usb/2002/Sep/msg00045.html lists.apple.com/archives/darwin-development/2001/Jul/…Domel
Can you go into more detail what you want this for? I could think of several alternatives, but it really depends on what you're doing. What application(s) are supposed to use the video from this virtual webcam? Your own? Third party? iChat? What video will it provide? File contents? Algorithmically generated? ... ?Rodmann
I'm interested in this in order to send video with Syphon into the web browser using the WebRTC apis.Austronesia
A
4

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

Aeolic answered 2/6, 2017 at 9:54 Comment(0)
S
3

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

Somnambulism answered 20/4, 2010 at 7:20 Comment(0)
S
-2

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

Succotash answered 29/6, 2014 at 23:57 Comment(1)
I'm afraid of be affected in your link...Khrushchev

© 2022 - 2024 — McMap. All rights reserved.