[opus] encoder configuration

Jean-Marc Valin jmvalin at jmvalin.ca
Tue May 26 08:02:31 PDT 2015


Why do you want to force stereo? The encoder is designed such that if
there aren't enough bits to output stereo with enough quality, it
outputs mono instead (with better quality). Similarly,
OPUS_SET_BANDWIDTH() is used to tell the encoder to never go above a
certain bandwidth (e.g. there's no audio content there), but the encoder
will lower the bandwidth by itself to avoid outputing bad artefacts.

	Jean-Marc

On 26/05/15 09:32 AM, Michal Weiss wrote:
> Hi,
> 
>  
> 
> How can I force encoder to create stereo?
> 
> OPUS_SER_FORCE_CHANNELS only works for mono
> 
>  
> 
> How can I force encoder to encode at a specific bandwidth?
> 
> OPUS_SER_BANDWIDTH only works for FB (1105), and the encoder
> 
> Seems to encode at the input samples rate, no rate conversion is done
> 
>  
> 
> Thanks,
> 
> Michal
> 
> 
> 
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
> 


More information about the opus mailing list