]> git.videolan.org Git - x264.git/commit
Make the ABR buffer consider the distance to the end of the video
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 13 Feb 2010 08:52:31 +0000 (00:52 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 15 Feb 2010 09:00:03 +0000 (01:00 -0800)
commitaa2626c567083432f56368bee9c9d43d7c8e1fef
treee1d936b8e9241c968bc80d15fb6a90939152c47d
parentdcef20c00f1248beb7a6a55448976be6cbd3ee5b
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