> -----Original Message-----
> From: Fu, Linjie <linjie...@intel.com>
> Sent: Tuesday, October 15, 2019 15:56
> To: ffmpeg-devel@ffmpeg.org
> Cc: Fu, Linjie <linjie...@intel.com>
> Subject: [PATCH] lavc/qsvenc: Fix bitrate_limit to allow AVC encode in limited
> bitrate
> 
> MFXVideoENCODE_Query calls CheckVideoParamQueryLike in MSDK and
> will determine whether to set param.mfx.TargetKbps to the allowed
> minTargetKbps according to the bitrate_limit in extco2 buffer.
> 
> Thus q->param.ExtParam must be set before MFXVideoENCODE_Query in
> case
> minTargetKbps is written to TargetKbps by default.
> 
> 1080P AVC encoding with option "-bitrate_limit 0 -b:v 100k":
> Before patch:
>             902 kbps
> After patch:
>             156 kbps
> Signed-off-by: Linjie Fu <linjie...@intel.com>
> ---
>  libavcodec/qsvenc.c | 38 +++++++++++++++++++-------------------
>  1 file changed, 19 insertions(+), 19 deletions(-)

Ping.
This is reported by Mann, J in:
https://software.intel.com/en-us/forums/intel-media-sdk/topic/815938

- linjie

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to