[x264-devel] [PATCH] tweak frame bits allocation

Alex Izvorski aizvorski at gmail.com
Tue Jun 5 12:11:31 CEST 2007


This patch should allow large frames to be considerably larger in VBV
mode, up to 0.9 of the remaining buffer instead of 0.5.  The idea is
that with per-row ratecontrol, we track the target frame size much
closer and so we can afford to use more of the buffer if it seems
warranted based on frame complexity.  Small frames still get boosted to
at least half the size they should be at the nominal bitrate, but no
more than 0.9 of the buffer.  

Primarily useful when running with very small vbv-bufsize.

Please report any cases when it makes quality definitely worse, and/or
causes VBV constraints to be exceeded when they weren't before.  This
script http://akuvian.org/src/x264/vbv.pl can be used to check VBV
constraints.

--Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ratecontrol-frame-bits-v2.patch
Type: text/x-patch
Size: 1248 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070605/c2362a31/attachment.bin 


More information about the x264-devel mailing list