Hi,
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.
Hi,
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.
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.
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.