[FFmpeg-devel] [PATCH v2 2/2] vaapi_encode: fix VBR mode generating low bitrates

Fu, Linjie linjie.fu at intel.com
Tue Aug 13 05:42:07 EEST 2019


> -----Original Message-----
> From: Aman Gupta [mailto:aman at tmm1.net] On Behalf Of Aman Gupta
> Sent: Tuesday, August 13, 2019 09:05
> To: ffmpeg-devel at ffmpeg.org
> Cc: sw at jkqxz.net; Fu, Linjie <linjie.fu at intel.com>; Aman Gupta
> <aman at tmm1.net>
> Subject: [PATCH v2 2/2] vaapi_encode: fix VBR mode generating low bitrates
> 
> From: Aman Gupta <aman at tmm1.net>
> 
> On some Intel chips, sending VAEncMiscParameterTypeRateControl multiple
> times causes the encoder to produce very low bitrates that do not match
> the requested rate controls.
> 
> This is a regression as of af532c921575eb8ee805cc2c64a914f6302442e1. Prior
> to that global params were sent only once at the start of the
> encoding session.
> 
> The broken VBR behavior was observed on:
> 
>   - i5-7260U Kaby Lake
>   - N3060 CherryView
>   - N3710 CherryView
>   - J3455 Broxton
> 
> /cc intel/intel-vaapi-driver#480

If it's a driver related issue, IMHO we'd better have it fixed in specific driver.
Also commented on #480.

- linjie


More information about the ffmpeg-devel mailing list