View Full Version : MPEG movies with openGL

01-18-2002, 12:09 AM

I'm try to play mpeg movies in a 3d application. I already tried to use mpeg decoder as the Berkely's one, but I do not arrive to get pixels or something to display
(with glTexSubImage2D).
Someone could help me ?

Thanks a lot.

Rob The Bloke
01-18-2002, 01:01 AM
The Nehe website has an example of using an avi as a texture. You could use that and replace the avi decoding parts with your own code and it should work fairly well.

01-18-2002, 02:24 AM
Thanks a lot for your answer, but I already tried to used this Nehe exemple. My problem is that I can't get a picture from the Mpeg decoder for the glTextSubImage2D. I'm keeping trying... If you have and idea to help me, I would be great !

Thanks again.