Menu

Problem getting fobs to work in my Java app

user
Payam Fard
2007-03-29
2013-05-09
  • Payam Fard

    Payam Fard - 2007-03-29

    I have a simple JMF application that plays a movie clip. It cannot play .divx formats. I downloaded fobs and added fobs4jmf.jar to my classpath, but I am still getting the following error message:

      Unable to handle format: DIVX, 480x360, FrameRate=25.0, Length=518400 0 extra bytes
      Unable to handle format: mpeglayer3, 44100.0 Hz, 0-bit, Stereo, Unsigned, 16000.0 frame rate, FrameSize=8 bits
    Failed to realize: com.sun.media.PlaybackEngine@18020cc
    Error: Unable to realize com.sun.media.PlaybackEngine@18020cc
    Could not realize media player

    This is the same exact error message I was getting before adding fobs4jmf.jar to my classpath. What else should I be doing to get the player play .divx files.

    Any help would be appreciated.

     
    • Jose San Pedro

      Jose San Pedro - 2007-03-29

      Hi,

      try to read previous posts of the forum. You probably haven't configured Fobs properly: either use the provided jmf.properties or add Fobs codecs to your jmf.properties file using the JMFRegistry application. That is a mandatory step, in addition to include Fobs4JMJ.jar file to the classpath.

      Cheers,

      Jose San Pedro

       
    • Nobody/Anonymous

      Could you solve this problem? I had an application running jmf and added fobs4jmf.jar, jmf.jar (provided) and jmf.properties to the project and the classpath (and even tried on the buildpath) but couldn't open the media.

      cheers
      Nano

       
    • Nobody/Anonymous

      I am having a similar problem. I can play the clip fine with JMStudio. But when I create a simple player using the MediaPlayer bean, it cannot open the clip. It will play clips in formats that are handled by JMF.

       
    • Nobody/Anonymous

      Update on the above problem:

      I don't know if it was the computer restart or re-adding FOBS as a separate library, but today it works!!!

      FOBS is so insanely useful! Thanks for it!

      -Michael

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.