> -----Original Message----- > From: ffmpeg-devel <[email protected]> On Behalf Of Fu, > Linjie > Sent: Friday, October 18, 2019 16:50 > To: FFmpeg development discussions and patches <ffmpeg- > [email protected]> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: Fix bitrate_limit to allow > AVC encode in limited bitrate > > > -----Original Message----- > > From: Fu, Linjie <[email protected]> > > Sent: Tuesday, October 15, 2019 15:56 > > To: [email protected] > > Cc: Fu, Linjie <[email protected]> > > 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 <[email protected]> > > --- > > 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
Ping. - linjie _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
