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. <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.
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée. Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040203/d0ff0d4a/signature.pgp
Hi, anyone knows how i can get the input from a mircophone as a byte-array stream in VC++ ?? So that i can encode it with speex an send it away. The second thing is, to decode the speex frame and play it on the speakers. It would be helpfull if you can give me a link to a site which explains this topic an include some littel code sampels. Thanks. Best regards Sören Krings mailto:spontexx@web.de --- >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.
Thanks Jean-Marc, I downsample wav file and now all works well. -----Mensaje original----- De: owner-speex-dev@xiph.org [mailto:owner-speex-dev@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.