Giter VIP home page Giter VIP logo

Comments (3)

jmvalin avatar jmvalin commented on June 20, 2024

All versions of Opus should be compatible with each other. Can you post an Opus file that decodes fine with 1.1.2, but not with 1.3.1?

from opus.

yuvalr123 avatar yuvalr123 commented on June 20, 2024

Hello jmvalin,
I apologize for the late response (and thank you for your prompt answer!). I was a bit under the weather following Tuval's initial query.

It would seem that I have misled him and you regarding the specifics of the issue we encountered.
What we are seeing (doubly confirmed now) - is that when encoding in version 1.3.1 and requesting 4kpbs bit rate, we get roughly that, and in 1.1.2 we get 6.8kbps or so. The quality of the audio heard after decoding is the same (subjectively speaking) regardless of which version decodes it.
This difference in the actual bit rate explains the difference in the audio quality obviously.

What confuses me is that the API clearly states that the bit rate for the encoder should be in the 6k-512k range, but in both versions it accepts a lower value and does... something (differs between the versions).
I'd expect the function to return with an error value, which doesn't seem to be the case.

At any rate, we solved the issue on our side, thanks again.

from opus.

jmvalin avatar jmvalin commented on June 20, 2024

The 6-512 kb/s range you'll often see is what we consider to be the range of bitrate where Opus might do something useful. If you ask for a lower bitrate, the Opus encoder will still try to do its best. And its best depends on the encoder version -- even though the decoder does not change between version. The 1.3 encoder is overall much better than the 1.0 encoder, but if you rely on the exact behaviour of an encoder version (especially when that behaviour is not specified in the doc), then that upgrading to a new version may cause some changes.

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.