Menu

Still can't find a processor

user
2008-07-08
2013-05-09
  • Nobody/Anonymous

    I've been crawling this forum and every other piece of Fobs4JMF documentation or support I can find for a few days now, and I still can't seem to find the solution to what should be a relatively simple problem to fix.

    I'm running Fobs4JMF on a Windows XP system.  I've carefully followed all the installation instructions for Fobs4JMF including registry changes in JMStudio.  But when I run the basic lines of code (simplified for presentation here):

    MediaLocator source = new MediaLocator("file://C:/dir1/dir2/clipC.mp4");
    Processor proc = Manager.createProcessor(source);

    I get a javax.media.NoProcessorException.  Any ideas as to what I'm doing wrong?

     
    • Nobody/Anonymous

      Forgot to mention: this works fine on a motion jpeg avi, but for this h264 encoded mp4 I get nothing.

       
    • Nobody/Anonymous

      You're certain the DLL files are available to the system when you launch the application?  Try putting the fobs*.dll into the JAVA/jre/lib/[i386|amd64] directory and running again.

       
    • Nobody/Anonymous

      I'm also having problems creating a Processor object, which in code: 
      Processor p = Manager.createProcessor(mediaLocatorVariable);

      I'm getting the following console message:   OpenError: File open error

      What does that message mean? 

      I already did what the fobs4jmf configuration document mentioned:
      *  Installed JMF 2.1.1e
         - Added jmf.jar and sound.jar to CLASSPATH
         - Added %JMFDIR%\bin to PATH  (JMFDIR is c:\Program Files\JMF2.1.1e)
      *  Installed fobs4jmf: 
         - Added fobs4jmf.jar to CLASSPATH
         - Copied fobs4jmf.dll to c:\windows\system32 folder (as well as to the JAVA_HOME\jre\lib\i386 folder)
         - Copied the jmf.jar and jmf.properties files from the fobs4jmf folder to the %JMFDIR% folder
      *  The parser, encoder and decoder classes as well as com.omnividea package are already in JMF Registry.

      Despite all these, I'm not sure I'm creating a proper Processor because of the error message.  I have yet to enable my Processor to get realized.

      Moreover, when I try to run jmstudio.exe from it installation location and try to play a video file, I still get an error:  Failed to realize:  input media not supported: avc1 video, mp4a audio.   However, when I run runjmstudio.bat from the fobs4jmf folder, I am able to play the video without problem.

      Can somebody please help?  Thanks.

      Anthony
      .

       

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.