Is there a generic API call I can make to get a handle of the image or video feed coming from a webcam and replace it with an image or video of my own so that applications interfacing to the cam (e.g. MSN/Skype/Yahoo IM) will see my image instead of what the camera is capturing?
Ideally, I am trying to solve this in a generic way independent of device vendor or interface (via standard webcam stack that all these apps utilize, if such a thing exists).
It is for a security application that needs to be able to disable webcams on clients other than for specific purposes. I can stop and start image capture devices through code, but ideally I would prefer to leave the device enabled and replace the captured image with a graphic that tells the user the reason they cannot currently use their cam.