Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Initializing... still » Re: Initializing... still » Re: Re: Initializing... still

Re: Re: Initializing... still

Up one level

Re: Re: Initializing... still

Posted by hasloe at 2010-03-10 12:46  

Just to be sure, does this mean it is working now?
Anyway, the media is actually played by one of the available media frameworks. ELAN depends on error messages of the player to know that a file can not be handled; sometimes this doesn't work. Normally initializing a media player shouldn't take much more than a dozen of seconds. Maybe we can add a timer that makes sure that initializing stops when it takes longer than, say, one minute.

-Han

Re: Re: Re: Initializing... still

Posted by pwallis at 2010-03-10 16:49  

No, not solved but getting there.&nbsp; A timer would be a good idea with a message about what was tried and possible fixes.&nbsp; At worst an error code with a unique number so one could google it; certainly more than a message saying that it didn't work :-)<br><br>I had a go at the edititing the preferences but I am on a linux box and there isn't an option for that.&nbsp; Tried the windows option to no avail.&nbsp; That menu is quite deep for something that a complete newbie needs to use.<br><br>Also, while I'm here, vlc seems very popular and seems to work on anything - does that count as a "media framework"?<br><br>Finally,&nbsp; I'd like to use mpeg 1 or 2, but the JMF site refers to a"MPEG enabled capture source" - is that a camera (QuickCam Pro 9000) or the driver UVC - I bet it is neither :-/<br><br>peter<br><br><br>

Re: Re: Re: Re: Initializing... still

Posted by hasloe at 2010-03-11 10:35  

Ah, I didn't realize this is on Linux. Currently there is only one media framework available in ELAN on Linux, JMF. Adding a bridge to VLC is on the wish list.
The ELAN distribution contains a JMF version extended with Fobs4JMF. JMF itself (without extensions) supports at least mpeg-1.
If media playback in ELAN on Linux doesn't work, often the cause is that native (non Java) libraries cannot be found. JMF needs the environment variable "LD_LIBRARY_PATH" to bet set; the installer of ELAN tries to do so.
To check if this is indeed the case, try to play a file in ELAN until it hangs, quit ELAN and look in the log file. This file is in <user_home>/.elan_data/elan0.log (or elan1.log etc., look at the timestamp). There might be error messages at the end of the file.

-Han

Re: Re: Re: Re: Re: Initializing... still

Posted by pwallis at 2010-03-11 16:59  

Thanks Han,<br>&nbsp; there seem to be two problems - both mine.&nbsp; First, being new to the whole video thing, my data has been saved in a video format/ audio format / container combination that is not supported by VLC and I need to convert that some how to mpeg 1<br><br>Second, although i can run the JMF test programs (jmstudio in particular) there seems to be something funny about how this machine is set up - the diagnotsics applet wouldn't find the CLASSPATH nor the LD_LIBRARY_PATH until I copied the jars into the java ext directory and the "*.so" files into /usr/lib&nbsp; This is a JMF problem of course.<br><br>With things set up this way, I can load a mpg test file and get Elan to produce a proper warning message that something is missing.&nbsp; Again, an error code that could be googled for would be more helpful that saying that something (that doesn't make sense to me) is missing.<br><br>I will struggle on...<br><br>P<br><br><br>

 

Powered by Plone

This site conforms to the following standards: