Hi,
I can confirm the problem with your sample. See below:
F:\Downloads\AudioCodecs\Samples>sfinfo test.wav
=======================================test.wav
size : 94946
RIFF : 94938
WAVE
fmt : 18
Format : 0x1 => WAVE_FORMAT_PCM
Channels : 1
Sample Rate : 11025
Block Align : 2
Bit Width : 16
Bytes/sec : 22050
fact : 4
samples : 47444
data : 94888
---------------------------------
Sample Rate : 11025
Samples : 47444
Channels : 1
Bit Width : 16
Format : 0x00010001
Sections : 1
Seekable : TRUE
Signal Max : 16453
<p>F:\Downloads\AudioCodecs\Samples>speexenc test.wav test2.spx
Unsupported WAVE file fmt chunk, not PCM?
F:\Downloads\AudioCodecs\Samples>
However, if you are using windows, you may wish to 'speexdrop' from:
http://homepage.ntlworld.com/jfe1205/others.html . This is a windows gui
implementation of the current speex libs and does encode your sample (it
uses a completely different file input routine). You can also play your
encoded files back through speexdrop.
John Edwards
----- Original Message -----
From: "Rolf Leggewie" <leggewie@expires-2003-01-31.nexgo.de>
To: <speex-dev@xiph.org>
Sent: Thursday, January 09, 2003 2:28 PM
Subject: [speex-dev] [Bug] PCM file not recognized
<p>> Hi,>
> I am using Speex to compress speech samples used for dictation. I am
> thrilled by the compression ratios Speex achieves with almost no loss in
> quality.
>
> However, I have come across a few files which Speex (I use the Windows
> variant) refuses to compress. I have put a sample file at
> http://leggewie.biz/test.wav. The error message I receive is
> "Unsupported WAVE file fmt chunk, not PCM?". The file uses PCM,
though.
>
> I am not subscribed to the list, a cc: will be greatly appreciated.
>
> Regards
>
> Rolf
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to
'speex-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'speex-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.