HydrogenAudio

Lossy Audio Compression => Opus => Topic started by: learning_audiocodec on 2011-09-02 23:11:21

Title: CELT encoder: I want to reduce bitrate; what to change in source code?
Post by: learning_audiocodec on 2011-09-02 23:11:21
Hello,

I am using  CELT encoder to encode data into packets and send them over the network....I want to reduce bitrate to 100 kbps.
Could anyone tell me which parameters to change in CELT source code.
I am new in audio domain and am not sure whther changing frame size will effect or bu just changing nbCompressed bytes in

int celt_encode (CELTEncoder st, const celt_int16 pcm, celt_int16 optional_synthesis,
unsigned char compressed, int nbCompressedBytes)

Pls provide me suggestions about how to approach it.

Thanks 
Title: CELT encoder: I want to reduce bitrate; what to change in source code?
Post by: [JAZ] on 2011-09-03 11:52:16
According to the main page:

Quote
Constant bit-rates from 32 kbps to 128 kbps and above


Why would you even need to do any source modification to get what you want?

Title: CELT encoder: I want to reduce bitrate; what to change in source code?
Post by: mudlord on 2011-09-04 12:08:26
read the celtenc source.
its BSD so it should be fine to tinker with.