Sign in to follow this  

Webcam issues

This topic is 4353 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all, Currently I use Windows Image Acquisition (WIA) to get a videostream from a webcam and show it on a Window (HWND). I use Direct3D to build an image. Now I want to use the images I get from the videostream as the background for the images I create with Direct3D. My problem is, I cannot controle or access the data of the videostream. It seems to deploy the content of its own internal buffer directly on the canvas of the window. To take a picture would be possible, but it is not fast enough (the highest possible fps with this method would be around 1.2 fps, 1/10 of what is about the minimum). Does anyone have an idea how I could solve this problem, please note that I use a webcam, but can be any other device, as long as I can access the data the device sends. Thanks in advance, Xeile

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
What you are after is the DirectShow SDK. It used to come with the DirectX SDK, but was recently dropped as it is being substituted with Something Better for Vista. DirectShow was removed from the Direct3D SDK in the DX9 April release. Earlier versions should have it.

Alternativly, you can use DSVideoLib. This is a lightweight SDK that is very easy to use:

http://www.ims.tuwien.ac.at/~thomas/dsvideolib.php

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
What you are after is the DirectShow SDK. It used to come with the DirectX SDK, but was recently dropped as it is being substituted with Something Better for Vista. DirectShow was removed from the Direct3D SDK in the DX9 April release. Earlier versions should have it.

Alternativly, you can use DSVideoLib. This is a lightweight SDK that is very easy to use:

http://www.ims.tuwien.ac.at/~thomas/dsvideolib.php


Thanks alot for your input, trying out DSVideoLib now.

Regards,

Xeile

Share this post


Link to post
Share on other sites

This topic is 4353 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this