WIA Automation: how to get video stream?
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Hi! I'm trying to use WIA Automation component to use a web cam (a standard Logitech USB) in a .Net app. The API makes it very straightforward to grab one picture from the camera or to get a video preview (OCX) automatically embedded in a window. Neat. Now my problem is that I actually want to get a video stream -- that is images, possibly between 1 and 10 frames per second. The "TakePicture" command is the only command support by the device, it cannot work at the same time than the VideoPreview and anyway taking one snapshot takes between 3 and 10 seconds (it seems to reinitialize the camera each time!) So... how am I supposed to use this API to do anything useful with a video device besides automatic preview?