[FFmpeg-cvslog] Add support for AMR-WB encoding via libvo-amrwbenc

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Apr 13 00:50:53 CEST 2011


On Wed, Apr 13, 2011 at 12:04:52AM +0300, Martin Storsjö wrote:
> The bitrate is checked during the init, too, so if you set it to an 
> incorrect value, it will error out already at that point, but you're 
> allowed to change between frames. Do you have a better suggestion on how 
> to handle the case if the caller sets it to an unsupported rate during the 
> encoding, while starting out at a supported bitrate?

Just warn and chose something close would be possible.
Depending on how messy changing bitrate is with this format
you could also use some dithering-like approach to approximate
the desired bitrates out of the available ones.
This would even allow to get rid of the init check.
Or we could just have a way to advertise that only specific
bitrates and specifically which are supported.
I don't know what makes sense, but I don't see a shortage
of possibilies...


More information about the ffmpeg-cvslog mailing list