[Asterisk-Users] Native MOH - Convert mp3 to ulaw

Koopmann, Jan-Peter Jan-Peter.Koopmann at seceidos.de
Wed Mar 22 01:09:35 MST 2006


On Tuesday, March 21, 2006 9:36 PM Douglas Garstang wrote:

> I tried that earlier today... found it somewhere online... This is
> what I get... 
> 
> [root at bil-pdev-5 mp3]# sox -V fpm-calm-river.mp3 -t au -r 8000 -U -b
> -c 1 fpm-calm-river.ulaw resample -ql sox: resample opts: Kaiser
> window, cutoff 0.940000, beta 16.000000 
> 
> sox: Failed reading fpm-calm-river.mp3: Do not understand format
> type: mp3 


Not all SOX versions support mp3. Some distros (at least Suse) compile sox
without mp3 support. Either compile your own version with mp3 or convert the
files to wav first.

Regards,
  JP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3104 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060322/ff63ce40/smime.bin


More information about the asterisk-users mailing list