[opus] Sampling rate using opusenc

Ralph Giles giles at thaumas.net
Thu Mar 5 10:02:04 PST 2015

On 2015-03-05 5:58 AM, Nicanor Garcia wrote:

> Does the tool use the Full-Band option or does it downsample to use a
> narrower bandwidth?

The encoder will use full band or may select a lower bandwidth,
depending on the target bitrate and the complexity of the input.

Files encoded with opus don't have a fixed sample rate in the sense that
you're asking. The format can adjust the represented audio bandwidth
dynamically to make the best tradeoff between quality and size.

So if you decode your results with oggdec, you'll get another 44.1 kHz,
16-bit WAV file, to match the same rate of your original input. But if
you use a low bitrate and look at the spectrum, you'll be able to see
less faithful representation of the higher frequencies, for example.

Hope that helps,

More information about the opus mailing list