Re: [ecasound] Launch ecasound with PHP

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Launch ecasound with PHP
From: didier.b (didier.b_AT_free.fr)
Date: Sun Jan 25 2004 - 21:11:37 EET


Yes, it seems to be a problem like this …

 

I tried to do the same script but I replace ".ogg" with ".wav" and it's
works !!!!

 

So I tried with MP3 and I get this message…

(audioio-mp3) Can't start process "lame -b %B -s %S -x -S - %f". Please
check your ~/.ecasoundrc.
(eca-engine) Warning! An output object has raised an error! Out of disk
space, permission denied, etc?

 

So I think:

 + it can't find the library

 + those libraries don't have the right permissions

 

So I read again the file INSTALL and I found a strange line :

  4. Make sure that you have `/usr/local/lib´ in your

     `/etc/ld.so.conf' and run `/sbin/ldconfig´.

 

I don't have this file … ld.so.conf…

 

What should have in the this file ?

 

Here is my .ecasoundrc file

 

midi-device = rawmidi,/dev/midi

default-output = /dev/dsp

default-buffersize = 1024

default-samplerate = 44100

default-to-interactive-mode = false

default-to-raisepriority = false

default-schedpriority = 50

default-to-double-buffering = false

default-double-buffer-size = 100000

default-to-precise-sample-rates = false

default-to-max-internal-buffering = true

resource-directory = /usr/share/ecasound

resource-file-genosc-envelopes = generic_oscillators

resource-file-effect-presets = effect_presets

user-resource-directory = /root/ecasound-config

ext-text-editor = pico

ext-text-editor-use-getenv = true

ext-wave-editor = ecawave

ext-mp3-input-cmd = mpg123 --stereo -r %s -b 0 -q -s -k %o %f

ext-mp3-output-cmd = lame -b 128 -x -S - %f

ext-ogg-input-cmd = ogg123 -d raw --file=%F %f

ext-ogg-output-cmd = oggenc -b 128 --raw --output=%f -

ext-mikmod-cmd = mikmod -d stdout -o 16s -q -f %s -p 0 --noloops %f

ext-timidity-cmd = timidity -Or1S -id -s %s -o - %f

internal-plugin-directory = /usr/lib/ecasound-plugins

ladspa-plugin-directory = /usr/lib/ladspa

 

I'll try to insert /usr/local/lib before mpg123, lame, ogg123, oggenc ?

 

Didier

 


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jan 25 2004 - 21:07:08 EET