[opus] Position without granularity

Timothy B. Terriberry tterribe at xiph.org
Fri May 17 07:14:57 PDT 2013


Hermann Weber wrote:
> How can I make it so that each frame takes up the same amount of space?
>
> I want to correlate the position in the un-encoded audio with the
> position of the encoded audio data.
> I don't want to mess with granularity.
> I think and hope there is an easy way to do that, but I don't know how.

Just disable VBR using opus_encoder_ctl(enc,OPUS_SET_VBR(0)) (see
<http://www.opus-codec.org/docs/html_api-1.0.2/group__opus__encoderctls.html#ga34d09ae06cab7e1a6c49876249b67892>).

This has an impact on quality, of course.


More information about the opus mailing list