Skip to main content


Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Which mode uses Opus 1.3 at 24.4 cbr mono (Read 445 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Which mode uses Opus 1.3 at 24.4 cbr mono

Hi all,

anybody knows what is Opus 1.3 (libopus 1.3, libopusenc 0.2.1) using when coding 48 kHz mono files with switch "--bitrate 24.4 --hard-cbr"?
Is it using Hybrid or CELT mode? Or is it adaptivelly switching between them? Is there any tool to check which mode was used in the encoded bitstreams?

Re: Which mode uses Opus 1.3 at 24.4 cbr mono

Reply #1
Try "--save-range file_name_here.txt" with opusenc or opusdec. It'll say LP for SILK, HYB for hybrid, and MDCT for CELT.

Re: Which mode uses Opus 1.3 at 24.4 cbr mono

Reply #2
For 24.4 kbps mono speech, all other things being equal, you'd expect hybrid mode.  Some of those other things are whether the audio is assessed as speech with a high probability, whether there are any issues with forward error correction, VOIP, frame sizes, etc, that can affect the decision one way or the other.  There is a dramatic difference between speech and music, with music switching to CELT-only at a much lower bitrate.  The actual usage can vary frame by frame, but there is some hysteresis built into the algorithm so there is a strong tendency to keep to the same mode and it doesn't thrash about in borderline cases.

Re: Which mode uses Opus 1.3 at 24.4 cbr mono

Reply #3
--save-range works
At 24.4 kbps mono with 48 kHz Opus uses all modes, even SILK in some very rare cases. And it also switches between WB, SWB and FB.
Hysterisis and the decision itself seem to work as expected - Hybrid for speech, mostly CELT for music.

Thanks for the help.

SimplePortal 1.0.0 RC1 © 2008-2021