I want to be able to load in a movie(.mov, .avi, etc.) into jME. If this doesn't already exist, this could be a very important thing jME needs. If it does, please tell me how to use it.
You should do a search on the forum for this, there's been quite a few posts regarding how to play movies, and one of the senior folks here wrote a system for it using JMF I believe, though I think that was a while ago.
You can also check out this:
http://www.onjava.com/pub/a/onjava/2005/06/01/kgpjava.html
Its for Java3D…but it may give you some ideas?
It does not seem easy, this is something I'd like to see in a future release of jME, something easier to implement.
Jedimace1 said:
It does not seem easy, this is something I'd like to see in a future release of jME, something easier to implement.
Yeah, it didn't seem easy...I was exploring movies for a bit earlier, as I was thinking of making a general "opening credits" state, where users can just plug in what images and/or movies they want shown/played and how for how long. I'm sure most of the folks who want to display movies have this in mind (could maybe even be applied to a cutscene too).
As long as you can get the frame data in some format e.g YV12/RGB8 implementing the rendering in LWJGL or jME is very easy. JMF, JFOBS, etc can be used for the demux and decode and LWJGL for rendering the video.