Webcam emulator driver - how to start?
Hello!
I read a lot in writing WDM Drivers with the Driver Development Kit..
but now i want to know where really to start. I want to write a webcam driver that doesnt communicate with real hardware...all programs that use webcams should be able to find my webcam emulator........but how to do?
When the programs want to grab frames from my driver it should just put out the data of a custom picture...
I dont even know how to install the written driver that every program finds my webcam...is a
MSVIDEO=mydriver.drv in the system.ini enough?
Thanks!
Kevin
Re: Webcam emulator driver - how to start?
Hello Kevin,
I am also trying to write a webcam driver so that I can my messenger use my driver instead of the default driver.
If you have your webcam driver working, can you please let me know the code snippets??
Also for the driver to work, I think adding it into registry should be good enough.. U can check with any of the messengers if your driver has been mounted and initialized.
/Ozz
Re: Webcam emulator driver - how to start?
I am also interested on making this kind of interface... Have you been able to get some info on this? I just would like some pointers on how this could be done.
Re: Webcam emulator driver - how to start?
Hi...
I'm also trying to make the same thing... I really want to resume something already made if possible... or at least, does someone know a start point to me to learn how to create a webcam driver?
Thank you!
Re: Webcam emulator driver - how to start?
Not sure i understand your question but as far as i know Can't you use Dshow for Grabbing frames ?
Re: Webcam emulator driver - how to start?
the question is really simply which part of it do you not understand... i will spell it for you:
He wants to simulate a webcam (without actually having one); the software plays a stream as if it's coming from the camera, and another program (e.g. Messenger) points to the "driver" associated with that software.
However, i can't help you guys, but if any C++ guru's are reading this, surely u can point us all in the right direction?
Re: Webcam emulator driver - how to start?
Hello,
I'm investing just the same question. If you ever have the answer, would you please, be as kind as to tell me?
Was DShow able to help you, as kandukondein suggested?
Thank you in advance and sincerely,
Jean-Michel.
Re: Webcam emulator driver - how to start?
Here's a starting point:
http://msdn2.microsoft.com/en-us/library/ms778964.aspx
Quote:
Microsoft DirectShow 9.0
AmCap Sample
Video capture application.
This sample is included with the Windows SDK. It is located under the following path: [SDK Root]\Samples\Multimedia\DirectShow\Capture\AmCap.
This sample application demonstrates the following tasks related to audio and video capture:
Capture to a file
Live preview
Allocation of the capture file
Display of device property pages
Device enumeration
Stream control
AMCap supports MPEG-2 program stream input, for example from analog TV Tuners that stream MPEG-2 content. A DirectShow-compatible MPEG-2 decoder is required to decode the streams.