[opus] libopus API question - 120ms encoding

O'Connor, Kevin Kevin.OConnor at inin.com
Thu Oct 24 10:45:14 PDT 2013

The libopus encoder's opus_encode() method is documented as "Encodes an Opus frame". Does that  mean that it always produces a single Opus frame (i.e. the number of frames in the TOC byte will always be 0)? It's not clear from the documentation, but the fact that it cannot produce a 120ms Opus packet makes me wonder if that was the intention and any multi-frame Opus packets must formed outside the libopus encoder (e.g. the Repacketizer).

If that's not the case and opus_encode() can produce multi-frame Opus packets, why is it limited to 60ms Opus packets?

Kevin O'Connor
Interacive Intelligence, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20131024/c4c59518/attachment.htm 

More information about the opus mailing list