search for: max_bandwidth

Displaying 3 results from an estimated 3 matches for "max_bandwidth".

2016 Oct 25
3
Opus codec in codecs.conf
Hello, I am trying to configure new opus codec in asterisk 14, but unable to find any examples of codecs.conf settings for this codec. All I am trying to do - setup peer with using opus in narrow band mode (8kHz sampling rate). Does anybody know how to configure chan_opus? -- Regards, Igor Goncharovsky Unistim Dev: http://unistim.igorg.ru -------------- next part -------------- An HTML
2020 Jun 11
1
OPUS encoded data size and bandwidth of encoder
Hey, I am having trouble with the size of the encoded bytes by Opus. I am also having issue with the Bandwidth ctl. Here is the scenario. If I encode 16khz sampled audio: opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)) opus_encoder_ctl(enc, OPUS_GET_BANDWIDTH(&x)) = 1102 opus_encoder_ctl(enc, OPUS_GET_MAX_BANDWIDTH(&x)) = 1103 average encoded size = 120 bytes if I encode 48khz sampled audio: opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)) opus_encoder_ctl...
2004 Aug 06
2
question on usage of the libraries
...sure if I should post this question to this list. If not; please tell me. Ok, here it comes: Is the following code correct for compressing audio? The output I get is so extremely small, but what is more important: if I pass it through zlib, it gets at least 50% smaller! Init: int bitrate = max_bandwidth * 8; speex_bits_init(&libspeex_bits); if (sample_rate > 22050) libspeex_enc_state = speex_encoder_init(&speex_wb_mode); else libspeex_enc_state = speex_encoder_init(&speex_nb_mode); speex_encoder_ctl(libspeex_enc_state,...