It worked fine and could play all kinds of media files.
Unfortunately I reinstalled the OS on my laptop and now ELAN won’t play any files.
“Can’t create player for (filename)”
It seems it has something to do with LD_LIBRARY_PATH… but I don’t know what that means.
This is how it root-prompt looks when installing:
Preparing to install…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…
raw jre dir:
jre dir:
LD_LIBRARY_PATH:
LD_PRELOAD:
Launching installer…
This is how the prompt looks when I run ELAN:
raw jre dir: /home/stefan/ELAN 3.7.2/jre/
jre dir: /home/stefan/ELAN 3.7.2/jre/
LD_LIBRARY_PATH: /home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs:/home/stefan/ELAN 3.7.2/jre/lib/i386:/home/stefan/ELAN 3.7.2/jre/lib/i386/xawt:/home/stefan/ELAN 3.7.2/jre/lib/i386/client:
LD_PRELOAD:
The LD_LIBRARY_PATH looks quite normal to me, I don’t think that is the problem.
There may be error messages in the log file?
In
-Han
This is from my logfile:
.
.
.
.
jmmpegv loaded
.
mediaURL = file:///home/stefan/Video/Teckenspråk/Perspektiv 6e april -08
javax.media.NoPlayerException while creating JMF player
javax.media.NoPlayerException: Cannot find a Player for :file:/home/stefan/Video/Teckenspråk/Perspektiv 6e april -08
   at javax.media.Manager.createPlayerForContent(Manager.java:1412)
   at javax.media.Manager.createPlayer(Manager.java:417)
   at javax.media.Manager.createPlayer(Manager.java:332)
   at mpi.eudico.client.annotator.player.JMFMediaPlayer.
(JMFMediaPlayer.java:144)
   at mpi.eudico.client.annotator.player.PlayerFactory.createJMFMediaPlayer(PlayerFactory.java:243)
   at mpi.eudico.client.annotator.player.PlayerFactory.createElanMediaPlayer(PlayerFactory.java:185)
   at mpi.eudico.client.annotator.PlayerViewerMenuManager.isVideo(PlayerViewerMenuManager.java:193)
   at mpi.eudico.client.annotator.PlayerViewerMenuManager.initPlayerMenu(PlayerViewerMenuManager.java:117)
   at mpi.eudico.client.annotator.ElanFrame2.initElan(ElanFrame2.java:745)
   at mpi.eudico.client.annotator.ElanFrame2.
(ElanFrame2.java:257)
   at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:764)
   at mpi.eudico.client.annotator.commands.global.NewMA.actionPerformed(NewMA.java:151)
   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.EventDispatchTh
-Stefan
read.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)
Thanks for your help!
-Stefan
Stefan, the log seems to indicate that it is indeed not a configuration (i.e. LD_LIBRARY_PATH) problem. The JMF machinery is working but the javax.media.Manager can’t create a player for the file.
From the file path I cannot tell what kind of file it is: “file:///home/stefan/Video/TeckensprÃ¥k/Perspektiv 6e april -08”. Are you sure that JMF/ELAN could play this file under your previous OS installation?
You could try again after changing the filename (as is, the path looks more like a directory), giving it an extension (not sure if JMF needs this) and placing it in a folder (e.g. /home/stefan/Video) without characters like “Ã¥” (again, not sure if this is a problem). Just an idea
Hi Han,
Thank you for all your help.
The strange thing is that it worked fine when I installed ELAN a month ago. I had recently reinstalled Ubuntu and Java from sun. All filetypes where supported when starting ELAN and I didn’t investigate the logfile too much since evereything worked just fine.
Unfortunately I tampered a bit with the Java and OS and after another reinstallation (yes, this is very linux) ELAN won’t work.
The impression I get is that the problem is somewhat related to the JRE-enviroment in some way. Can you get any useful info from the log? It seems that ELAN can’t find a mediaplayer for some reason.
The log looks identical regardless of file-endings. This is from playing a .avi file. But it looks the same if you try to play .avi, .flv or .dv.
Thanks
-Stefan
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: ELAN 3.7.2
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: Java version: 1.5.0_11
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: Runtime version: 1.5.0_11-b03
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: OS name: Linux
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: OS version: 2.6.28-11-generic
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: User language: sv
2009-apr-11 08:08:15 mpi.eudico.client.annotator.ELAN main
INFO: Classpath: /home/stefan/ELAN 3.7.2/lib/elan.jar:/home/stefan/ELAN 3.7.2/lib/mfsearch__V0.8.0.jar:/home/stefan/ELAN 3.7.2/ext/nl.mpi.gim__V03.jar:/home/stefan/ELAN 3.7.2/ext/nl.mpi.guk__V06.jar:/home/stefan/ELAN 3.7.2/ext/nl.mpi.lookup.CJKV__V02.jar:/home/stefan/ELAN 3.7.2/ext/nl.mpi.lookup.IPA__V03.jar:/home/stefan/ELAN 3.7.2/ext/nl.mpi.lookup__V08.jar:/home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs/jmf.jar:/home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs/sound.jar:/home/stefan/ELAN 3.7.2/Do Not Install/custom/copyandrename.jar:/home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs/fobs4jmf.jar:/home/stefan/ELAN 3.7.2/lib/batik__V1.1.1.jar:/home/stefan/ELAN 3.7.2/lib/jlfgr-1_0.jar:/home/stefan/ELAN 3.7.2/lib/xerces__V2.6.2/xercesImpl.jar:/home/stefan/ELAN 3.7.2/lib/jhall-2.0.0.5.jar:/home/stefan/ELAN 3.7.2/lib/xalan-2.4.1.jar:/home/stefan/ELAN 3.7.2/lib/macapp__V03.jar:/home/stefan/ELAN 3.7.2/lib/help.zip:/home/stefan/ELAN 3.7.2/lib/cocoa_qt/1.0/JavaCocoaQTMovieView.jar:/home/stefan/ELAN 3.7.2/lax.jar:
2009-apr-11 08:08:15 mpi.eudico.client.annotator.util.SystemInstallationSecurity verifyLibExt
INFO: verifying lib/ext /HOME/STEFAN/ELAN 3.7.2/JRE/LIB/EXT
2009-apr-11 08:08:17 mpi.eudico.client.annotator.integration.ExternalLauncher start
INFO: External launch thread started…
Using JMF Media Player
current library path:
/home/stefan/ELAN 3.7.2/jre/lib/i386/server:/home/stefan/ELAN 3.7.2/jre/lib/i386:/home/stefan/ELAN 3.7.2/jre/…/lib/i386:/home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs:/home/stefan/ELAN 3.7.2/jre/lib/i386:/home/stefan/ELAN 3.7.2/jre/lib/i386/xawt:/home/stefan/ELAN 3.7.2/jre/lib/i386/client:
loading Linux native libs…
jmutil loaded
jawt loaded
.
.
.
.
.
.
.
.
.
.
jmmpegv loaded
.
mediaURL = file:///home/stefan/Video/Mediejukeboxen/Parasiten_sve.avi
Fobs4JMF - Native shared library NOT found
java.lang.UnsatisfiedLinkError: /home/stefan/ELAN 3.7.2/jmf__Vlin2.1.1fcs/libfobs4jmf.so: Can’t load IA 32-bit .so on a IA 32-bit platform
 
Hi Stefan,
the log file now reports an error when loading a Fobs4JMF library: libfobs4jmf.so.
This is a similar problem that has been reported before and I don’t know what the solution is (was), unfortunately.
-Han
