[FFmpeg-devel] [PATCH v6 3/5] lavc/libopenh264enc: add bit rate control select support

Martin Storsjö martin at martin.st
Wed Apr 29 11:52:51 EEST 2020


On Wed, 29 Apr 2020, Linjie Fu wrote:

> RC_BITRATE_MODE:
>    set BITS_EXCEEDED to iCurrentBitsLevel and allows QP adjust
>    in RcCalculatePictureQp().
>
> RC_BUFFERBASED_MODE:
>    use buffer status to adjust the video quality.
>
> RC_TIMESTAMP_MODE:
>    bit rate control based on timestamp, introduced in release 1.4.
>
> Default to use RC_QUALITY_MODE.
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> libavcodec/libopenh264enc.c | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)

LGTM

// Martin



More information about the ffmpeg-devel mailing list