[opus] opusdec forces decode at 48k ?

Gregory Maxwell greg at xiph.org
Thu Dec 10 20:09:15 PST 2015

On Fri, Dec 11, 2015 at 3:40 AM, Sean Darcy <seandarcy2 at gmail.com> wrote:
> But when I run opusdec,
> opusdec 2-24-Overture_in_C_\(In_Memoriam\).opus
> Decoding to 48000 Hz (2 channels)

Opus files don't have a sampling rate anymore; the internal
representation is most efficiently decoded to 48kHz.

The metadata records the original sampling rate which make it possible
to decode to a file with exactly as many samples as the original; but
there would be no reason to do that when decoding for playback (for

More information about the opus mailing list