Hello developers, I have a question about supported bitrates for SPEEX. Regardless of whether I specify a 10kbps or a 8kbps bitrate, the encoded .spx file is the same size and have the same PESQ value. This makes me wonder if SPEEX supports arbitrary bitrates, or only a certain set. A few more details about my configuration: I am using SPEEX encoder version 1.1.12 I am encoding a narrowband (8KHz) wav file The exact commands I issue are: speexenc --bitrate 8000 file.wav file8.spx speexenc --bitrate 10000 file.wav file10.spx Both of the encoded files, file8.spx and file10.spx are the same size. Please advice on what I am doing incorrectly. Thank you, Ilya
Speex only support only a certain set. add -V and speex witch bitrate speex uses to encode and how it varies if you use variable bitrate. Unfortunately I don't remember where I read about witch bittrates speex uses. (remember experimenting to get at bunch off batch files to make a comparison encoding.) //P?r Ilya skrev:> Hello developers, > > I have a question about supported bitrates for SPEEX. Regardless of whether I specify a 10kbps or a 8kbps bitrate, the encoded .spx file is the same size and have the same PESQ value. This makes me wonder if SPEEX supports arbitrary bitrates, or only a certain set. > > A few more details about my configuration: > I am using SPEEX encoder version 1.1.12 > I am encoding a narrowband (8KHz) wav file > > The exact commands I issue are: > speexenc --bitrate 8000 file.wav file8.spx > speexenc --bitrate 10000 file.wav file10.spx > Both of the encoded files, file8.spx and file10.spx are the same size. > > Please advice on what I am doing incorrectly. > > Thank you, > Ilya > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
Read the manual: http://www.speex.org/docs/manual/speex-manual.pdf Table 9.2 has the bitrates for narrowband, 10.2 has the bitrates for wideband. The next step after 8000 is 11000, so any "-- bitrate" value between 8000 and 10999 will give you the 8kbps mode. - Jim ----- Original Message ----- From: "Ilya" <ilch1 at netzero.net> To: <speex-dev at xiph.org> Sent: Monday, September 15, 2008 9:11 AM Subject: [Speex-dev] Bitrate Question> Hello developers, > > I have a question about supported bitrates for SPEEX. Regardless of > whether I specify a 10kbps or a 8kbps bitrate, the encoded .spx file is > the same size and have the same PESQ value. This makes me wonder if SPEEX > supports arbitrary bitrates, or only a certain set. > > A few more details about my configuration: > I am using SPEEX encoder version 1.1.12 > I am encoding a narrowband (8KHz) wav file > > The exact commands I issue are: > speexenc --bitrate 8000 file.wav file8.spx > speexenc --bitrate 10000 file.wav file10.spx > Both of the encoded files, file8.spx and file10.spx are the same size. > > Please advice on what I am doing incorrectly. > > Thank you, > Ilya > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev