Can anyone help because I don't understand why Asterisk can not read the
input file, there is not much info given...
2 files :
[r...@asterisk testing]# file testExtended.wav
testExtended.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM,
16 bit, stereo 44100 Hz
[r...@asterisk testing]# file testLong.wav
testLong.wav: RIFF (little-endian) data, WAVE audio, 20294 channels
1414676809 Hz
to mono :
[r...@asterisk testing]# sox testExtended.wav -r 8000 -c1
testExtended2.wav resample -ql
sox sox: effect `resample' is deprecated; see sox(1) for an alternative
[r...@asterisk testing]# sox testLong.wav -r 8000 -c1 testLong2.wav
resample -ql
sox sox: effect `resample' is deprecated; see sox(1) for an alternative
sox effects: resample clipped 2 samples; decrease volume?
afterwards :
[r...@asterisk testing]# file testLong2.wav
testLong2.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16
bit, mono 8000 Hz
[r...@asterisk testing]# file testExtended2.wav
testExtended2.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM,
16 bit, mono 8000 Hz
But Asterisk can not open them :
[r...@asterisk testing]# asterisk -rx "file convert testExtended2.wav
testExtended2.alaw"
Unable to open input file: testExtended2.wav
[r...@asterisk testing]# asterisk -rx "file convert testLong2.wav
testLong2.alaw"
Unable to open input file: testLong2.wav
Any thoughts ?!
Jonas.
On 08/14/2010 04:30 PM, Motiejus Jakštys wrote:
On Sat, Aug 14, 2010 at 4:24 PM, Jonas Kellens
<jonas.kell...@telenet.be <mailto:jonas.kell...@telenet.be>> wrote:
>
> intro extended version.wav: RIFF (little-endian) data, WAVE audio,
Microsoft
> PCM, 16 bit, stereo 44100 Hz
>
You need *MONO, 8000Hz*
$ man sox
--
Motiejus Jakštys
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users