[opus] How to identify packets to input to opus_decode()

Ralph Giles giles at thaumas.net
Tue Apr 30 10:09:26 PDT 2013


On 13-04-30 5:45 AM, HK Wong wrote:

> So each libopus packet begins by a TOC byte as stated in RFC6716? And
> the no. of bytes of each packet usually denoted by the segment table
> entries in the ogg layer? If the TOC byte is also needed to feed into
> libopus?

Yes. The TOC byte is part of the Opus data packet and must be fed to the
libopus decoder.

> And for libopusfile, it needs to run with libopus and also libogg?

opusfile needs libopus, libogg, and openssl.

> is this (http://downloads.xiph.org/releases/ogg/libogg-1.3.0.zip) the
> download link for libogg?

Yes, that's the latest release.

 -r


More information about the opus mailing list