Elan and Video working with Ubuntu 9.04
Up one level
Elan and Video working with Ubuntu 9.04
Hi all,<br><br>I wanted to view my Elan eaf files at home alongside the original videos used for coding. I use Ubuntu 9.04 at home. I was running into a problem where I couldn't see the video that was linked to the eaf file, but could only hear the audio track. I looked through this forum for solutions, and I noticed that somebody was seeing 'Fobs4JMF - Native shared library found' in their elan0.log file. I found the same entry in my own elan0.log file, and decided to do some searching on the net. <br><br>It turns out that all I had to do to get it working was to download new files for 'fobs4jmf', compatible with Ubuntu, and use them to replace the old ones found in my ./ELAN/jmf__Vlin2.1.1fcs directory. Elan is now working just fine in Ubuntu, video and all!<br><br>Download a gzip of the files at the following address:<br><br>http://sourceforge.net/projects/fobs/files/fobs4jmf%20binaries/Fobs4JMF-0.4.1/fobs4jmf-0.4.1-ubuntu-edgy.tar.gz/download<br><br>The archive bears the name Edgy, but I assure you it is working in my later version of Ubuntu (Jaunty).<br><br>Hourray,<br>Matt<br>
Re: Elan and Video working with Ubuntu 9.04
Sorry, I don't know why all that HTML showed up in my post..
Re: Elan and Video working with Ubuntu 9.04
This is encouraging. I am trying to install ELAN on Ubuntu 9.04 too. The fobs tip got rid of that error message from my log file, but I still can't get video to show up, or a waveform (audio works, though). Below is (hopefully) the relevant bit of the log file. This was generated when trying to play one of the sample files from the ELAN site. Does anyone know what is causing my problem? The "java.lang.IllegalArgumentException" lines look worrying to my untrained eye, but I have no real idea what they mean. Or maybe they are harmless?<br>Best wishes,<br>Gareth<br><br>jmmpegv loaded<br>.<br>mediaURL = file:///home/gareth/Downloads/elan-example1.mpg<br>Fobs4JMF - Native shared library found<br>Opening Thread[JMF thread: com.sun.media.PlaybackEngine@c5e9c[ com.sun.media.PlaybackEngine@c5e9c ] ( configureThread),9,system]<br>Fobs Java2DRenderer: setInputFormat<br>Fobs Java2DRenderer: setInputFormat<br>Fobs Java2DRenderer: start<br>Fobs Java2DRenderer: stop<br>Resetting Thread[Loop thread: com.omnividea.media.parser.video.AudioTrack@2d189c,5,system]<br>Opening Thread[Loop thread: com.omnividea.media.parser.video.AudioTrack@2d189c,5,system]<br>Setting position Thread[AWT-EventQueue-0,6,main]<br>Resetting Thread[Loop thread: com.omnividea.media.parser.video.VideoTrack@7e8c4d,3,system]<br>Opening Thread[Loop thread: com.omnividea.media.parser.video.VideoTrack@7e8c4d,3,system]<br>Setting position Thread[AWT-EventQueue-0,6,main]<br>java.lang.IllegalArgumentException: Requested value 7.9588003 exceeds allowable maximum value 6.0206.<br> at javax.sound.sampled.FloatControl.setValue(FloatControl.java:195)<br> at com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(DirectAudioDevice.java:889)<br> at com.sun.media.renderer.audio.device.JavaSoundOutput.setGain(JavaSoundOutput.java:157)<br> at com.sun.media.renderer.audio.JavaSoundRenderer$GCA.setLevel(JavaSoundRenderer.java:202)<br> at mpi.eudico.client.annotator.player.JMFMediaPlayer.setVolume(JMFMediaPlayer.java:587)<br> at mpi.eudico.client.annotator.ViewerManager2.setMasterMediaPlayer(ViewerManager2.java:211)<br> at mpi.eudico.client.annotator.linkedmedia.MediaDescriptorUtil.createMediaPlayers(MediaDescriptorUtil.java:432)<br> at mpi.eudico.client.annotator.ElanFrame2.initElan(ElanFrame2.java:679)<br> at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:376)<br> at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:392)<br> at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:692)<br> at mpi.eudico.client.annotator.commands.global.OpenMA.actionPerformed(OpenMA.java:89)<br> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)<br> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)<br> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)<br> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)<br> at javax.swing.AbstractButton.doClick(AbstractButton.java:374)<br> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)<br> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)<br> at java.awt.Component.processMouseEvent(Component.java:6108)<br> at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)<br> at java.awt.Component.processEvent(Component.java:5873)<br> at java.awt.Container.processEvent(Container.java:2105)<br> at java.awt.Component.dispatchEventImpl(Component.java:4469)<br> at java.awt.Container.dispatchEventImpl(Container.java:2163)<br> at java.awt.Component.dispatchEvent(Component.java:4295)<br> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)<br> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)<br> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)<br> at java.awt.Container.dispatchEventImpl(Container.java:2149)<br> at java.awt.Component.dispatchEvent(Component.java:4295)<br> at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)<br> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)<br> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)<br> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)<br> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)<br> at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)<br>11-Sep-2009 11:45:05 mpi.eudico.client.annotator.commands.ExportMediaCA <init><br>INFO: No media export functionality available<br>Resetting Thread[Loop thread: com.omnividea.media.parser.video.AudioTrack@2d189c,5,system]<br>Opening Thread[Loop thread: com.omnividea.media.parser.video.AudioTrack@2d189c,5,system]<br>Setting position Thread[AWT-EventQueue-0,6,main]<br>Fobs Java2DRenderer: start<br>Fobs Java2DRenderer: stop<br>Resetting Thread[Loop thread: com.omnividea.media.parser.video.VideoTrack@7e8c4d,3,system]<br>Opening Thread[Loop thread: com.omnividea.media.parser.video.VideoTrack@7e8c4d,3,system]<br>Setting position Thread[AWT-EventQueue-0,6,main]<br>11-Sep-2009 11:45:31 mpi.eudico.client.annotator.integration.ExternalLauncher$LaunchThread run<br>INFO: Launch thread interrupted...<br>11-Sep-2009 11:45:31 mpi.eudico.client.annotator.integration.ExternalLauncher stop<br>INFO: External launch thread stopped...<br><br><br><br>
Re: Re: Elan and Video working with Ubuntu 9.04
The "java.lang.IllegalArgumentException" is indeed worrying. The message "Requested value 7.9588003 exceeds allowable maximum value 6.0206" is less clear then it seems: why would the allowable maximum be 6.0206? And where does the 7.9588003 come from?
This exception is raised when the "gain" is set com.sun.media.renderer.audio.device.JavaSoundOutput.setGain(JavaSoundOutput.java:157)
when the player is created. Is the value taken from some system setting?
But it could still be that the real problem is something else.
-Han