HydrogenAudio

Lossy Audio Compression => Opus => Topic started by: Tobamalau on 2019-11-21 18:38:45

Title: Bitrate of encoded frame
Post by: Tobamalau on 2019-11-21 18:38:45
Hello,

I built opus 1.3.1 for ARM Cortex-M4 and will send opus frames via IEEE802.15.4.

I need a little length of the encoded packet. Actually I have 48kHz, 16Bit, Mono, framesize 960 input to 8kHz output and get 320 Byte (CBR) output of encoded frame. I tried to change the BANDWIDTH and APPLICATION but is still the same length of the encoded packet.
I don't understand why the bitrate is the same?
Can anyone help me?
Title: Re: Bitrate of encoded frame
Post by: Octocontrabass on 2019-11-23 10:35:30
Bitrate is controlled by BITRATE, VBR, and VBR_CONSTRAINT. Try adjusting those.
Title: Re: Bitrate of encoded frame
Post by: lithopsian on 2019-11-26 18:11:51
Packet or frame?  Not the same thing.