Hi All, I would like to communicate speech over a network compressed using speex. However, I do not want to communicate a whole Ogg-formatted file. I am interested in only the speech frames. I invoked: speexenc input-file-name - > raw-speech This, I am thinking gives the speech frames only. To play this back at the receiving end, do I need to format it into Ogg formatted file before I can feed it to speexdec or there is a smarter way to just play it back. Please respond Thanks a lot Nichole -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070430/859ca786/attachment.htm
You don't want to use speexenc/speexdec over a network. You need to write proper UDP/RTP code. See sampleenc/sampledec and speexclient (in svn) to get an idea. Jean-Marc Nichole Arel wrote:> Hi All, > > I would like to communicate speech over a network compressed using > speex. However, I do not want to communicate a whole Ogg-formatted file. > I am interested in only the speech frames. > > I invoked: > > speexenc input-file-name - > raw-speech > > This, I am thinking gives the speech frames only. To play this back at > the receiving end, do I need to format it into Ogg formatted file before > I can feed it to speexdec or there is a smarter way to just play it back. > > Please respond > > Thanks a lot > Nichole > > > ------------------------------------------------------------------------ > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev
I am trying to compile speexclient.c. I downloaded all the files to ~/speex- 1.2beta1/include When I call ./compile.sh I get the following errors, speexclient.c: In function 'main': speexclient.c:164: error: 'SPEEX_PREPROCESS_SET_ECHO_STATE' undeclared (first use in this function) speexclient.c:164: error: (Each undeclared identifier is reported only once speexclient.c:164: error: for each function it appears in.) speexclient.c:216: error: too few arguments to function 'speex_echo_capture' speexclient.c:223: warning: implicit declaration of function 'speex_preprocess_run' Can anyone give me direction ? Thanks Nichole -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070501/acc7cefe/attachment.html
All, Can anyone tell me why if I use sampleenc.c to compress a file I get a size bigger than if I use speexenc with the same parameters ? You would think since sampleenc create raw speech with no Ogg headers, its size should be smaller, but this is not happenning. File size with sampleenc: 210210 With speexenc: 166940 Any ideas ? Thanks Nichole -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070502/17195a74/attachment.html
Hi All, In sampleenc.c and sampledec.c, if I change the FRAME_SIZE to any other value, I get very garbled speech. Can anyone tell me if I need to set something else if I would like to change the frame size ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070502/35ea524b/attachment.htm