search for: speex_set_vbr_qu

Displaying 20 results from an estimated 22 matches for "speex_set_vbr_qu".

2004 Aug 06
1
Speex configuration
..._bitrate - use variable bitrate and set it using bitrate parameter - SPEEX_SET_BITRATE + SPEEX_SET_VBR - vbr_mode - use variable bitrate and set it using mode parameter - SPEEX_SET_MODE + SPEEX_SET_VBR - vbr_quality - use variable bitrate and set it using quality parameter - SPEEX_SET_VBR_QUALITY If I look at the code, vbr_bitrate and vbr_mode probably doens't work (vbr uses vbr_quality and this is only initialized when using SPEEX_SET_ABR or SPEEX_SET_VBR_QUALITY). I have also been looking at draft-herlein-speex-rtp-profile-02.txt and it seems to me that then the vbr + mode optio...
2004 Aug 06
3
Speex settings and jitter
Hi, Is there are document where the interaction between all the configuration options of speex is explained? Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY (SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose can't be set at the same time. Is there a list of possible combinations somewhere? I also have another question related to jitter. To minimize jitter, you usually need to make the audio shorter and longer and preferably while keeping it sound smooth....
2004 Aug 06
2
Speex modes
Hi, I'm about finished developing a QuickTime component that supports Speex (on MacOS X and Windows).. As it is now the user can set complexity (SPEEX_SET_COMPLEXITY) and quality (SPEEX_SET_QUALITY / SPEEX_SET_VBR_QUALITY) and to wether to use VBR or not. Will these options make it possible to produce all combinations of bitrates/qualities? Or should I also use SPEEX_SET_MODE/SPEEX_SET_LOW_MODE/SPEEX_SET_HIGH_MODE to accomplish this? /Pontus --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg p...
2004 Aug 06
0
Speex settings and jitter
...Tue, May 20, 2003 at 06:04:39PM +0200, Chris Flerackers wrote: >> Hi, >> >> Is there are document where the interaction between all the configuration >> options of speex is explained? >> Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY >> (SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose can't be set >> at the same time. Is there a list of possible combinations somewhere? > > Hi Chris, > > not sure if there's a document describing this, I got the info from > the mail archives and emails with Jean-Marc. This is...
2004 Aug 06
1
API changes for Speex 1.2
Hi, Speex is progressing and I've started thinking about the next 1.2 release (don't hold your breath). Though the bit-stream won't change, the API likely will. The API for 1.1.x already differs from 1.0.x because the speex_encode and speex_decode now use shorts instead of floats. Now, since I'm changing the API anyway, I thought I might as well fix things that might be annoying
2004 Aug 06
2
Complexity vs BitRate
Jean-Marc and others, We are using Speex inside our Video Conferencing application and have some questions about the trade-off of complexity vs bitrate. A little background information is needed: 1. For us the actual bit-rate isn't that big a deal. Speex running at 14kbps or 8 kbps is minor compared to the video traffic running at 128, 256 or 384 kbps. 2. We care a little about
2007 Apr 02
1
Problems with stereo data
...dio.h> #pragma comment(lib, "libspeex.lib") int main(int argc, char* argv[]) { const int FrameSize = 320; void* State = speex_encoder_init(&speex_wb_mode); int Temp; float Tmp; Temp = 1; Tmp = 2; speex_encoder_ctl(State, SPEEX_SET_VBR, &Temp); speex_encoder_ctl(State, SPEEX_SET_VBR_QUALITY, &Tmp); FILE* fin = fopen(argv[1], "rb"); FILE* fout = fopen(argv[2], "wb"); SpeexBits Bits; speex_bits_init(&Bits); short Frame[FrameSize]; char Cbits[200]; while (!feof(fin)) { speex_bits_reset(&Bits); fread(Frame, sizeof(short), FrameSize, fin); spe...
2004 Aug 06
3
Speex settings and jitter
...; To: speex-dev@xiph.org > Subject: [speex-dev] Speex settings and jitter > > > Hi, > > Is there are document where the interaction between all the configuration > options of speex is explained? > Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY > (SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose can't be set > at the same time. Is there a list of possible combinations somewhere? > > I also have another question related to jitter. To minimize jitter, you > usually need to make the audio > shorter and longer and preferably while...
2004 Aug 06
0
Speex modes
> I'm about finished developing a QuickTime component that supports Speex > (on > MacOS X and Windows).. As it is now the user can set complexity > (SPEEX_SET_COMPLEXITY) and quality (SPEEX_SET_QUALITY / > SPEEX_SET_VBR_QUALITY) and to wether to use VBR or not. Will these > options > make it possible to produce all combinations of bitrates/qualities? Or > should I also use SPEEX_SET_MODE/SPEEX_SET_LOW_MODE/SPEEX_SET_HIGH_MODE > to > accomplish this? The first thing to know that setting quality from...
2004 Aug 06
0
Speex settings and jitter
...; To: speex-dev@xiph.org > Subject: [speex-dev] Speex settings and jitter > > > Hi, > > Is there are document where the interaction between all the configuration > options of speex is explained? > Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY > (SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose can't be set > at the same time. Is there a list of possible combinations somewhere? > > I also have another question related to jitter. To minimize jitter, you > usually need to make the audio > shorter and longer and preferably while...
2004 Aug 06
0
speex crackling sound
...i get a crackling sound when i decode and play each sample received. 1) i used 160*5 as my wave buffer length when recording with a 8000 sample rate, 16 bits per sample and mono channel. i have set these values before recording/encoding: SPEEX_SET_QUALITY=8 SPEEX_SET_BITRATE=15000 SPEEX_SET_VBR=1 SPEEX_SET_VBR_QUALITY=6.0f SPEEX_PREPROCESS_SET_DENOISE=1 speex version: 1.1.5 are these values correct? 2) do i have to buffer like N amount of samples before i play them? if i do then would it degrade the realtime playback of the recorded sound? 3) what would be the suggested buffer length of my wave buffer so...
2005 Dec 15
1
ABR troubles
...ally over short time periods. As the limit is there to keep the network bandwidth from peaking, this means I have a problem. Is there a way to make VBR or ABR give a guarantee of a maximum bandwidth they will not exceed? Ideally, I'd like something like: float f = 5.0; speex_encoder_ctl(st,SPEEX_SET_VBR_QUALITY, &f); int i = 7; speex_encoder_ctl(st,SPEEX_SET_MAX_ADAPT_QUALITY, &i);
2008 Jun 23
1
Enabling Speex VBR for VoIP
I have two questions: 1. ?I would like to enable VBR with the Speex codec for VoIP communications. Is this setting made within VoIP clients themselves or is it a setting that must be changed on the specific version of Speex (for example, via command line)? 2. If not, is there any way to create RTP packets via the Speex command line? (The goal is to view the lengths of the packets created by
2008 Jun 28
0
Enabling Speex VBR for VoIP
Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote: > > See the SPEEX_SET_VBR and SPEEX_SET_VBR_QUALITY options. But be aware > that unless you're aggregating many VoIP calls on the same link, there's > little use for VBR in VoIP. I don't agree with this. I've used Speex's VBR mode exclusively in my P2P VoIP software for the past 4 years and never had reason to regre...
2009 Apr 13
0
encoding -> decoding doesnt work
...PEEX_GET_FRAME_SIZE,&frame_size); int tmp = 16000; speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE, &tmp); tmp = 4; speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &tmp); tmp = 1; speex_encoder_ctl(enc_state, SPEEX_SET_VBR, &tmp); tmp = 4; speex_encoder_ctl(enc_state, SPEEX_SET_VBR_QUALITY, &tmp); tmp = 2; speex_encoder_ctl( enc_state, SPEEX_SET_COMPLEXITY, &tmp ); tmp = 1; speex_encoder_ctl( enc_state, SPEEX_SET_DTX, &tmp ); tmp = 1; speex_encoder_ctl( enc_state, SPEEX_SET_VAD, &tmp ); int numBytesEncoded = 0; int amountSamples = defaultfrequency *...
2004 Aug 06
1
Complexity vs BitRate
...At 09:58 PM 5/6/2004, Jean-Marc Valin wrote: > > When I set a bit-rate on VBR is that the max that the VBR will go to in a > > given second or how exactly does that work > >Setting a bit-rate for VBR actually means ABR. What you probably want to >do is set is the VBR quality (SPEEX_SET_VBR_QUALITY). > > Jean-Marc > >-- >Jean-Marc Valin >http://www.xiph.org/~jm/ >LABORIUS >Université de Sherbrooke, Québec, Canada -- Tom Harper - tharper@sightspeed.com Lead Software Engineer SightSpeed - A Roda Group Affiliated Company 918 Parker St, Suite A14 Berkeley...
2004 Aug 06
0
Speex settings and jitter
...-dev] Speex settings and jitter > > > > > > Hi, > > > > Is there are document where the interaction between all the > configuration > > options of speex is explained? > > Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY > > (SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose > can't be set > > at the same time. Is there a list of possible combinations somewhere? > > > > I also have another question related to jitter. To minimize jitter, you > > usually need to make the audio > > shorter an...
2004 Dec 28
5
Sound distorted after normalized.
> 16 bit ints have a range of -32768 to 32767. If you divide > -32768 by 32767.0 you end up with -1.00003051850948 which > is a bad thing. > > Try normalizing with a value of 32768.0. No. Speex expects values in the +-32767 range, not +-1.0. Just converting from int16 to float *is* the right thing to do. Jean-Marc -- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
2004 Aug 06
1
Java bindings
Hi, I have writen a simple JNI wrapper for speex so i could use it from Java, so far i managed to record from a raw pcm file and from the javasound inputLine and to decode the output in narrowband CBR mode and play it back still using javasound. And it sounds quite good. I haven't tried anything else because my project has no use for wideband and ultra wideband. VBR would be nice but i have
2013 Aug 08
0
echo cancellation (power19550114fover)
...g with the same sample code which is been given my settings are below ? tmp=1; ? speex_decoder_ctl(dec, SPEEX_SET_ENH, &tmp); ? tmp=4000;/*4Kbps*/ ? speex_encoder_ctl(st, SPEEX_SET_BITRATE, &tmp); ? tmp=1; ? speex_encoder_ctl(st, SPEEX_SET_VBR, &tmp); ? tmp=2.0; ? speex_encoder_ctl(st,SPEEX_SET_VBR_QUALITY,&tmp); ? tmp=4000; ? speex_encoder_ctl(st, SPEEX_SET_VBR_MAX_BITRATE, &tmp); ? tmp=1;? /* Lowest */ ? speex_encoder_ctl(st, SPEEX_SET_COMPLEXITY, &tmp); when i try to decode the encoded stream i face the following error notification: More than two wideband layers found. The strea...