How to display the video data got from the camera?

I am working on a driver for a UVC compliant camera. Now the driver is basically completed, but a problem exists in my application, which is how to display the video data got from the camera just like MSN.
Here I would like to give some simple description. The device is a UVC compliant camera supporting the uncompressed format.
Thanks for your reading and answering.

xxxxx@gmail.com wrote:

I am working on a driver for a UVC compliant camera. Now the driver is basically completed, but a problem exists in my application, which is how to display the video data got from the camera just like MSN.
Here I would like to give some simple description. The device is a UVC compliant camera supporting the uncompressed format.

What example did you base your driver on? I presume that you wrote an
AVStream driver. If so, then your driver can participate in DirectShow
graphs just like every other video capture driver. Your application
needs to create a DirectShow graph, bring in your capture filter, and
render the pin. When you run the graph, you’ll see the images on the
screen.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

>What example did you base your driver on?
I am sorry that I base my driver on the isousb example. As a result, I can
not use the AMCap2 as my application just like a normal camera driver and
then I have to write my own application with reluctance.
What shoud I do?

2007/9/21, Tim Roberts :
>
> xxxxx@gmail.com wrote:
> > I am working on a driver for a UVC compliant camera. Now the driver
> is basically completed, but a problem exists in my application, which is how
> to display the video data got from the camera just like MSN.
> > Here I would like to give some simple description. The device is a
> UVC compliant camera supporting the uncompressed format.
> >
>
> What example did you base your driver on? I presume that you wrote an
> AVStream driver. If so, then your driver can participate in DirectShow
> graphs just like every other video capture driver. Your application
> needs to create a DirectShow graph, bring in your capture filter, and
> render the pin. When you run the graph, you’ll see the images on the
> screen.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

张全煜 wrote:

>What example did you base your driver on?
I am sorry that I base my driver on the isousb example. As a result, I
can not use the AMCap2 as my application just like a normal camera
driver and then I have to write my own application with reluctance.
What shoud I do?

You should start over. If you want your device to be recognized as a
video capture device, then you have to write a video capture driver.
That’s all there is to it. Isousb is not a video capture driver.

The only AVStream video capture samples in the DDK are avssamp and
avshws. It’s likely that either one would work for you, although avshws
is probably the better choice for this. Both of them simulate a piece
of PCI hardware with DMA; it takes a couple of days to unhook the
simulated hardware and fake image generator and bolt in the isochronous
code you have in isousb.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.