[opus] opusdec forces decode at 48k ?

Ian Malone ibmalone at gmail.com
Fri Dec 11 03:46:07 PST 2015


On 11 December 2015 at 03:40, Sean Darcy <seandarcy2 at gmail.com> wrote:
> opusdec -V
> opusdec opus-tools f2a2e88 (using libopus unknown)
>
> I've got an opus file encoded from a .wav off a cd, 44100Hz:
>
> opusinfo 2-24-Overture_in_C_\(In_Memoriam\).opus
> Processing file "2-24-Overture_in_C_(In_Memoriam).opus"...
>
> New logical stream (#1, serial: 38134f1f): type opus
> Encoded with libopus unknown
> User comments section follows...
> ENCODER=opusenc from opus-tools f2a2e88
> ENCODER_OPTIONS=--vbr --bitrate 64
> Opus stream 1:
> Pre-skip: 356
> Playback gain: 0 dB
> Channels: 2
> Original sample rate: 44100Hz
> Packet duration:   20.0ms (max),   20.0ms (avg),   20.0ms (min)
> Page duration:   1000.0ms (max),  998.8ms (avg),  160.0ms (min)
> Total data length: 5875386 bytes (overhead: 0.914%)
> Playback length: 11m:17.133s
> Average bitrate: 69.41 kb/s, w/o overhead: 68.78 kb/s
> Logical stream 1 ended
>
> But when I run opusdec,
>
> opusdec 2-24-Overture_in_C_\(In_Memoriam\).opus
> Decoding to 48000 Hz (2 channels)
>
> ???

Opus doesn't do arbitrary sample rates, only a number of fixed ones:
<https://tools.ietf.org/html/rfc6716#section-2.>.

-- 
imalone
http://ibmalone.blogspot.co.uk


More information about the opus mailing list