[speex-dev] size speex file encoded

Rodrigo Parra M rparra at ing.puc.cl
Wed Feb 4 18:15:08 PST 2004



Thanks Jean-Marc, I downsample wav file and now all works well. 

-----Mensaje original-----
De: owner-speex-dev at xiph.org [mailto:owner-speex-dev at xiph.org] En nombre de
Jean-Marc Valin
Enviado el: Martes, 03 de Febrero de 2004 19:04
Para: speex
Asunto: Re: [speex-dev] size speex file encoded

I think your setup is wrong all the way. First, an uncompressed
narrowband (8 kHz) file should take up 272 kB, not 1.43 MB. You're
probably dealing with a 44.1 kHz file (you should downsample it first).
Once encoded at quality 1, the result should take 8.5 kB, not 21 kB. As
for the 92 kB, I have no idea where it may come from.

        Jean-Marc

Le mar 03/02/2004 à 16:16, Rodrigo Parra M a écrit :
> Hi,
> 
> I am working with libspeex api. I would like compare the size of speex
> file encoded with libspeex and the size of speex file encoded with
> speexenc.
> 
> For example, I encode with speexenc (narrowband, quality 1) a wav file
> of 1.43 MB (17 seconds)  output a spx file weight 21KB, for other hand
> I encode with libspeex the same wav file with same characteristics in
> arm processor, pocket pc and the output is a spx file of 92 KB.
> 
> Is the difference between the two encoded types so great?. Is this
> normal?. Can be reduced the weight of output with libspeex?
> 
>  
> 
> Thanks.
> 
> Rodrigo.
> 
>  

-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada

--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Speex-dev mailing list