[FFmpeg-devel] [PATCH] aacenc: Fix issues with huge values of bit_rate.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Apr 7 12:48:23 CEST 2012


On Sat, Apr 07, 2012 at 12:39:22PM +0200, Michael Niedermayer wrote:
> > As to whether it is low enough I am not as sure since the overhead
> > is not trivial to calculate, so I basically just tested that 5815
> > was enough for my samples to work and gave it a few bits headroom
> > just to be sure.
> 
> maybe it could be checked in a more robust way then, that does not
> depend on these fine details?

Well, for the alternative implementations there is the lambda
value that is decreased in the toplevel loop until there is little
enough data. Something similar could be done here. But I really
don't want to mess with such tricky changes in an encoder I have no
clue about.


More information about the ffmpeg-devel mailing list