[opus] Formula/heuristic for estimating packet size?

Albin Stigö albin.stigo at gmail.com
Sat May 12 16:42:47 UTC 2018


Just a follow up... I guess I was a bit confused about the VBR
setting. I realise now that packets tend to stay very close to
OPUS_SET_BITRATE so that solves my problem.

--Albin

On Sat, May 12, 2018 at 6:19 PM, Albin Stigö <albin.stigo at gmail.com> wrote:
> Thanks for the input!
>
> --Albin
>
> On Sat, May 12, 2018 at 6:00 PM, Orestes Zoupanos
> <oresteszoupanos at hotmail.com> wrote:
>> Hi Albin!
>>
>> There may be some details at: https://tools.ietf.org/html/rfc7845#section-6
>>
>> Otherwise, I hope someone else on this list might be able to give a better
>> formula for estimating packet size.
>>
>> Regards,
>>
>> Orestes
>>
>> On 12/05/2018 16:31, Albin Stigö wrote:
>>
>> Hello,
>>
>> I'm working on an Opus encoder block for GNUradio (a signal processing
>> toolkit).
>>
>> I was wondering if there's some formula/heuristic for estimating the
>> packet size average case / worst case given a certain encoder setting
>> (assuming VBR).
>>
>> I need to provided a reasonable estimate to the GNUradio memory allocator.
>>
>>
>> --Albin
>> _______________________________________________
>> opus mailing list
>> opus at xiph.org
>> http://lists.xiph.org/mailman/listinfo/opus
>>
>>
>> _______________________________________________
>> opus mailing list
>> opus at xiph.org
>> http://lists.xiph.org/mailman/listinfo/opus
>>


More information about the opus mailing list