I need to play video in my game. Some good advice ? What format of video is best to use ?
if its not in the game but an intro or a cut scene between levels, you could always run the video outside of a display window, then once its finished load another display screen for the next level.
im not sure the best way to approach video within the LWJGL display
That video is supposed to be an intro of game. So what is best way to do it ?
Quote from: Trudko on April 05, 2007, 15:34:19
That video is supposed to be an intro of game. So what is best way to do it ?
The best way would be to figure out what format your video is in, figure out where you will stream it from, and investigate whether or not there are implementations of the codec used so you can integrate this in your program. LWJGL has nothing native for video, you'd be best off doing a little Google work on video codecs and Java.
Bill
Quote from: the2bears on April 08, 2007, 21:21:44
Quote from: Trudko on April 05, 2007, 15:34:19
That video is supposed to be an intro of game. So what is best way to do it ?
The best way would be to figure out what format your video is in, figure out where you will stream it from, and investigate whether or not there are implementations of the codec used so you can integrate this in your program. LWJGL has nothing native for video, you'd be best off doing a little Google work on video codecs and Java.
Bill
Finnaly I use Java Media Framework.