Video Playback

Started by CodeBunny, January 12, 2011, 15:16:53

Previous topic - Next topic

CodeBunny

What's the best way to play an avi movie in LWJGL?

avm1979

Take a look at glDrawPixels.

bobjob

If you dont need the movie to run inside of a scene.

I recommend just using a seperate canvas for the movie.

so hide the LWJGL canvas, then open up a movie in a new canvas.

Iv had great results with fobs4jmf (but it seems outdated now you may want to try xuggler).

CodeBunny

Inside of a scene would be optimal - ideally, one could play video not only as fullscreen, but either on a texture or otherwise fit into a scene.

Still, if that's the only efficient way, it's certainly better than nothing. However, this would be in a game, so would there be any noticeable change between canvasses? It sort of needs to be as seamless as possible.