[FFmpeg-devel] [PATCH] lavc/qsvenc: add support for external bitrate control for HEVC

Fu, Linjie linjie.fu at intel.com
Mon Feb 17 18:05:04 EET 2020


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Fu,
> Linjie
> Sent: Saturday, February 15, 2020 16:31
> To: Zhong Li <lizhong1008 at gmail.com>; FFmpeg development discussions
> and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add support for external
> bitrate control for HEVC
> 
> > -----Original Message-----
> > From: Zhong Li <lizhong1008 at gmail.com>
> > Sent: Saturday, February 15, 2020 14:08
> > To: FFmpeg development discussions and patches <ffmpeg-
> > devel at ffmpeg.org>
> > Cc: Fu, Linjie <linjie.fu at intel.com>
> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add support for external
> > bitrate control for HEVC
> >
> > Linjie Fu <linjie.fu at intel.com> 于2020年2月13日周四 下午8:50写道:
> > >
> > > Enables option for hevc_qsv encoder:
> > >     -extbrc
> > >
> > > Improvements in BD-Rate could be observed with extbrc on.
> > >
> > > Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> > > ---
> > > Details for extbrc:
> > > https://github.com/Intel-Media-
> > SDK/MediaSDK/blob/master/doc/mediasdk-man.md#external-bit-rate-
> > control
> > >
> > > The improvement differs depending on the platform/clips/bitrate.
> > > Based on the verifying on ICL, ~20% improvement in BD-Rate could be
> > observed.
> >
> > Is there any HW platform requirement for this feature? And how much
> > quality improvement  for H264?
> 
> Should also work on KBL or latest platforms, however didn't test the detailed
> quality improvement data yet on other platforms or H264.
> 

To elaborate more, some inputs from Media SDK:

Explicit list of codecs for which extbrc is supported: AVC, HEVC

Explicit comment on which HW it is supported: there are no HW limitations. Note
that SWBRC is available since 1.24 API:
(https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxBRCFrameCtrl)

EXTBRC for HEVC should be supported ever since HEVC encoder is reday. (gen 9 +)

Explicit comment whether features is enabled for VME and VDENC encoders: there is no limitations.

> >
> ...
> >
> > Patch LGTM
> 
> Thanks for the review.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list