PDA

View Full Version : Flix Engine problem


turrican
10-28-2006, 07:19 PM
I installed the Flix Engine 8.0.5.0_DEMO on a Linux Fedora Core 6 machine and now I am trying to use the PHP CLI sample.
First I did get the 'Error calling Flix2_SetInputFile -> -1 error status-> sc:0
Flix2_Errno(flixerrno:-4, syserrno:10)' error. The answer to fix this problem was available at the FLix Engine FAQ (http://www.on2.com/support-resources/on2-flix-faq/enginefaq-linux/)
it says this error means the codec is not available to decode the file.
So I downloaded the codec pack from http://www.mplayerhq.hu/design7/dload.html#binary_codecs (note: the manual point to a non-existing page on the mplayer.hu site) and I downloaded the codec pack for Linux x86 (essential-20061022.tar.bz2) but I am still getting the same error!

Any help here?

kerrizor
10-28-2006, 08:05 PM
There's a missing step of telling FlixEngine where to look for said codecs, IIRC - its been a while since *I* did hte install.

turrican
10-28-2006, 08:24 PM
There's a missing step of telling FlixEngine where to look for said codecs, IIRC - its been a while since *I* did hte install.

the installer says

On2 Technologies flixd uses mencoder (http://www.mplayerhq.hu/) ("Mencoder").
To fully function, it requires a codec pack be installed in
/usr/local/lib/codecs. A suitable archive can be obtained here:
http://www.mplayerhq.hu/design7/codecs.html

(note that the given URL is wrong, see my first post) but anyway so I did put the files in /usr/local/lib/codecs ... it has all these codec DLL files and stuff in it... but now I should also tell the Flix Engine to look here or something like that? how would I do that? :confused:

turrican
10-28-2006, 08:56 PM
update: I did check if the mencoder binary in /usr/local/libexec/on2/flixengine to see if it would actually decode my test file(s).

answer: YES the mencoder perfectly decodes my source (wmv) files and encodes them into anthing else. Conlcusion: the error below is not a codec-not-found issue as mentioned in the Flix 8 Engine for Linux FAQ

'Error calling Flix2_SetInputFile -> -1 error status-> sc:0
Flix2_Errno(flixerrno:-4, syserrno:10)'

What could this indicate? looking at flixengine2/flixengine2.h (http://www.on2.com/cms-data/pdf/linuxapi/flixengine2_8h-source.html) flixerrno:-4 means 'ErrFileDecode' ... but my test with mencoder shows that the file actually is perfectly well decodable. Then the syserror:10 seems to indicate 'No child processes' (not quite sure, I found this through a google for 'Linux System Errors'). Any idea what is going wrong here?

turrican
10-28-2006, 09:31 PM
updat2: fixed

the codecs in /usr/local/lib/codecs belonged to user/group '1003' (not sure why and how this happened?)
I changed it (chmod) to 'root:root' and now it works.

mmm I guess this is a sfae thing to do isn't it? :o

kerrizor
10-29-2006, 04:26 PM
updat2: fixed

the codecs in /usr/local/lib/codecs belonged to user/group '1003' (not sure why and how this happened?)
I changed it (chmod) to 'root:root' and now it works.

mmm I guess this is a sfae thing to do isn't it? :o

I was JUST going to suggest that solution... honest! :)

Glad its working for you now.