Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Linux with JMF - a Fobs free Elan?

Linux with JMF - a Fobs free Elan?

Up one level

Linux with JMF - a Fobs free Elan?

Posted by pwallis at 2010-03-15 12:10  

I still have not got Elan to work under linux even though the JMF thing, jmstudio, plays the file fine.&nbsp; The exact problem is "initializing ... still"<br><br>I see Stefan had the same problem.&nbsp; A brief asside:&nbsp; re Quicktime (he probably has the same files if it is the Stefan I know)&nbsp; The reason there is Quicktime on a linux box (if you are wondering) is that it is one of two video formats supported by JMF "out of the box"&nbsp;&nbsp; There is no mpeg 1 or 2 encoder, and hasn't been for 8 years.&nbsp; The other format is MSVideo.&nbsp; Why someone interested in such things can't do a mpeg1 and or 2 encoder codec, and indeed can't sell me a mpeg4 encoder I don't know...<br><br>Rant over.<br><br>I have had a look at how it all comes together - and lax is very clever - but is there a way to use elan for the java purists perhaps?&nbsp; Even better, if there is a functioning JMF on the system, perhaps the lax start-up script could detect that and not do whatever it is it does with FOBS perhaps?<br><br>Petr<br>

Re: Linux with JMF - a Fobs free Elan?

Posted by hasloe at 2010-03-15 12:47  

Letting the installer detect JMF on the system will be difficult, I guess. I don't believe (our version of) the software we use to create the installer supports this.
But it should be possible to let ELAN use an installed JMF by removing the JMF libraries etc. from the jre that comes with ELAN (in case you installed an ELAN version with JRE) and adopting the lax file (or the .sh script in the /bin directory) to use the pre-installed JMF.

I'll see if I can lay my hands on an Ubuntu 9.10, that would make it easier to give some advise.

-Han

Re: Re: Linux with JMF - a Fobs free Elan?

Posted by micha at 2010-03-16 15:02  

Perhaps the following will help.

My setup: Ubuntu 9.10, existing Java v1.6 install, ELAN install (without the JRE). This setup does not display a video image in ELAN.

In elan0.log:
Fobs4JMF - Native shared library NOT found
java.lang.UnsatisfiedLinkError: /home/ruwerk/ELAN 3.8.1/jmf__Vlin2.1.1fcs/libfobs4jmf.so: libstdc++.so.5: cannot open shared object file: No such file or directory


Solution that worked for me:
I downloaded http://sourceforge.net/projects/fobs/files/fobs4jmf%20binaries/Fobs4JMF-0.4.1/fobs4jmf-0.4.1-ubuntu-edgy.tar.gz/download and copied two files in this tar.gz, fobs4jmf.jar and libfobs4jmf.so, to the directory <user_home_dir>/ELAN 3.8.1/jmf__Vlin2.1.1fcs/

Now ELAN does display the video (after a restart of ELAN of course).

Re: Re: Linux with JMF - a Fobs free Elan?

Posted by pwallis at 2010-03-23 11:52  

I have been fiddling about without success.&nbsp; I am using the no jre version and fiddling about with the Elan_Linux_3_8_1.sh in the bin directory.<br>removing the JMF stuff provided by Elan doesn't change anything so I guess the problem is in the java.<br><br>&nbsp;The error I am getting is the same "initializing ..." <br><br>By the way, Detecting an installed JMF in the java is of course easy: just try and use it and catch the exception.&nbsp; It is possible I am doing something silly with formats.&nbsp; The file is generated from a webcam using JMF and is a mov file with H263 video and IMA4 sound...<br><br><br>

 

Powered by Plone

This site conforms to the following standards: