opus icon indicating copy to clipboard operation
opus copied to clipboard

Bug: The decoded dred_offset < 0

Open flylvyi2000 opened this issue 1 year ago • 1 comments

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

flylvyi2000 avatar Jun 18 '24 02:06 flylvyi2000

IIRC the DRED offset can actually be negative when DRED data gets omitted during silence.

jmvalin avatar Jun 23 '24 05:06 jmvalin