Displaying 20 results from an estimated 2000 matches similar to: "Opus inband FEC performance with bursty loss?"
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
2017 May 08
0
The inband FEC option within Opus
The -inbandfec option means that the encoder is *allowed* to use FEC,
not that it has to. The final decision is based on the bitrate and the
percentage of packet loss (and a few minor factors). If you're not
seeing a difference, it means that given the options you're using, the
encoder thinks actually using FEC would result in worse quality.
Cheers,
Jean-Marc
On 08/05/17 07:11 PM,
2017 May 08
2
The inband FEC option within Opus
Dear Opus community,
I have a question about the SILK inband FEC. I am using the opus_demo
(opus-1.2-alpha) for testing opus codec, and when I choose the "-inbandfec"
option I get the exactly the same results when I don't add it to the
command line.
Are these results logical?
Thank you in advance.
Best regards,
Ayoub.
*--------------------BOUZIANE AyoubPhone : (+212) 633 092 157*
2015 Feb 06
0
VOIP: FEC and NARROWBAND
At this bitrate the encoder likely decides that it's better to put all
the bits in the normal packet than use FEC. When you enable FEC it
steals a lot of bits from the non-FEC content. Also, the use of FEC
depends on the reported percentage of packet loss. The more loss there
is, the lower the threshold for enabling FEC. Overall, the encoder
attempt to make the best decision on a
2017 Jan 27
0
FEC and Stereo
Hi Jean-Marc,
Thank you. Yes, we do need both channels independent. So, if we encode each channel separately, we will be sacrificing the compression ratio we would achieve with stereo encoding, correct?
So, based on what you say here is my understanding. Please confirm this is correct or not:
1) If we use fec, we can reduce cross-talk but increasing bitrate. However, that should result in
2017 Jan 27
0
FEC and Stereo
Thank you. Very helpful.
> On Jan 27, 2017, at 12:40 PM, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
>
> On 27/01/17 12:29 PM, Jon Lederman wrote:
>> Thank you. Yes, we do need both channels independent. So, if we
>> encode each channel separately, we will be sacrificing the
>> compression ratio we would achieve with stereo encoding, correct?
>
> Not
2015 Mar 09
0
FEC
having a hard time communicating on IRC, thank you gmaxwell, very
informative.
anyway, we were discussing the proper implementation of FEC on the decoder
side.
well, encoder side is just a boolean thing so that's alright.
i gave an example where the receiver lost 5 rtp packets, 1 2 3 4 and 5
during which, we call opus_decode with a null pointer and fec=0 for every
packet lost.
now, when it
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
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,
2013 Jan 28
2
Opus FEC
Hello,
I understand the encoder provides an option for FEC to provide some protection against packet loss, but I don't understand the details of this arrangement. I'd appreciate answers to the following:
* Adding FEC seems to change the encoded audio bit-stream itself, i.e., it doesn't just add additional protection bits, but also changes the encoded bits. This is easy to show by
2017 Jan 27
1
FEC and Stereo
Hi,
One other question I was wondering about. Is the reason that we hear the crosstalk with fec and packet loss percentage>0 is that Opus uses information from the left channel to try to error correct the right channel and vice versa? I am trying to understand the origin of the crosstalk.
Thanks.
-Jon
> On Jan 27, 2017, at 12:29 PM, Jon Lederman <jon at soniccloud.com> wrote:
>
2017 Jan 27
0
FEC and Stereo
Hi Jon,
On 27/01/17 08:31 AM, Jon Lederman wrote:
> We are trying to use Opus in a VoIP environment for sending stereo
> audio. We have noticed a phenomenon where when FEC is enabled and
> packet_loss_percentage>0, that there is a mixing of audio from the
> left channel into the right channel and vice versa. That is, rather
> than hearing each channel in its pristine form as
2017 Jan 27
1
FEC and Stereo
On 27/01/17 12:29 PM, Jon Lederman wrote:
> Thank you. Yes, we do need both channels independent. So, if we
> encode each channel separately, we will be sacrificing the
> compression ratio we would achieve with stereo encoding, correct?
Not necessarily. Stereo makes two assumptions:
1) It assumes the two channels are somehow correlated
2) It assumes the two channels are meant to be
2004 Apr 26
1
Split bursty bandwidth equally
Hello again,
Is it possible to split a bandwidth equally among clients regardless of its
current link speed?
I have a link that can get bursty at times. At any given time the N active
sessions (the ones with non-empty queues) need to be serviced
simultaneously, each at a rate of 1/N''th of the link speed.
My case is an internet connection that oscillates between 96 kbps and 256
kbps. I
2014 Jun 03
1
Question about FEC and ogg/opus
Hello,
We have a use case where we want to record an opus RTP stream to a .opus
file. We want to fill in any gaps in the stream, and we also want to
take advantage of inband FEC whenever possible.
The ogg/opus draft describes[1] how to fill in gaps by generating
zero-byte frames, but I do not understand how (and if) FEC can be used.
Is this possible, and if so, what is the recommended way of
2017 Jan 27
2
FEC and Stereo
Thanks.
When you say that with fec enabled, the threshold is increased, do you mean the bitrate - i.e., you need higher bitrate with fec enabled to suppress crosstalk?
Also, can you make any recommendations to decide whether to use fec or not? We are trying to tune the parameters appropriately. Audio quality and reduction of crosstalk are critical for us.
Thanks again.
Jon
Sent from my
2013 Feb 28
0
FEC-related bug in opus_demo.c
Hi,
When running opus_demo with FEC enabled, there is a bug related to the length of FEC frames. The FEC frames will be decoded with a length of max_frame_size and the resulting output file will be much longer than the input file.
2017 Jan 27
2
FEC and Stereo
On 27/01/17 12:16 PM, Jon Lederman wrote:
> When you say that with fec enabled, the threshold is increased, do
> you mean the bitrate - i.e., you need higher bitrate with fec enabled
> to suppress crosstalk?
Correct. Another effect I forgot to mention is that Using FEC will
actually force SILK/hybrid rather than CELT, so it's possible that
disabling FEC makes you use CELT, which
2016 Oct 04
2
encoder with FEC+DTX enabled but not detecting noise
Hi,
When we pass around 9K samples of only ambient noise (no voice), the
encoder which is enabled FEC+DTX is detecting only some 140 frames as
non-voice (returning only TOC, no frame content). We were expecting all or
more to be identified as non-voice.
Our idea was to check how the decoder re-generates the original ambient
noise during the silence duration (when we feed NULL to decoder) when
2017 Jan 27
2
FEC and Stereo
HI All,
We are trying to use Opus in a VoIP environment for sending stereo audio. We have noticed a phenomenon where when FEC is enabled and packet_loss_percentage>0, that there is a mixing of audio from the left channel into the right channel and vice versa. That is, rather than hearing each channel in its pristine form as it was in the file, there is a combination of right and left