Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Up one level

ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by cmdavis at 2011-07-30 12:57  

I've been attempting to install ELAN on my Ubuntu 11.04 system, and have had no luck getting media playback working, despite working through the other linux related threads in the forum. I've run into the same problems with other recent systems, in particular Fedora 15.<br><br>I've done both of the recommended media-related fixes, per the Media Playback readme, in particular:<br><br>1) update/install fobs4jmf<br>2) installing libstdc++5<br><br>The installation of fobs was made difficult by a number of "undeclared" errors from the C compiler. Apparently, there are things that one must now explicitly declare with recent C(++) compilers, which are not declared in the most recent (2008?!) version of fobs. I added the declarations into the relevant files and got the thing to compile, and also udpated my LD_LIBRARY_PATH using the command export LD_LIBRARY_PATH=$FOBS_ROOT/dist/jmf, but to no avail.<br><br>When I load a WAV file into ELAN, what I see where the wave forms should be is a big black rectangle. If I try selecting a portion of the sound file, I can see a message saying "Failed to create a WAV Reader:: /path/to/wav-file".<br><br>I've been trying all week to get this fixed, and am out of ideas. If anyone on the forum has any ideas, I would be very appreciative. Thanks!<br><br><br>

Re: ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by cmdavis at 2011-07-30 12:58  

ack, sorry for the formatting problems...<br>

Re: ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by hasloe at 2011-08-01 14:24  

Hmm, this might be in fact an other problem than the "regular" Linux media playback problem (we would like to add an alternative for JMF as the media player, e.g. something based on ffmpeg). The error message is likely produced by a piece of our code that is involved in the visualization of the waveform. This error normally indicates that there is a problem in reading the file (path is not correct, no permission to read, etc.). There might be more information in the log file (<user_home>/.elan_data/elan0.log or elan1.log etc.). Does this happen with any wav file?

-Han

Re: Re: ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by cmdavis at 2011-08-02 14:38  

Hi Han, thanks for the quick response. Today I figured out that the problem seems to stem from the fact that all of my filenames ended in .WAV (in caps) rather than .wav. When I changed the file name to .wav, it opened successfully. Weird. My recording equipment saves things as .WAV, so I'll need to go through and change all the file names I guess. Do you think that this stems from some of the ELAN code itself? Thanks again!

-Chris

Re: Re: Re: ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by hasloe at 2011-08-02 16:05  

Chris, this doesn't seem to be a general ELAN problem; I don't see the same effect on my Mac and Windows machines.
Uppercase or lowercase extensions shouldn't make a difference.

-Han

Re: Re: Re: Re: ELAN media playback in Ubuntu 11.04 / Fedora 15 / other recent linux distros

Posted by cmdavis at 2011-08-02 19:53  

Strange; maybe it's a problem with fobs4jmf or something. In any case, it looks like all of this *does* work, one just has to be careful about file extensions. Maybe this should be added as a note in the readme file (along with the two other notes for linux users). In any case, thanks for the quick response, and for the wonderful product!

-Chris

 

Powered by Plone

This site conforms to the following standards: