[FFmpeg-devel] [PATCH] lavfi/vf_vpp_qsv: fix the infinite loop while framerate lower than input
Fu, Linjie
linjie.fu at intel.com
Tue Jun 30 09:29:03 EEST 2020
> From: Zhong Li <lizhong1008 at gmail.com>
> Sent: Sunday, April 19, 2020 23:00
> To: Fu, Linjie <linjie.fu at intel.com>
> Cc: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] lavfi/vf_vpp_qsv: fix the infinite loop
> while framerate lower than input
>
> Fu, Linjie <linjie.fu at intel.com> 于2020年2月29日周六 下午5:35写道:
> >
> > > -----Original Message-----
> > > From: Zhong Li <lizhong1008 at gmail.com>
> > > Sent: Saturday, February 29, 2020 13:14
> > > To: FFmpeg development discussions and patches <ffmpeg-
> > > devel at ffmpeg.org>
> > > Cc: Fu, Linjie <linjie.fu at intel.com>
> > > Subject: Re: [FFmpeg-devel] [PATCH] lavfi/vf_vpp_qsv: fix the infinite
> loop
> > > while framerate lower than input
> > >
> > > Linjie Fu <linjie.fu at intel.com> 于2020年2月28日周五 下午11:34写
> 道:
> > > >
> > > > There are frame droppings in frc while converting into a lower
> framerate,
> > > > and MSDK returns ERROR_MORE_DATA which should be ignored.
> > >
> > > Should be fixed in MSDK instead of working around in FFmpeg?
> >
> > MSDK made decision regarding frame rate conversion. If it's the framerate
> down case,
> > FRC would skip frame without producing an output [1], and request a new
> input frame.
>
> I can't see the benefit to use MSDK framerate conversion function. Is
> it a good idea to drop it and use ffmpeg native fps filter instead?
Reconsidering this, leaving the filter buggy doesn't seem to be comfortable to me,
hence IMHO it'll be better to have this bug fixed.
Ping for this, thx.
- Linjie
More information about the ffmpeg-devel
mailing list