4

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

Nasenbaer
  • 4,810
  • 11
  • 53
  • 86
  • 2
    As much as I like C# and dotnet, doing this in dotnet instead of C++ is like inserting a screw using a hammer instead of a screwdriver... – yms Nov 09 '12 at 15:52

2 Answers2

4

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.

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • Can you please answer to my question https://stackoverflow.com/questions/69469747/use-directshow-for-streaming-on-server-app – user3653474 Oct 07 '21 at 04:54
1

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