PDA

View Full Version : video capturing



grafix
03-30-2002, 10: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 ?

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

/M

V-man
03-31-2002, 10: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.

V-man

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