Video streaming USB device driver based on USBCAMD and AVstream ar

Discussion in 'Windows Vista Drivers' started by Ravi, Jul 18, 2004.

  1. Ravi

    Ravi Guest

    Hi,
    Im trying to develop a driver for USB2.0 camera.

    I was going through the Microsoft DDK site and it mentions that future driver development must be done with the Windows Server 2003 DDK. So, I have installed this DDK and on going through the samples have come across a driver for an Intel USB Camera.

    This sample is located in the "...\WINDDK\3790\src\wdm\videocap\usbintel\sys". folder.

    On going through this example I find that it is based on USBCAMD and on the "stream class" architecture. The "USBCAMD" is fine, but the "stream class architecture" is not. The DDK documentation states that the "stream class architecture" should no longer be used, though it is still provided. The document states that new video drivers must follow the "AVstream architecture".

    So, I was wondering if there's any way I could get a similar sample driver code for a Video streaming USB device based on USBCAMD and the AVstream class architecture.

    Please suggest.

    Thank you,

    Ravi.
     
    Ravi, Jul 18, 2004
    #1
    1. Advertisements

  2. Me too... still uncertain about correct route....
    driver development must be done with the Windows >Server 2003 DDK. So, I
    have installed this DDK and on going through the samples have come across a
    driver for an Intel USB >Camera.

    Why not consider also implementing the relatively new USB Video Class spec ?

    The forthcoming Windows XP SP2 will contain a MS driver for USB video class.
    You can already download the RC2 version from MS site.

    If you can live with XP compatibility only, you gain true "plug and play"
    behaviour (with the new SP2 installed, recommended anyway), without writing
    any host side driver at all.

    Besides, if your device is USB Video class, chances are that someone,
    somewhere, will write a driver for older systems (2000, etc).

    Opinions ?
     
    Antonio Pasini, Jul 19, 2004
    #2
    1. Advertisements

  3. Ravi

    Tim Roberts Guest

    That restriction should be read as banning writing DIRECTLY to stream
    class. After all, AVStream builds on "stream class". I do not believe
    Microsoft intends to forbid us from writing drivers to USBCAMD or 1394CAMD.
    That would be foolish.
    There is no such thing. I doubt there ever will be. Just use USBCAMD.
     
    Tim Roberts, Jul 20, 2004
    #3
  4. Ravi

    Dan Maddy Guest

    Dear Ravi and Antonio and Tom:

    "...\src\wdm\videocap\usbintel" should really be considered as an USB
    camera minidriver sample since that is the section in the DDK docs that
    describe its operation.

    Since you are writing a USB camera minidriver you should not be too
    concerned about the warnings in the Streaming Minidrivers section note
    "This section details the outdated Stream.sys class driver."

    Ravi: > So, I was wondering if there's any way I could get a similar sample
    driver code for a Video streaming USB device
    Ravi: > based on USBCAMD and the AVstream class architecture.

    There is no sample like that.

    Tim: > There is no such thing. I doubt there ever will be. Just use
    USBCAMD.

    You can use USBCMD2 but please consider using USB Video Class.

    Antonio: > Why not consider also implementing the relatively new USB Video
    Class spec?

    Please do.

    Thank you,

    Dan Maddy
    Microsoft DDK Support

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Dan Maddy, Jul 28, 2004
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.