Erik de Castro Lopo wrote:> David Siebert wrote: > >> Actually I was hoping to store speex compressed audio into a wav >> container. Not to trans code it. > > To the best of my knowledge, that is not possible.Well, it's possible to put compressed data into the WAV file instead of PCM audio data, and set the compression-type format flag to some made-up value, but it wouldn't work on any WAV player. You could use the RIFF format (which I guess is sort of comparable to the OGG format) and make up a format identifier like SPXX or something. Reed
Reed Hedges wrote:> Erik de Castro Lopo wrote: >> David Siebert wrote: >> >>> Actually I was hoping to store speex compressed audio into a wav >>> container. Not to trans code it. >> >> To the best of my knowledge, that is not possible. > > Well, it's possible to put compressed data into the WAV file instead of > PCM audio data, and set the compression-type format flag to some made-up > value, but it wouldn't work on any WAV player. > > You could use the RIFF format (which I guess is sort of comparable to > the OGG format) and make up a format identifier like SPXX or something. > > Reed > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >I am pretty sure the Speex ACM codec/DirectShow Filters do create a Speex compressed Wav file. I have the Speex codec installed on My windows machine and using sound recorder transcoded a small wave file from PCM into a Speex Encoded Wav file. BTW it sounds great and even at Q10 it is one quarter the size. And even sounds pretty good at Q3. The source wasn't the greatest but I wanted to prove to myself that it could be done. BTW if you the Codecs installed it will play with a any "standard" wav player that uses the windows Codecs.
David Siebert wrote:> I am pretty sure the Speex ACM codec/DirectShow Filters do create a > Speex compressed Wav file.Can you provide me with a copy of one of these files? Please email it directly to me. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "The RIAA is obsessed to the point of comedy with the frustration of having its rules broken, without considering whether such rules might be standing in the way of increased revenues. Indeed, Napster and Gnutella may turn out to be the two best music-marketing gimmicks yet devised, if only the RIAA would take its head out of its ass long enough to realise it." -- Thomas C Greene on www.theregister.co.uk