Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JMF and mp3 plugin" Watch "JMF and mp3 plugin" New topic
Author

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.)

Wim
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMF and mp3 plugin
 
Similar Threads
Using JMF in Eclipse 3.0 -- A "failed to realize" error
Linux/JMF
JMF MP3 Applet Problem, HELP
problem with JMF on Linux
Playing 16-bit stereo files