video capturing

how go i make a opengl application which captures the AVI data directly from a digi/webcam and plays it on the screen with least possible time lag…??

it can be done using directx / VB / VF etc.

but how do i do it with opengl ?

i checked out but the tutorial o’there tells ya how to play a AVI file, but i need to read data from a USB port

help me out …

I found this on the main page, the author is currently running it on Linux, but working on a Win32 port. I don’t know if he provides source code or not.

Hope this helps.