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 ?


go to there is a tutorial how to map an AVI to an OpenGL Object. As far as I can remember there is also a tutorial on using DirectX in OpenGL.
The other thing is to use an video capturing API like v4l(only for Linux) and map the data directly on a polygon/mesh.

Hope that helps,


[This message has been edited by mphanke (edited 03-31-2002).]

Better make that