[Speex-dev] How to get size of WB frame in bits/bytes?
jean-marc.valin at usherbrooke.ca
Fri Jan 25 13:11:36 PST 2008
Alexander Chemeris a écrit :
> Is there any way to determine frame size in bits or bytes of
> encoded frame in WB mode for given quality? That is I need
> to know how many bits encoded frame will occupy in RTP
> packet. I see SPEEX_SUBMODE_BITS_PER_FRAME request,
> but it works like this only for NB mode, and for WB mode
> it return size of WB "subframe" (?) only.
SPEEX_SUBMODE_BITS_PER_FRAME should definitely work for both narrowband
and wideband. How are you using it and what value does it return?
More information about the Speex-dev