[opus] encoder configuration

Ralph Giles giles at thaumas.net
Fri May 29 15:42:40 PDT 2015

On 27/05/15 11:42 PM, Michal Weiss wrote:
> I can never be sure what the encoder will send?
That's right. It can vary from packet-to-packet.

> It can decrease the output sampling rate and change the output stereo to
> mono?
The encoder can adjust the amount of information and coding modes in ways that change the available dynamic range and stereo image. It's not as simple 'sampling rate and stereo vs mono'. This allows rapid adaption to network conditions in realtime applications and optimizes quality per unit of storage in pre-encoded audio applications.
> I can't count on the output?
You can configure the decoder to produce mono or stereo, and one of a set of common sample rates. The decoder will adapt whatever it receives from the encoder to produce the best output in that format.


More information about the opus mailing list