View Full Version : video capturing

03-30-2002, 09:37 AM
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 ?

03-30-2002, 09:48 AM
i think there is a tutorial about avi's in OpenGL at nehe.gamedev.net...


03-31-2002, 09:48 AM
The current version of GL (1.3) doesnt have fancy abilities like getting data from a capture card directly into frame buffer or texture memory.

I havent read much about GL 2.0, but I think it will provide such solutions.

If you want to read a AVI file, then that's a different story. GL doesn't care about image format. Its your job to read them and give them uncompressed or S3_compressed to GL.


03-31-2002, 05:16 PM
I want to know this too. Is there a 'DevIL' like library, for motion picture data, where you can do this?