[x264-devel] [PATCH] improve bitrate precision in 2 pass encodes
Gabriel Bouvigne
gabriel.bouvigne at joost.com
Thu Oct 2 08:54:43 CEST 2008
BugMaster a écrit :
> I think it is not safe to use
> + double elapsed_time = (double)h->fenc->i_frame / rcc->num_entries;
> + double abr_buffer_adj = abr_buffer * (1-elapsed_time);
> when we not doing the 2pass (it would result in division by zero). And
> so it would results in incorrect value of abr_buffer_adj which you
> also use in 1pass ABR.
I though about something similar while sleeping: what is the value when
using pipes?
Going to check it...
--
Gabriel
More information about the x264-devel
mailing list