xiph / xiph/opus

Bug: The decoded dred_offset < 0

Open
#352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

Hi, I tried the DRED with opus_demo and found the the decoded dred_offset < 0 sometimes. In my understanding, the dred_offset should never be less than zero.

The command line is:
"./opus_demo voip 16000 1 48000 -loss 50 -dec_complexity 6 -dred 50 speech.pcm speech_out.pcm"
I print the dred_offset:
企业微信截图_da5f9c0a-43a9-4a8c-a7eb-841a14629cf1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with the provided opus_demo command and inspect where the decoder computes dred_offset. Determine why it can become negative under the reported loss and DRED settings; done means the decoded value respects the expected nonnegative invariant and the reproducer no longer shows the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.