Playing a video

Started by fictiveLaark, October 13, 2010, 11:28:27

Previous topic - Next topic

fictiveLaark

Does anyone know of a way to play video files in opengl?  I guess I have to start by decoding a file, which JMF does, but I don't know how to get any kind of object, like a plain pixel array to dump in a texture, that would be usable in opengl.

Matthias

I used gstreamer to play videos - there is a Java wrapper available. It will supply the decoded images in a ByteBuffer which can be uploaded to OpenGL.

princec

Also see xuggle with ffmeg.

Cas :)