Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF and mp3 plugin  RSS feed

 
Wolfgang Tintemann
Ranch Hand
Posts: 65
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Wim Vanni
Ranch Hand
Posts: 96
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You 'installed' .. What steps did you take to install these?

And, for an alternative, JavaZoom's MP3SPI.

(I have no experience with either.)

Wim
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!