wood burning stoves
The moose likes Java in General and the fly likes JMF and mp3 plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JMF and mp3 plugin" Watch "JMF and mp3 plugin" New topic

JMF and mp3 plugin

Wolfgang Tintemann
Ranch Hand

Joined: Sep 11, 2010
Posts: 65

I installed the current version of JMF and the mp3 plugin.
When I run the JMFStudio sample app I can play audio
files of .au and .wav format.
When I try a .mp3 file I get the following message :

Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@d3d6f
Error: Unable to realize com.sun.media.PlaybackEngine@d3d6f
Fehler: Failed to realize: input media not supported: mpeglayer3 audio
Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.Error: Failed to realize: input media not supported: mpeglayer3 audio
at PlayerApplet.printErrMsg(PlayerApplet.java:105)
at PlayerApplet.controllerUpdate(PlayerApplet.java:98)
at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

May there be something wrong in my installation or is JMF outdated ?
Is there another Framework which plays audio and video files ?

Time isn't Money, Money is Time.
The man who works looses his time ( spanish proverb )
Wim Vanni
Ranch Hand

Joined: Apr 06, 2011
Posts: 96

You 'installed' .. What steps did you take to install these?

And, for an alternative, JavaZoom's MP3SPI.

(I have no experience with either.)

I agree. Here's the link: http://aspose.com/file-tools
subject: JMF and mp3 plugin
It's not a secret anymore!