any vb/vc programmer out there worked with Video-For-Windows???
i’m stuck with a problem, i need to grab individual frames from live video stream, and do some in-memory processing on those captured frames if some certain event is triggered.
I’ve got the raw video data in VIDEOHDR.lpData element and tried to use this buffer to fill in a DIB, but the picture i get is not good, its screwed up, in terms of size and color and all. tried to find out the actual format of this lpData but couldnt find anywhere, msdn just says its “Pointer to locked data buffer.” no detail about how the pixel values are stored :s
and 2nd question is, how can i open more than one video grabbers? i’v installed 2 video capture cards but the api gets only one, even both are listed in device manager ![]()
one more question
how can i select the input source channel programmatically??? the api provides with a dialog box but i dont want to show the dialog box to the user, in fact there is no real user, the application has to capture from more than one sources, the card supports 3 inputs, and the same capture card is working perfect in linux under v4l, channel selection at runtime and card select everything is working there, but in windows it sucks ![]()
please help
any example would b much appreciated