<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">And even when I think the
format is correct :<br>
<br>
[root@asterisk testing]# sox test.wav -r 8000 -c1 test.wav resample -ql<br>
sox sox: effect `resample' is deprecated; see sox(1) for an alternative<br>
sox wav: Premature EOF on .wav input file<br>
<br>
[root@asterisk testing]# file test.wav <br>
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit,
mono 8000 Hz<br>
<br>
<br>
It is still not working :<br>
<br>
[root@asterisk testing]# asterisk -rx "file convert test.wav test.alaw"<br>
Unable to open input file: test.wav<br>
<br>
<br>
<br>
Jonas.<br>
</font><br>
On 08/14/2010 04:30 PM, Motiejus Jakštys wrote:
<blockquote
cite="mid:AANLkTi=UUzXvrDTVi9oJj8kES9-6ikeeCgDcokKg=MEs@mail.gmail.com"
type="cite">On Sat, Aug 14, 2010 at 4:24 PM, Jonas Kellens <<a
moz-do-not-send="true" href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>>
wrote:<br>
><br>
> intro extended version.wav: RIFF (little-endian) data, WAVE audio,
Microsoft<br>
> PCM, 16 bit, stereo 44100 Hz<br>
><br>
<br>
You need <b>MONO, 8000Hz</b><br>
<br>
$ man sox<br>
<br>
--<br>
Motiejus Jakštys<br>
</blockquote>
</body>
</html>