3 messages in net.java.dev.jna.users[jna-users] working with mp3 libraries
FromSent OnAttachments
David BarronJun 27, 2007 5:16 pm 
Wayne MeissnerJun 28, 2007 5:21 am 
David BarronJun 28, 2007 6:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] working with mp3 librariesActions...
From:David Barron (davi@sas.com)
Date:Jun 28, 2007 6:58:52 am
List:net.java.dev.jna.users

gstreamer is cross-platform as long as you consider "cross-platform" to mean both ubuntu and fedora :-) (its getting better on macosx and windows, but I couldn't get either to play xvid).

The two-year old, abandoned gst-java project doesn't use JNA, it uses a rather large mess of hand-written JNI code. It is also targeted towards gstreamer-0.8.

My project at http://code.google.com/p/gstreamer-java/ which I haven't gotten around to actually doing a 0.1 release for, uses JNA, and supports enough of gstreamer 0.10 to play audio/video on linux.

If you want something truly cross-platform just to play mp3 files, look at the javazoom jlayer library.

Actually the mp3 player I wrote for myself uses the javazoom jlayer library and
has ever since Sun took mp3 support out of JMF. But I'm always looking for a
new way to do things and I got curious about gstreamer on window$ and that led
me to JNA. I believe you're mistaken on one point. When I tried to use
gst-java I started getting UnsatisfiedLinkErrors trying to load jnidispatch.dll,
so I think gst-java is using JNA. The source code does look like it is, anyway. I tried using the Windows gstreamer packages and was never able to get JNA to
load the dll, by the way. Not sure why, but nothing I tried helped at all.

I'd be interested in trying your project, if you ever need someone to test it on
windows.