[x264-devel] about abr_buffer *=...
Loren Merritt
lorenm at u.washington.edu
Tue Oct 16 18:48:31 CEST 2007
On Tue, 16 Oct 2007, Gabriel Bouvigne wrote:
> ÕÔзå a écrit :
>
>> abr_buffer *= X264_MAX( 1, sqrt(i_frame_done/25) );
>>
>> i am puzzled with the constant 25, why 25?
>
> If this is within x264 source code, then I would say that it's probably
> an hard coded value assuming 25fps, that would be better replaced by the
> actual video framerate.
No, it was just a number pulled out of thin air. I have no idea if 25 is
best. And as explained in
http://mailman.videolan.org/pipermail/x264-devel/2007-March/002846.html it
depends on the number of frames, not on the duration.
--Loren Merritt
More information about the x264-devel
mailing list