Skip to main content

OpenSource JavaMediaPlayer in 100% Java

8 replies [Last post]
theuserbl
Offline
Joined: 2004-05-04
Points: 0

I see at the videos at
http://www.javafx.com/
http://www.javafx.com/compressed/
http://www.javafx.com/movs/
have support to show videos.

Why isn't it parts of the JavaFX at https://openjfx.dev.java.net/ ?
Is it beacuse the actual implemention uses 3rd party code, which is closed source?

If this is the reson, then I want to mention the side at
http://www.meviatronic.de (sorry, the side is in german language)
there is an OpenSource MediaPlayer written in 100% Java.
On the side is also an example applet showing a video.
It runs on Java 1.1 until Java 6 and the previews of Java 7.

The MediaPlayer is licensed under the LGPL and could be so possibly part of OpenJFX.

Don't know if there exists additional OpenSource MediaPlayer, but that is the only one where I know about.

Greatings
theuserbl

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
realspiro
Offline
Joined: 2008-07-29
Points: 0

http://coffeejolts.com/site/2008/07/java-media-little-by-little.html

I'm a little bit angry of these link and example.

You need Javascript, which is default switched to false, because you won't have a tracked surfe behavior via Cookies and Javascript and then he tries to install Java again - with ActiveX - although I have still installed the very last Java version and Web Start is working with my installed Java like these example: http://www.javazoom.net/jlgui/sources.html

Is there an iron rule, that looking a simple demo requirers software installation from an expensive software engineer? I spend nearly an hour because I though my Java installation was wrong. Deinstallation and installation again. Looking in the web for a Web Start example. Found one - it works. But not yours.

OK, if you could help me to fight against "the iron rule" of modern software marketing, it would very fine! Please help me!

realspiro
Offline
Joined: 2008-07-29
Points: 0

Pure 100% Java Mp3 is standard and robust, since several years, if you don't believe it, test these player here:

http://www.ljmf.org/download_e.shtml

The stuff is more useful as e.g. WindowsMediaPlayer 11 (e.g. mor complete IDV2-Tag implementation) and much more MP3-variation robust than e.g. WindowsMediaPlayer 8
(MP3 VBR)

And here is, what you are waiting for:

http://download.java.net/jdk7/docs/api/

https://openjfx.dev.java.net/nonav/api/index.html

You can clearly see, that http://download.java.net/jdk7/docs/api/
doesn't contain any "Superplayer"and that the new Mediaplayer of JavaFX ist only a JavaFX-Scripting Object for JavaFX-Scripting Webclients.

coffeejolts
Offline
Joined: 2007-05-17
Points: 0

I am sorry if I offended you. I am sure that your java media player is great. However, your link to the JavaFX documentation is very outdated.

The documentation for the JavaFX Script API is available at http://openjfx.java.sun.com/hudson/job/openjfx-compiler-technology-previ...

The standard Java implementation is in the jmc.jar, which is in all the latest Hudson builds. I was even able to use the jar in a webstart app. The native libs are not released yet. Those will be in the preview sdk which is coming out this week (supposedly).

You can see which formats will eventually play on your machine by running the app located here: http://coffeejolts.com/site/2008/07/java-media-little-by-little.html

realspiro
Offline
Joined: 2008-07-29
Points: 0

Sorry that I have posted an outdated JavaFX-link. But
I'm aware of the newest version of JavaFX-API and I have written about this last version. You are right. There seems to exist a successor of the Java Frame Work named Java Media Component.

realspiro changed

Message was edited by: realspiro

realspiro
Offline
Joined: 2008-07-29
Points: 0

Mp3 Java is standard and robust, since several years, if you don't believe it, test these player here:

http://www.ljmf.org/download_e.shtml

And here is, what you are waiting for:

http://download.java.net/jdk7/docs/api/

Do you see there any "Superhypermediaplayerstuff" ?

Why do you think, that big companies are automatically be able to develop "Supersoftware"?

geekycoder
Offline
Joined: 2008-06-19
Points: 0

My experience in developing a application using open source Java media player, JLayer, tells me that we should wait until Sun deliver the media player next month in during the release of JavaFX desktop. Most problematic Java native player is that it will be able to play some mp3 audio due to variation in mp3 format itself, and integrating such system does take trial and error (integrate stop, play, pause, feedback, bugs). So I suggest that one should wait for Sun's offering (which at least become a standard when it bundle with JRE) before committing the time and resource.

coffeejolts
Offline
Joined: 2007-05-17
Points: 0

I agree 100%. The existing Java media players are not robust enough for prime time, open source or otherwise. Wait for the Sun implementation, and more importantly, the new codec. They're getting bundled in Java 7, and will become- for better or worse- the standard. Here's hoping that it's for the better!

theuserbl
Offline
Joined: 2004-05-04
Points: 0

On the side of the author isn't the source-code. There stand only that you have to contact him, to become the source.

I have connected him and he give me the source of xamp (LGPL):
http://www.mediafire.com/?t0bjmc1pegh
http://www.file-upload.net/download-920221/xamp.zip.html
http://rapidshare.com/files/123109311/xamp.zip.html

Additional to Xamp, there existing also LJMF-jar. And the source of the LJMF-JAR seems to be probematical, because it is a mpeg2 player. And to implement mpeg2 or to use that format, you have to pay to a company or so.
He says, that he still discuss it with some people, what is possible for the future of LJMF itself.
He want to put it under the GPL.
But there existing the problems with the rights to implement the mpeg2 codec.