RE: [Asterisk-Users] Re: MOH native files

2006-03-06 Thread Koopmann, Jan-Peter
On Thursday, March 02, 2006 11:47 AM Tomislav Parcina wrote: sox: Failed reading fpm-calm-river.mp3: Do not understand format type: mp3 Have I done anything wrong? Well your sox does not understand mp3 since the support is not compiled in. Compile your own suitable version of sox.

[Asterisk-Users] Re: MOH native files

2006-03-02 Thread Tomislav Parčina
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... You need to use mpg123 to convert the mp3 files to wav files first. mpg123 -w out.wav in.mp3 This one works. Thank you! sox out.wav -r 8000 out.gsm I have problem with this command. It runs fine, but when I play that file it is twice

[Asterisk-Users] Re: MOH native files

2006-03-02 Thread Tomislav Parčina
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... sox -V foo.mp3 -t au -r 8000 -U -b -c 1 foo.ulaw resample -ql Chris This is what happens. [EMAIL PROTECTED] mohmp3]# ls fpm-calm-river.mp3 fpm-sunshine.mp3 fpm-world-mix.mp3 [EMAIL PROTECTED] mohmp3]# sox -V fpm-calm-river.mp3 -t au

Re: [Asterisk-Users] Re: MOH native files

2006-03-02 Thread Chris Stenton
Subject: [Asterisk-Users] Re: MOH native files In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... sox -V foo.mp3 -t au -r 8000 -U -b -c 1 foo.ulaw resample -ql Chris This is what happens. [EMAIL PROTECTED] mohmp3]# ls fpm-calm-river.mp3 fpm-sunshine.mp3 fpm-world-mix.mp3 [EMAIL

Re: [Asterisk-Users] Re: MOH native files

2006-03-02 Thread Matt Roth
Tomislav Parčina wrote: sox out.wav -r 8000 out.gsm I have problem with this command. It runs fine, but when I play that file it is twice long as it should be and double slow as it should be. So wav file that was 2 min long becomes 4 min long gsm file. How can I fix that?