[opus] Strange ogginfo result

Timothy B. Terriberry tterribe at xiph.org
Wed Aug 21 23:05:41 PDT 2013


Butrus Damaskus wrote:
>      Total data length: 579914 bytes (overhead: 0.758%)
>      Playback length: 0m:48.000s
>      Average bitrate: 96.65 kb/s, w/o overhead: 95.92 kb/s

> 579914/48/1024
> 11.7983805338
>
> So it seems the real bitrate is about 12kbit/s but opusinfo says it is
> 96kbit/s.
>
> Is this some known error that have already been fixed or did I
> misunderstand something?

The latter. Bytes != bits. The number you want is 579914*8/48/1000 
(audio always uses 1 kbit = 1000 bits) = 96.6523333, which matches what 
opusinfo says.


More information about the opus mailing list