[x264-devel] commit: Add ability to adjust ratecontrol parameters on the fly ( Jason Garrett-Glaser )

Marc Schulz schulz.marc at gmail.com
Mon Feb 15 15:38:28 CET 2010


Is there any possibilty you could simply merge these commits into a  
single diff or perhaps commit more frequently instead of filling up my  
inbox in a single morning? This would be simple courtesy to mailing  
list subscribers.

Sent from my iPhone

On Feb 15, 2010, at 3:07 AM, git at videolan.org (git version control)  
wrote:

> x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com>  
> | Fri Jan 29 02:40:41 2010 -0800|  
> [f555cf3758f46f3c4f7a2f05094b16f8f3c25a27] | committer: Jason  
> Garrett-Glaser
>
> Add ability to adjust ratecontrol parameters on the fly
> encoder_reconfig and x264_picture_t->param can now be used to change  
> ratecontrol parameters.
> This is extraordinarily useful in certain streaming situations where  
> the encoder needs to adapt the bitrate to network circumstances.
>
> What can be changed:
> 1) CRF can be adjusted if in CRF mode.
> 2) VBV maxrate and bufsize can be adjusted if in VBV mode.
> 3) Bitrate can be adjusted if in CBR mode.
> However, x264 cannot switch between modes and cannot change bitrate  
> in ABR mode.
>
> Also fix a bug where x264_picture_t->param reconfig method would not  
> always be frame-exact.
>
> Commit sponsored by SayMama video calling.
>
>> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f555cf3758f46f3c4f7a2f05094b16f8f3c25a27
> ---
>
> encoder/encoder.c     |   56 +++++++++++++++++++-
> encoder/ratecontrol.c |  137 ++++++++++++++++++++++ 
> +-------------------------
> encoder/ratecontrol.h |    2 +
> x264.h                |    7 ++-
> 4 files changed, 126 insertions(+), 76 deletions(-)
>
> Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=f555cf3758f46f3c4f7a2f05094b16f8f3c25a27
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list