In short, using java 1.5, Fobs 0.4.0 works fine on various incarnations of Windows, OSX 10.4.x PPC and Intel, and linux. If I switch to Fobs 0.4.1, everything still works except for OSX on PPC.
It's easily reproducible just by downloading the FOBSJMStudio version 0.4.0 and 0.4.1, and trying to open a movie (while on a PPC Mac). It works in 0.4.0, but not in 0.4.1. You get an error: Controller error: Failed to realize: input media not supported: mp4 audio, SVQ3 video.
The underlying problem is that it can't find the native library (doesn't really matter what video format - I think Cinepak still works as regular JMF can play that format).
Fobs4JMF - Native shared library NOT found
java.lang.UnsatisfiedLinkError: /Volumes/Fobs4JMF-JMStudio 1/Fobs4JMF-0.4.1-JMStudio.app/Contents/Resources/Java/libfobs4jmf.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.moesol.bindings.NativeLibraryFinder.loadLibrary(NativeLibraryFinder.java:63)
at com.omnividea.media.parser.video.Parser.<clinit>(Parser.java:107)
It doesn't seem to matter that the library is there at that exact path (above), or if I put the library /usr/lib/java (where it works for development purposes) - it's always the same error. The one curious thing though is that if I run my application from my development environment on a PPC Mac, it _does_ find the native library in /usr/lib/java, so I'm baffled as to why it can't find it when run as a standalone application.
So any ideas how to fix this? Is there something I can do to manually load the library?
Thanks,
Julian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In short, using java 1.5, Fobs 0.4.0 works fine on various incarnations of Windows, OSX 10.4.x PPC and Intel, and linux. If I switch to Fobs 0.4.1, everything still works except for OSX on PPC.
It's easily reproducible just by downloading the FOBSJMStudio version 0.4.0 and 0.4.1, and trying to open a movie (while on a PPC Mac). It works in 0.4.0, but not in 0.4.1. You get an error: Controller error: Failed to realize: input media not supported: mp4 audio, SVQ3 video.
The underlying problem is that it can't find the native library (doesn't really matter what video format - I think Cinepak still works as regular JMF can play that format).
Fobs4JMF - Native shared library NOT found
java.lang.UnsatisfiedLinkError: /Volumes/Fobs4JMF-JMStudio 1/Fobs4JMF-0.4.1-JMStudio.app/Contents/Resources/Java/libfobs4jmf.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.moesol.bindings.NativeLibraryFinder.loadLibrary(NativeLibraryFinder.java:63)
at com.omnividea.media.parser.video.Parser.<clinit>(Parser.java:107)
It doesn't seem to matter that the library is there at that exact path (above), or if I put the library /usr/lib/java (where it works for development purposes) - it's always the same error. The one curious thing though is that if I run my application from my development environment on a PPC Mac, it _does_ find the native library in /usr/lib/java, so I'm baffled as to why it can't find it when run as a standalone application.
So any ideas how to fix this? Is there something I can do to manually load the library?
Thanks,
Julian
It seems that the libfobs.jnilib hasn't got the PPC part compiled in.
silvio$ file libfobs4jmf.jnilib
libfobs4jmf.jnilib: Mach-O dynamically linked shared library i386
Can any developer fix this?