[x264-devel] Re: [MOD] [PATCH] Rate control

Laurent Aimar fenrir at via.ecp.fr
Fri Aug 6 20:17:52 CEST 2004


> From: Måns Rullgård <mru at mru.ath.cx>
> Date: Fri, 06 Aug 2004 13:49:38 +0200
> To: x264-devel at videolan.org
> Subject: [PATCH] Rate control
> 
> Here's a patch that adds some kind of rate control.  I suppose it is
> by no means perfect, but it's much better than constant quantizer.  It
> also has a very crude scene change detection that sometimes avoids a
> buffer underflow by reencoding oversized P/B frames as I frames.
> 
> Please let me know if I've done something bad and I'll try to change
> it.

 I have applied it to SVN. Thanks for the patch :)))

 I have only changed a few tabs into spaces, and fixed a bit the P -> I reencode.
(It needs more testing to be sure it doesn't break the bitstream).

 It seems to work pretty well :) but from my (really too) limited tests,
it seems to always produce lower bitrate than requested (semething like
5-7%).

-- 
fenrir

-- 
This is the x264-devel mailing-list
If you are in trouble, please contact <postmaster at videolan.org>



More information about the x264-devel mailing list