Jump to content
  • Advertisement
Sign in to follow this  
Xeile

Webcam issues

This topic is 4698 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!