3d video rendering

I’m currently attempting to render video onto a 3d poly using java and jogl. I’ve been using the JMF but haven’t been pleasantly surprised. There does seem to be long list of supported codecs but I get the impression that these are not necessarily the ‘popular’ ones - and I am no codec expert. I have something running but my solution only plays sample videos that demonstrate the JMF video functionality. I haven’t got a video to play from anywhere else. I also want to ‘stream’ the video using fast http rather than a real-time protocol (maybe the video lives on Amazon S3 :wink: ). JMF seems to keep the video in memory if from http, which I don’t want. Googling for any of these subjects brings up not much.

In a nutshell, I’m looking for a solution to 3d rendering ‘popular’ video formats which are ‘streamed’ via http.

So my questions are…
What are the most ‘popular’ video formats/codecs?
Is there a Java library out there that can render the above and provide access to the raw framebuffer (for subsequent texturemap creation).
Is there a Java library out there that will do some sort of ‘pseudo’ streaming using http?

Ta very much!

Would JMC be enough for your purposes? Otherwise, some guys who uses JMonkeyEngine 2 succeeded in displaying a video on a texture, have a look at its forum.

http://www.mat.ucsb.edu/~a.forbes/PROCESSING/jmcvideo/jmcvideo.html

Yes - JMC does look like the thing wot I am looking for. Cheers, gouessej.

And thanks, sunsett. You answered my next question while I typed. I thought JMC was a Sun initiative but I can not find and docs for it. Is this JMC the same thing? Know why Sun don’t have any docs for it? Maybe they do but I can’t find them!

Because Sun developed JMC to be part of JavaFX and though it can be used separately they are so busy pushing their UI framework they don’t seem to be pushing the only part of JavaFX that is any good…JMC. :o

That link I gave you was someone’s initiative to utilize JMC directly within JOGL not JMC itself.

You should check this out:

http://www.pushing-pixels.org/?p=1326

I actually have that mobile demo utilizing OpenMAX
http://blogs.sun.com/jau/entry/good_morning_openmax_es2_on
OpenMAX support is rudimentary included in JOGL …

The key feature is to decode the video directly into an multiple OpenGL textures
to avoid additional copy tasks so even h264 can be rendered in real-time.

I like to see what ‘OpenMAX’ component we can use on the desktop …