Displaying 1 result from an estimated 1 matches for "opus_get_bandwidth".
2020 Jun 11
1
OPUS encoded data size and bandwidth of encoder
Hey, I am having trouble with the size of the encoded bytes by Opus. I am
also having issue with the Bandwidth ctl.
Here is the scenario.
If I encode 16khz sampled audio:
opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND))
opus_encoder_ctl(enc, OPUS_GET_BANDWIDTH(&x)) = 1102
opus_encoder_ctl(enc, OPUS_GET_MAX_BANDWIDTH(&x)) = 1103
average encoded size = 120 bytes
if I encode 48khz sampled audio:
opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND))
opus_encoder_ctl(enc, OPUS_GET_BANDWIDTH(&x)) = 1103
opus_encoder_ctl(enc, OPUS_...