'Simulate a DirectShow Webcam

I am a developer in DotNet. I want to give skype a possibility to add a webcam simulator and send my bitmap frames to the DirectShow simulator. In this case I can draw my images in my application and on skype I can share this images to my friend.

PhotoWebcamDirectX

I was on: http://msdn.microsoft.com/en-us/library/dd407344%28VS.85%29.aspx but it's no Dotnet and I am not sure what example I should believe in.

I also saw: http://directshownet.sourceforge.net/ But as far as I undestand, here I cannot do with this framework what I need, or can I?

My question is: What is basically needed to create such an DirectShow item?

Regards



Solution 1:[1]

It is possible through a virtual device, see

You will have hard time implementing this in C# only, as the APIs are for native code.

Solution 2:[2]

The best example code for this is going to OBS and OBS Virtualcam. OBS is coded with Qt with a Chromium and FFMPEG backend. I highly recommend that you clone the OBS git repo.

git clone https://github.com/obsproject/obs-studio.git

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community
Solution 2 Cale McCollough