1

I'd like to use OGG@64kbps as an output format (for low data consumption). I'm currently writing an audio streaming client, and I need the estimated data size before streaming. It would be great if the prediction could be accurate to within a few kB. Is it possible to set up ffmpeg or SoX to encode into Ogg/CBR so I can calculate the exact data size?

I agree VBR would be the better option where quality is concerned, but VBR 64kbps doesn't mean that I actually get 64kbps in average. Sadly...

Or would ABR be an option?

Thank you!

1

I would highly recommend using CELT or Opus for low bitrate audio (48kbps-96kbps), it sounds far superior, even compared to high performance ACC-HE+. the later is an IETF standard, and already widely supported.

Both support CBR, ABR (CVBR), VBR.

Vorbis supports VBR, ABR.

ffmpeg documentation for Vorbis and Opus have easily defined options for ABR control.

0

Ogg is a VBR codec. but as you seem to know you still can setup a certain bitrate.

Here is what I found on the net

ffmpeg -f alsa -i hw:0,0 -acodec libvorbis -aq 4 -vn audio.ogg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.