[x264-devel] commit: Correct misprediction of bitrate in threaded mode ( Gabriel Bouvigne )

Gabriel Bouvigne gabriel.bouvigne at joost.com
Wed Sep 17 20:49:41 CEST 2008


BugMaster a écrit :

> This patch do diametrically opposed to what my patch do. It only makes
> worse. 
[...]
> "rcc->expected_bits_sum" also
> show the expected size of frames which ended encode (because it
> calculated in "x264_ratecontrol_end").

You are right, I overlooked the fact that expected_bits_sum only 
includes finished frames.

Then why not just using something like this one?
Instead of extrapolating the size of frames being encoded and adding it 
to total_bits, it simply compares total_bits against 
rcc->expected_bits_sum, which both only include finished frames.


--
Gabriel

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bitrate_vs_threads.patch
Url: http://mailman.videolan.org/pipermail/x264-devel/attachments/20080917/1ce9c9a0/attachment.txt 


More information about the x264-devel mailing list