search for: opus_set_packet_loss_perc

Displaying 9 results from an estimated 9 matches for "opus_set_packet_loss_perc".

2018 Mar 22
1
Using FEC
Hi, I'm trying to use the FEC feature. I have a service which does the encoding with OPUS_SET_INBAND_FEC(1) and OPUS_SET_PACKET_LOSS_PERC(20) with 10ms packets. I'm not clear on the decoding process though. 1- When a packet is lost, do I need to call decode with fec=1 ONLY or do I need to call decode with fec=0 after as well? 2- How do I know up front the size of the pcm that I send to decode with fec enabled? Thanks, Elinor --...
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
...(m_MSEnc, OPUS_SET_COMPLEXITY(10)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_DTX(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); </encoder> <decoder> int streams = (int)m_SurroundInfo.s.streams; int coupled_streams = (int)m_SurroundInfo.s.coupled_streams; m_MSDec = opus_multistream_decoder_create(SAMPLE_RATE,...
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
..._ctl(enc, OPUS_SET_VBR(1)); opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(0)); opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(0)); opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(0)); opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_encoder_ctl(enc, OPUS_SET_DTX(0)); opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_encoder_ctl(enc, OPUS_GET_LOOKAHEAD(&lookahead)); opus_encoder_ctl(enc, OPUS_SET_LSB_DEPTH(16)); opus_encoder_ctl(enc, OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_20_MS)); /* CELT is faster than SILK? */ opus_encoder_ctl(enc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); D. generate...
2019 Jul 15
0
How to enable OPUS inband FEC
Hi all, I try to enable FEC in the encoder using the macro OPUS_SET_INBAND_FEC and I set the packet loss percentage to a constant value of 30%, using the macro OPUS_SET_PACKET_LOSS_PERC. Please find my encoder settings below: opus: encoder fmtp (maxplaybackrate=8000;maxaveragebitrate=24000;sprop-stereo=1;cbr=1;useinbandfec=1;usedtx=1) opus: encode bw=narrow bitrate=24000 fch=auto vbr=0 fec=1 expected loss=30 dtx=1 complex=10 At the decoder side when a packet is lost I call...
2015 Apr 02
0
Opus multi-stream/surround: Audio corruption on decoded content
...(m_MSEnc, OPUS_SET_COMPLEXITY(10)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_DTX(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); </encoder> <decoder> int streams = (int)m_SurroundInfo.s.streams; int coupled_streams = (int)m_SurroundInfo.s.coupled_streams; m_MSDec = opus_multistream_decoder_create(SAMPLE_RATE,...
2015 Feb 05
2
VOIP: FEC and NARROWBAND
Hello, Is FEC supposed to work in NARROWBAND mode ?(with maxaveragebitrate=12000; maxplaybackrate=8000 ) ?I am having some confusing results, it appears that FEC is enabled in the encoder, but the decoder cannot find any packet with FEC. I am also wondering if this piece of code is correct (webrtc): /* The following is to parse the LBRR flags. */? if (opus_packet_parse(payload,
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
...pusEnc, OPUS_SET_VBR(1)); opus_encoder_ctl(sOpusEnc, OPUS_SET_VBR_CONSTRAINT(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_COMPLEXITY(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_INBAND_FEC(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_FORCE_CHANNELS(1));//Mono opus_encoder_ctl(sOpusEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_LSB_DEPTH(16) ); opus_encoder_ctl(sOpusEnc, OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_20_MS)); opus_encoder_ctl(sOpusEnc, OPUS_SET_FORCE_MODE(MODE_CELT_ONLY)); Thanks again for your help...
2018 Feb 20
2
[EXTERNAL] Re: Developing OPUS on TI CC3220
Jean-Marc, Thanks for the response and the helpful info. I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined. Where do can I define this in my example? VR -----Original Message----- From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] Sent: Tuesday, February 20, 2018 5:40 PM To:
2018 Jan 06
3
Ask for suggestions about optimizing opus on STM32F407
<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><div id="write-custom-write" tabindex="0" style="font-size: 12px; font-family: 宋体; outline: medium none currentcolor;"><p style="margin:0px;">Dear