[Freeswitch-users] wav2mp3 conversion inside of spidermonkey

Alberto Escudero-Pascual (lists) aep.lists at it46.se
Tue Aug 25 13:46:50 PDT 2009


Hi Brian,

>From the CLI>

freeswitch at open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav
/tmp/foo.mp3 -S
2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command:
/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S
API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav
/tmp/foo.mp3 -S)] output:
+OK

open46:/tmp# ls
foo.wav


and running the command from the command line:


open46:/tmp#  /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3
-Sopen46:/tmp# ls
foo.mp3  foo.wav


If I do the same with lame397

freeswitch at open46> system /usr/local/freeswitch/bin/lame397 -V2
/tmp/foo.wav /tmp/foo.mp3 -S
2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command:
/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S
API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav
/tmp/foo.mp3 -S)] output:
+OK

open46:/tmp# ls
foo.mp3  foo.wav


Highly paranormal! Sorry for hijacking the previous thread.

/aep

-- 
Stopping junk mailers is good for the environment

> Try running it at the CLI and see if you see any errors.  Also please
> do not hijack threads.  The original thread "[Freeswitch-users] XML-
> RPC on different ip than 0.0.0.0" which was hijacked by clicking
> reply, changing the subject and clicking send.  Please in the future
> do not do that as it clutters up the threading and could get your
> query lost in the noise.
>
> Thanks,
> Brian
>
> On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
>
>> Here it comes the mystery. I am use lame 3.98.2 the mp3 file never
>> appears, if I use version 3.97 (older version), it does!.
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>






More information about the FreeSWITCH-users mailing list