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

HK Wong hk at woohing.net
Tue Apr 30 05:45:37 PDT 2013

**>You need to feed libopus distinct packets, and you need to parse
out the>size of those packets from the file first. This is not
handled>automatically by libopus (that is what libopusfile is for).

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

>The source code of libopusfile is here:http://git.xiph.org/?p=opusfile.git
>I don't know anything about your environment, but you should be able to
>compile your own library from the source files there.

And for libopusfile, it needs to run with libopus and also libogg? And
is this (http://downloads.xiph.org/releases/ogg/libogg-1.3.0.zip) the
download link for libogg?


H.K. Wong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20130430/ca88f4d9/attachment.htm 

More information about the opus mailing list