Video Loader

Hi, so for my game, i made a short video, but i can’t find jm3 tutorials on how to load it.

My video file is .avi .

Is there anything built in to load a video? or should i do a manual loader?

Thanks

1 Like
@mathieu-roux222 said:
Hi, so for my game, i made a short video, but i can't find jm3 tutorials on how to load it.
My video file is .avi .
Is there anything built in to load a video? or should i do a manual loader?
Thanks


AFIAK there is currently no loader for .avi, most likely because AFAIK currently there isn't a method for playing videos

so, Is there anyway to load any sort of video files, because i can surely make it another type. Thanks

@mathieu-roux222 said:
so, Is there anyway to load any sort of video files, because i can surely make it another type. Thanks


At least what i know, there is currently no way of playing any video. Would be nice if i am wrong...

Ok, well i will wait for it to happen or will write my own :stuck_out_tongue:

@mathieu-roux222 said:
Ok, well i will wait for it to happen or will write my own :P


This might be a good point to start, maybe it is fast enough to convert the buffered image to a texture..
You could try it and post the library.. it would definately be a nice feature i think

http://www.java-gaming.org/index.php?topic=9219.0

i think there is a way to play video, although i’ve never tried it:


Added the new video playback system I was talking about. As mentioned in the change log, it DOESN’T support audio playback (you may have to do it separately, and manually dealing with sync issues etc)


http://hub.jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/brace-yourselves-the-deadliest-jme3-changes-since-alpha-are-here/

The video system is unfinished. Someone experienced needs to take a look at it and fix the remaining issues.