Home All Groups Group Topic Archive Search About

Choosing source from video capture card

Author
1 Feb 2006 7:06 AM
Mark
Hi,

I'm in a university department and we want to view the inputs from a
number of video cameras on a single computer. We have a spectra8 card
that has 4 video inputs.

I have written a vb program using Video for Windows (with the aid of
http://ej.bantz.com/video/). I have code to select the driver:

SendMessage lwnd, WM_CAP_DRIVER_CONNECT, 0, 0

or

capDriverConnect lwnd, 0

This will open a window to the capture card, but you seem to have no
control over which of the 4 sources is chosen. If it is the first
window, the previously selected source is shown. If you then use the
same code to activate another window, a dialog comes up letting you
select which source to use.

However, I would like the vb code to specify which source should be
used. No where in the documentation have I been able to find this - only
the ability to call a video source dialog so you can manually choose this.

Anyone have any suggestions? I am new to Video for Windows.