Simulate a DirectShow Webcam
Asked Answered
F

2

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

Fluoroscopy answered 25/1, 2012 at 0:7 Comment(1)
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...Trimurti
K
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.

Kubis answered 25/1, 2012 at 6:35 Comment(1)
Can you please answer to my question #69470247Ninon
M
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

Millenarian answered 17/4, 2022 at 17:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.