CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2001
    Posts
    11

    Unhappy 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

  2. #2
    Join Date
    Dec 2006
    Posts
    1

    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

  3. #3
    Join Date
    Mar 2007
    Posts
    1

    Talking 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.

  4. #4
    Join Date
    Jul 2006
    Posts
    1

    Resolved 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!

  5. #5

    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 ?
    C++ is divine.

  6. #6
    Join Date
    Feb 2008
    Posts
    3

    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?

  7. #7
    Join Date
    Mar 2008
    Posts
    1

    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.

  8. #8
    Join Date
    Nov 2001
    Posts
    251

    Re: Webcam emulator driver - how to start?

    Here's a starting point:

    http://msdn2.microsoft.com/en-us/library/ms778964.aspx

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured