Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (292)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Playing movies/videos in a Java application?  (Read 936 times)
0 Members and 1 Guest are viewing this topic.
Offline appel

JGO Ninja


Medals: 35
Projects: 5


I always win!


« Posted 2007-02-04 05:21:04 »

What I'm trying to do is to find a Java library that I can use in whatever Java application I'm doing (games also), and play videos that are divx, xvid, matroska etc. I want to make an application that can play all those nifty videos you can get online Smiley (those 350mb files, 700mb files). I can play this all in my Media Player Classic (using all those codecs)

I've been googling for a while now, taken a short look-at of Omnividea, JMF, MediaFrame... but...

Omnivida seems to do what I want, but I tried playing one of those 350mb (also 700mb) xvid video files and they ran really really really slow in fullscreen, and you noticed a lot of video de-syncing playing in normal size.

JMF. I read some old posts here, everyone seemed to agree it was horrible.

MediaFrame. Haven't tried it, but what I read it's only for Applets, small online streaming videos?

Am I doomed here?

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline Mr_Light

Senior Member




shiny.


« Reply #1 - Posted 2007-02-04 07:52:54 »

there should really be done something about media support in java.

It's harder to read code than to write it. - it's even harder to write readable code.

The gospel of brother Riven: "The guarantee that all bugs are in *your* code is worth gold." Amen brother a-m-e-n.
Offline Jackal von ÖRF

Junior Member





« Reply #2 - Posted 2007-02-05 06:55:35 »

I can play this all in my Media Player Classic (using all those codecs)
Would there be some way to use all those same codecs in Java? Has anybody yet done it? I would also need the ability to play any videos, and especially to read all meta data from them (resolution, codec, audio channels, subtitles etc.). How hard would it be to build a JNI interface for example to VideoLAN?

Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline purpleguitar

Junior Member





« Reply #3 - Posted 2007-02-05 14:09:01 »

I was poking around the web a bit this morning, and I came across cortado, a GPL Java player for Ogg Theora + Vorbis:
http://www.flumotion.net/cortado/

I have not looked at the code, but as long as you're willing to play by the GPL, then I imagine you could write a version for applications instead of applets.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (67 views)
2013-05-17 21:29:12

alaslipknot (76 views)
2013-05-16 21:24:48

gouessej (109 views)
2013-05-16 00:53:38

gouessej (104 views)
2013-05-16 00:17:58

theagentd (115 views)
2013-05-15 15:01:13

theagentd (104 views)
2013-05-15 15:00:54

StreetDoggy (149 views)
2013-05-14 15:56:26

kutucuk (172 views)
2013-05-12 17:10:36

kutucuk (170 views)
2013-05-12 15:36:09

UnluckyDevil (179 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.065 seconds with 20 queries.