Creating a Virtual Webcam Device for OS X - objective-c

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!

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

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

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

Related

Utility like iFinBox and iExplorer for OS X

I want to make a Utility app like iFunBox and iExplorer for Mac OS X where i can retrieve information and files of connected device and display it.
Though i have good experience in iPhone Development, I have never developed anything for mac.Can anybody provide me good starting point from where i can start.
Thanks
There isn't a public API from Apple for working directly with iOS devices. There are open source solutions like libimobiledevice if you want to make an iFunBox style application.

Playstation Eye with Labiew

Does anyone know how to integrate the Playstation Eye with Labview? Can a driver somehow be used to allow Labview to recognize it as a webcam?
You should be able to do this with vision (install IMAQdx and Vision Dev Module)- it seems to be DirectShow, which IMAQ can do- or try out the code found on this page: http://www.labviewforum.de/thread-21279.html - it uses the original dlls.
as there are NO official dll´s for the PS3 Eye on Windows, the ONLY Option is to use the 3rd Party drivers from Code Laboratries or directly interface the Hardware via USB-RAW commands. Code Laboratries PS3 Implementation however does not seem to be 100% conform with the Direct Show standard. You can get a PS3 Eye to work with Labview (via Direct Show and IMAQ), but you will be limited by the usable framerates.
I tried to interface the dll from code laboratries directly, but got stuck on a stange error with the second function i tried (see the already referenced Thread http://www.labviewforum.de/thread-21279.html). However it seems as for now there is a Vi Package available for the PS3 Eye to support LabView under OSX with the full available framerate. More Information can be found here:
http://labview.epfl.ch/
Hope this helps.
Best Regards,
Jan

Capture playing sound

I would like to build a program that can catch sound played on Mac OS X, either all sound or from individual programs. Is that possible? I've been reading a lot of documentation but have not found much that looks useful. It could be that I'm just looking in the wrong direction. Can it be done and are there a specific group of APIs that I should focus on?
Haven't tried it, but the idea would be to direct all sound output to an audio "device" (a kernel component) that allows it to be captured. According to this page, you can do that with soundflower.
If you want to do it programmatically, I'd install the soundflower driver and look into controlling it from your program.

Get Wifi signal strength with OpenNetCf in VB.Net

As the title says, I want to get the wireless signal strength from adapter on Windows CE, VB.Net, Visual studio 2008.
I believe opennetcf.net library has to be used.
I'm not going to write any code for you but maybe I can at least point you in the right direction. In the beta documentation for OpenNETCF.Net.NetworkInformation you'll see a class called WirelessNetworkInterface which has a SignalStrength property which returns a SignalStrength object.
I found what was the problem.
I tried to program it on Motorola MC3190 hand scanner with some stupid Motorola Jedi Wireless Drivers which are identifying the interface as ethernet instead of wireless and this is the reason why tehere is no such option.
I also tried few versions of Motorola EMDK's, but those are also not working with MC3190.

How to make a library for the webcam?

I'm learning Factor and I thought it would be great to have a small program to capture images from the webcam that comes with my mac pro. I know every webcam will be very different but sounds like something I should be able to do. I want to create a library with support for Mac, Linux and Windows. The problem is that I'm not sure where to start.
Factor-based answers are welcome but I'm looking for the language agnostic solutio. When I google for it, all I get is programs that capture images. I want to learn how to interact (in the 3 big operative systems) with the drivers I guess.
I think the only clue I have is the ioctl wiki page. How would you start such a project? What kind of google keywords would you use? Books?
It's not clear if you want to write a driver for your particular webcam or a library that makes talking to the existing driver easier.
If you want to write a driver for your webcam, you probably want to investigate libusb for Mac and Linux and libusb-win32 for Windows. You would need to understand the protocol that your webcam talks, though. You could probably read the source code for the existing Linux driver (assuming there is one, which is pretty likely).
As for Google search terms, you might try "video capture" and maybe looking for Python/Ruby etc. code or Open Source programs will get you code you can look at to see how to do what you want to do.
Perhaps if you describe in a little more details what you're trying to accomplish someone could give you better suggestions.