Wednesday November 07, 2007
Figuring Out the Movie Player, Again
I figured out some of the problems people have been having with an earlier blog entry, called How to Create a Movie Player (Step 1: Setting Up and Testing JMF). In the comments, there are a few people with the error message: "Fobs4JMF - Native shared library NOT found", which they get when they try to run a movie in JMStudio. What that means is that you need to add the folder that contains the Fobs JARs and, especially, the native library, on the library path, i.e., LD_LIBRARY_PATH on Linux.
Within your module, i.e., the module that contains the two Fobs JARs, for the same reason as the above (i.e., you will get the same error message as the above, but in the Output window), you need to create release/modules/lib and simply put the native library there (nothing more than that) as shown in the pic below:

And that's it. Get the movie player project template from the plugin portal, put it in a suite, download Fobs, create a library wrapper module and wrap the JARs and native library as shown above, set a dependency in the movie player on the library wrapper, build the suite, and then deploy the suite. You'll then be able to watch movies in the IDE, for no coding whatsoever.
Nov 07 2007, 12:10:32 AM PST Permalink


