Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » No sound, Arch Linux

No sound, Arch Linux

Up one level

No sound, Arch Linux

Posted by Baryon at 2011-11-01 11:02  

Hello,<br><br>I cannot get audio playback to work on Arch, using OpenJDK 6. Wav files are loaded successfully and the waveform is visible, but the playhead does not even move along it; the playhead just jumps straight to the end of the audio. The only errors I see in the log file are:<br><br>"Fobs4JMF - Native shared library NOT found"<br>and<br>"Illegal volume level: 1.0"<br><br>The following error is also in the install log:<br>"Additional Notes: ERROR -&nbsp;&nbsp;&nbsp;&nbsp; class mpi.ia.install.CopyAndRenameAction NonfatalInstallException Copy error occurred!"<br><br>Is it necessary to have Fobs just in order to play WAV files?<br><br>Thanks!<br>

Re: No sound, Arch Linux

Posted by Baryon at 2011-11-02 18:59  

I got the sound working by installing the legacy libstdc++5 package. Unfortunately the program is still very buggy. The playhead keeps moving on from where it left off even if you manually put it back, and sometimes the sound it plays doesn't correspond to the selection.<br>

Re: Re: No sound, Arch Linux

Posted by hasloe at 2011-11-03 12:01  

In principle FOBS is not needed for playing plain .wav files; JMF can do that without FOBS. It is known that there are several problems with getting media playback working in ELAN on Linux (and we plan to implement an alternative player solution that is not based on JMF). The strange jumping and inaccurate behavior that you describe I cannot explain; if JMF works this is not a common problem.
Are there particular error messages in the log (View->View Log...)?

-Han

Re: Re: Re: No sound, Arch Linux

Posted by Baryon at 2011-11-03 15:29  

Thanks for your reply. The only things that look error-like are the following:<br>SEVERE: No cmdi metadata file found in: Lexus2<br>LIST header found - ignoring contents...<br>Illegal volume level: 1.0<br>...<br>Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException<br>

Re: Re: Re: Re: No sound, Arch Linux

Posted by hasloe at 2011-11-04 10:01  

From these messages the "LIST header found" and the NullPointerException message could be interesting. A bit more of the context of these messages could be helpful. The LIST message is probably produced by code that examines the header of the wav file. Some content type is encountered that is not recognized. This code is responsible for the visualization of the waveform (so it is not from the media player that plays the sound). No idea if this has an effect on playback.
What produced the NullPointerException is important to know, this could be the cause of strange behavior.
You can try the wav file from the ELAN download page and see if the same problems occur with that file?

-Han

Re: Re: Re: Re: Re: No sound, Arch Linux

Posted by Baryon at 2011-11-04 21:24  

Thanks for your reply, I appreciate your help. If I'm right that the log file is in reverse chronological order, then this NullPointerException only happened yesterday, and not after  I used the program today(!!) I tried out the sample file, and I had the exact same problems. The playhead is out of sync with the audio, it continues even when reset, and doesn't play the right section of the audio when a selection is made.

Nov 3, 2011 4:33:03 PM mpi.eudico.client.annotator.integration.ExternalLauncher stop
INFO: External launch thread stopped...
:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at mpi.eudico.client.annotator.viewer.SignalViewer.paintBuffer(SignalViewer.java:924)
        at mpi.eudico.client.annotator.viewer.SignalViewer.componentResized(SignalViewer.java:2333)
        at java.awt.Component.processComponentEvent(Component.java:6094)
        at java.awt.Component.processEvent(Component.java:6048)
        at java.awt.Container.processEvent(Container.java:2045)
        at java.awt.Component.dispatchEventImpl(Component.java:4629)
        at java.awt.Container.dispatchEventImpl(Container.java:2103)
        at java.awt.Component.dispatchEvent(Component.java:4455)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
        at java.awt.EventQueue.access$000(EventQueue.java:96)
        at java.awt.EventQueue$1.run(EventQueue.java:608)
        at java.awt.EventQueue$1.run(EventQueue.java:606)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
        at java.awt.EventQueue$2.run(EventQueue.java:622)
        at java.awt.EventQueue$2.run(EventQueue.java:620)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Re: Re: Re: Re: Re: Re: No sound, Arch Linux

Posted by hasloe at 2011-11-08 10:15  

Yes, the log as shown in the View Log window is a bit scrambled (we'll have to fix that). You get a cleaner view by opening the log file after closing ELAN, it is in <user_home>/.elan_data/elan0.log (or elan1.log etc).
The NullPointerException occurred in the viewer that displays/visualizes the wav data. It seems to indicate, based on where it occurs, that a component that actually reads the data from the file is not there, has not successfully been created. That would be strange because than you would see no waveform at all and I would expect other error messages generated before this one.
So, I cannot explain this.
Would it be possible to get access to the wav file somehow (e.g. can you upload it to a server)? And maybe you can send the complete log file to me?
han.sloetjes AT mpi.nl

-Han

 

Powered by Plone

This site conforms to the following standards: