]> git.sesse.net Git - x264/commit
Make the ABR buffer consider the distance to the end of the video
authorFiona Glaser <fiona@x264.com>
Sat, 13 Feb 2010 08:52:31 +0000 (00:52 -0800)
committerFiona Glaser <fiona@x264.com>
Mon, 15 Feb 2010 09:00:03 +0000 (01:00 -0800)
commitfc94a28317cf760ea6dc2007ac5f5de683d2d376
treee1c4287eb1cc5671ed3af2059ea3dc0aec769e86
parent2e9ec3f66aff3b4bae016ad1c3f26d96c7f9c9cd
Make the ABR buffer consider the distance to the end of the video
Should improve bitrate accuracy in 2-pass mode.
May also slightly improve quality by allowing more variation earlier-on in a file.

Also fix abr_buffer with 1-pass: it does something very different than what it does for 2-pass.
Thus, the earlier change that increased it based on threads caused 1-pass ABR to be somewhat less accurate.
encoder/ratecontrol.c