Giter VIP home page Giter VIP logo

Comments (4)

jmvalin avatar jmvalin commented on June 11, 2024

Opus is trying to optimize for whatever packet loss rate you set with OPUS_SET_PACKET_LOSS_PERC. If you tell it to optimize for the no-loss (0%) case, then there's no point in wasting bits for DRED. The exact loss you specify will influence the amount of DRED used. If in doubt, you can always try with 20% and see from there.
As for your third question, I don't understand it.

from opus.

dmpriso avatar dmpriso commented on June 11, 2024

Thanks a lot, that explains it. From my previous understanding, OPUS_SET_PACKET_LOSS_PERC was only relevant for LBRR, so that hadn‘t been obvious for me from the documentation.

Regarding my third question. The docs state: „ OPUS_SET_DRED_DURATION: If non-zero, enables Deep Redundancy (DRED) and use the specified maximum number of 10-ms redundant frames.“

Do I interpret it correctly that if I set this value to 50, I get 500ms of DRED data per frame, even if I choose to encode frames of 20ms or 5ms length?

I also noticed from experimenting that the amount of DRED data (in milliseconds) available is limited by bitrate, is that correct?

from opus.

jmvalin avatar jmvalin commented on June 11, 2024

OPUS_SET_DRED_DURATION is always in units of 10 ms, but things are more complicated underneath anyway. And it specifies the maximum the application allows. There may be less than that due to available bitrate.

from opus.

dmpriso avatar dmpriso commented on June 11, 2024

Thanks, that's all I needed to know!

from opus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.