Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » ELAN on suse 11.3

ELAN on suse 11.3

Up one level

ELAN on suse 11.3

Posted by caroline at 2011-06-30 10:52  

Hi

Forking from another thread, I am unable to run ELAN on suse 11.3. When I try to open a file, it just hangs at the initialising stages.


Here are some outputs:
ldd *.so | sed -e 's/0x.*000//' | sort | uniq | grep -v ':$' (standard input): libc.so.6 => /lib/libc.so.6 ()
(standard input): libdl.so.2 => /lib/libdl.so.2 ()
(standard input): libgcc_s.so.1 => /lib/libgcc_s.so.1 ()
(standard input): libjmutil.so => not found
(standard input): /lib/ld-linux.so.2 ()
(standard input): libm.so.6 => /lib/libm.so.6 ()
(standard input): libstdc++.so.5 => /usr/lib/libstdc++.so.5 ()
(standard input): libX11.so.6 => /usr/lib/libX11.so.6 ()
(standard input): libXau.so.6 => /usr/lib/libXau.so.6 ()
(standard input): libxcb.so.1 => /usr/lib/libxcb.so.1 ()
(standard input): libXext.so.6 => /usr/lib/libXext.so.6 ()
(standard input): libz.so.1 => /lib/libz.so.1 ()
(standard input): linux-gate.so.1 => ()

(libjmutil is in both bin/elan/ELAN_4.1.1/jmf__Vlin2.1.1fcs and in the MJF directory)

ls -l /lib/libc.so.6 /lib/libdl.so.2 /lib/libgcc_s.so.1 /lib/ld-linux.so.2 /lib/libm.so.6 /usr/lib/libstdc++.so.5 /usr/lib/libX11.so.6 /usr/lib/libXau.so.6 /usr/lib/libxcb.so.1 /usr/lib/libXext.so.6 /lib/libz.so.1 | sed -e 's/.*root//'
12 2010-12-22 14:17 /lib/ld-linux.so.2 -> ld-2.11.2.so
14 2010-12-22 14:17 /lib/libc.so.6 -> libc-2.11.2.so
15 2010-12-22 14:17 /lib/libdl.so.2 -> libdl-2.11.2.so
116348 2011-02-15 01:31 /lib/libgcc_s.so.1
14 2010-12-22 14:17 /lib/libm.so.6 -> libm-2.11.2.so
13 2010-12-22 13:54 /lib/libz.so.1 -> libz.so.1.2.3
18 2011-06-28 16:48 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
15 2010-12-22 13:58 /usr/lib/libX11.so.6 -> libX11.so.6.3.0
15 2010-12-22 13:52 /usr/lib/libXau.so.6 -> libXau.so.6.0.0
15 2010-12-22 13:57 /usr/lib/libxcb.so.1 -> libxcb.so.1.1.0
16 2010-12-22 14:02 /usr/lib/libXext.so.6 -> libXext.so.6.4.0

rpm -q --whatprovides libstdc++.so.5
libstdc++33-32bit-3.3.3-22.1.x86_64
libstdc++33-3.3.3-22.1.i586


I have compat 2010.1.31 but it's not coming up at providing libstdc++.so.5

Re: ELAN on suse 11.3

Posted by caroline at 2011-06-30 11:11  

Oops, sorry, I forgot to post the log-file output.


30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: ELAN 4.1.1
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: Java home: /home/esoltech/bin/elan/ELAN_4.1.1/jre
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: Java version: 1.5.0_11
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: Runtime version: 1.5.0_11-b03
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: OS name: Linux
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: OS version: 2.6.34.8-0.2-desktop
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: User language: en
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: User home: /home/esoltech
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: User dir: /home/esoltech/bin/elan/ELAN_4.1.1
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: Classpath: /home/esoltech/bin/elan/ELAN_4.1.1/lib/elan.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/mpi-util-1.0.0.jar:/home/esoltech
/bin/elan/ELAN_4.1.1/lib/mdsearchapplet-1.3.2.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/mfsearch-1.3.1.jar:/home/esoltech/bin/elan/ELAN_
4.1.1/jmf__Vlin2.1.1fcs/jmf.jar:/home/esoltech/bin/elan/ELAN_4.1.1/jmf__Vlin2.1.1fcs/sound.jar:/home/esoltech/bin/elan/ELAN_4.1.1/Do Not
Install/custom/copyandrename.jar:/home/esoltech/bin/elan/ELAN_4.1.1/jmf__Vlin2.1.1fcs/fobs4jmf.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib
/jhall-2.0.0.5.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/xalan-2.4.1.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/xercesImpl-2.9.0.jar:/ho
me/esoltech/bin/elan/ELAN_4.1.1/ext/nl.mpi.gim__V04.jar:/home/esoltech/bin/elan/ELAN_4.1.1/ext/nl.mpi.guk__V07.jar:/home/esoltech/bin/ela
n/ELAN_4.1.1/ext/nl.mpi.lookup.CJKV__V03.jar:/home/esoltech/bin/elan/ELAN_4.1.1/ext/nl.mpi.lookup.IPA__V04.jar:/home/esoltech/bin/elan/EL
AN_4.1.1/ext/nl.mpi.lookup__V09.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/log4j-1.2.14.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/hsqldb
-1.8.0.7.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/help.zip:/home/esoltech/bin/elan/ELAN_4.1.1/lib/batik-1.1.1.jar:/home/esoltech/bin/el
an/ELAN_4.1.1/lib/jlfgr-1.0.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lib/JavaQTMovieView-1.4.2.jar:/home/esoltech/bin/elan/ELAN_4.1.1/lax.j
ar:/home/esoltech/Programming/Java:/home/esoltech/bin/ELAN_3_80/:/home/esoltech/bin/jing-20090818/bin:/home/esoltech/jmf/JMF-2.1.1e//lib/
jmf.jar
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.ELAN main
INFO: Library path: /home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386/server:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386:/home/esoltech
/bin/elan/ELAN_4.1.1/jre/../lib/i386:/home/esoltech/bin/elan/ELAN_4.1.1/jmf__Vlin2.1.1fcs:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386
:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386/xawt:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386/client:/home/esoltech/jmf/JMF-2.1.1
e//lib:/home/esoltech/jmf/JMF-2.1.1e//lib:/usr/lib64/mpi/gcc/openmpi/lib64
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.prefs.PreferencesReader parse
INFO: Reading preferences: /home/esoltech/.elan_data/elan.pfsx
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.integration.ExternalLauncher start
INFO: External launch thread started...
30-Jun-2011 09:49:14 mpi.eudico.client.annotator.prefs.PreferencesReader parse
WARNING: Preferences file does not exist: /home/esoltech/.elan_data/shortcuts.pfsx
30-Jun-2011 09:49:19 mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /home/esoltech/.elan_data/elan.pfsx
30-Jun-2011 09:49:19 mpi.eudico.client.annotator.prefs.PreferencesWriter encodeAndSave
INFO: Writing preferences: /home/esoltech/.elan_data/elan.pfsx
Using JMF Media Player
current library path:
/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386/server:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386:/home/esoltech/bin/elan/ELAN_4.1.1
/jre/../lib/i386:/home/esoltech/bin/elan/ELAN_4.1.1/jmf__Vlin2.1.1fcs:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386:/home/esoltech/bin/
elan/ELAN_4.1.1/jre/lib/i386/xawt:/home/esoltech/bin/elan/ELAN_4.1.1/jre/lib/i386/client:/home/esoltech/jmf/JMF-2.1.1e//lib:/home/esoltec
h/jmf/JMF-2.1.1e//lib:/usr/lib64/mpi/gcc/openmpi/lib64
loading Linux native libs...
jmutil loaded
jawt loaded

mediaURL = file:///home/esoltech/Work/Esoltech/bmbp2_queries/second_esol_sound/KET/Akito and Totti.wav
Fobs4JMF - Native shared library found
Unable to handle format: FFMPEG_AUDIO, 48000.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 192000.0 frame rate, FrameSize=32 bits
Failed to prefetch: com.sun.media.PlaybackEngine@9770a3
Error: Unable to prefetch com.sun.media.PlaybackEngine@9770a3

java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.omnividea.media.parser.video.Parser.<clinit>(Parser.java:96)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.media.BasicPlugIn.getClassForName(BasicPlugIn.java:271)
at com.sun.media.BasicSourceModule.createDemultiplexer(BasicSourceModule.java:132)
at com.sun.media.BasicSourceModule.createModule(BasicSourceModule.java:96)
at com.sun.media.PlaybackEngine.setSource(PlaybackEngine.java:124)
at com.sun.media.MediaPlayer.setSource(MediaPlayer.java:30)
at javax.media.Manager.createPlayerForSource(Manager.java:1453)
at javax.media.Manager.createPlayerForContent(Manager.java:1326)
at javax.media.Manager.createPlayer(Manager.java:417)
at javax.media.Manager.createPlayer(Manager.java:332)
at mpi.eudico.client.annotator.player.JMFMediaPlayer.<init>(JMFMediaPlayer.java:151)
at mpi.eudico.client.annotator.player.PlayerFactory.createJMFMediaPlayer(PlayerFactory.java:259)
at mpi.eudico.client.annotator.player.PlayerFactory.createElanMediaPlayer(PlayerFactory.java:201)
at mpi.eudico.client.annotator.ViewerManager2.createMediaPlayer(ViewerManager2.java:258)
at mpi.eudico.client.annotator.linkedmedia.MediaDescriptorUtil.createMediaPlayers(MediaDescriptorUtil.java:450)
at mpi.eudico.client.annotator.ElanFrame2.initElan(ElanFrame2.java:767)
at mpi.eudico.client.annotator.ElanFrame2.setTranscription(ElanFrame2.java:465)
at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:780)
at mpi.eudico.client.annotator.commands.global.NewMA.actionPerformed(NewMA.java:153)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unable to handle format: LINEAR, 48000.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 192000.0 frame rate, FrameSize=32 bits
Failed to prefetch: com.sun.media.PlaybackEngine@9dd6e2
Error: Unable to prefetch com.sun.media.PlaybackEngine@9dd6e2



Looking at the log, it could be to do with the file format. The file I'm trying to load is a .wav extracted from a .wmv using ffmeg. Ideally I would analyse the video file itself but I know ELAN doesn't support wmv so I extracted the audio as a first stage to try ELAN out with.

Re: Re: ELAN on suse 11.3

Posted by eric at 2011-06-30 12:27  

Hi Caroline, you write:

"Looking at the log, it could be to do with the file format."

The log says so, but it seems to be about a simple uncompressed WAV so it is odd that there are problems opening that. You could try mplayer -identify on the WAV file.

"The file I'm trying to load is a .wav extracted from a .wmv using ffmpeg."

Which command did you use?

"Ideally I would analyse the video file itself but I know ELAN doesn't support wmv"

ELAN should support any format which is supported by the used media framework. With the ffmpeg-based FOBS (Linux) and with Windows Media Player (Windows) you should have no problems with WMV. Of course on MacOS with QuickTime, there might be a problem. Older versions of ffmpeg had problems with newer WMV variants but I would say things work most of the time now. You can also try by testing whether the WMV plays okay with mplayer, videolan VLC player or ffmpeg, given that they use ffmpeg for many (but certainly not all) formats.

Eric

PS: If you only have a WMV but no WAV, ELAN will not display the waveform. If ELAN does display the waveform of a WAV, you can be almost certain that the WAV is uncompressed and linear and should play on all media frameworks on all operating systems where ELAN works.

Re: Re: Re: ELAN on suse 11.3

Posted by caroline at 2011-06-30 14:52  

Hi

I used ffmpeg -i file.wmv file.wav. To complicate things, I have ELAN 3.7 on my 32 bit Lucid Lynx laptop and that can open the wav file, so it's not a problem with the wav per se. For some reason the laptop is refusing to open the wmv even though movieplayer will, but that's by the by, because it's my 64 bit work computer that I need to get working.

Here's the output of mplayer -i file.wav


Playing Akito and Totti.wav.
ID_AUDIO_ID=0
Audio only file format detected.
ID_FILENAME=Akito and Totti.wav
ID_DEMUXER=audio
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=2
ID_LENGTH=555.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)

Re: Re: Re: Re: ELAN on suse 11.3

Posted by eric at 2011-07-06 11:43  

Hi, comparing to Ubuntu, I get the impression that "not supporting formats" for formats with expected support can just mean "no formats supported at all" which would in turn mean "some library is missing". For Ubuntu Lucid, yet another user had this problem yesterday and it got solved by installing one single library: libstdc++5 (from lucid-backports, in universe, see also packages.ubuntu.com)... Not sure what is still missing on SuSE, though. Are you sure all libraries are there and with 32 bit support?

Eric

 

Powered by Plone

This site conforms to the following standards: