LWJGL
May 21, 2012, 00:32:00 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: How to play video in lwjgl?  (Read 3638 times)
Trudko
Newbie
*
Posts: 29


« on: April 04, 2007, 11:30:17 »

I need to play video in my game. Some good advice ? What format of video is best to use ?
Logged
bobjob
Prolific Timewaster
****
Posts: 335


LWJGL: WOW SO GOOD


« Reply #1 on: April 05, 2007, 04:16:06 »

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
Logged

LWJGL Benchmark online test:
http://have2chat.net/benchmark/
http://have2chat.net/benchmark/fullpage.html (run full OpenGL webpage)
Trudko
Newbie
*
Posts: 29


« Reply #2 on: April 05, 2007, 08:34:19 »

That video is supposed to be an intro of game. So what is best way to do it ?
Logged
the2bears
Talks Too Much
***
Posts: 117



WWW
« Reply #3 on: April 08, 2007, 14:21:44 »

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
Logged

the2bears - the indie shmup blog
Trudko
Newbie
*
Posts: 29


« Reply #4 on: April 09, 2007, 01:46:36 »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!