[FFmpeg-devel] [PATCH] avfilter/qsvvpp: Work around a bug in MSDK where VPP processing hangs under certain conditions

Soft Works softworkz at hotmail.com
Mon May 25 00:01:19 EEST 2020


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Max Dmitrichenko
> Sent: Sunday, May 24, 2020 4:43 PM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] avfilter/qsvvpp: Work around a bug in
> MSDK where VPP processing hangs under certain conditions
> 
> On Sun, May 24, 2020 at 2:13 PM Soft Works <softworkz at hotmail.com>
> wrote:

> > Fix:
> > - Increase the frame height to the next alignment value
> >
> 
> 
> there is a strong feeling that adjustments are enforced in more cases than
> actually needed, only height is checked for decision.

That may be right, but I haven't done enough testing to know exactly and
I wanted to be sure to catch all possible cases.

With regards to the amount of "wasted" memory, there's a much 
more severe issue in vpp_qsv, because the alignment requirements
for height and width are 16 pixels, not 32 pixels. This is done right
in scale_qsv but not in vpp_qsv.

I haven't changed that because I didn't want to mix two different 
issues in a single patch.

> is this confirmed to be a bug from
> https://github.com/Intel-Media-SDK/MediaSDK/issues ?

I didn't bother to file a bug there, because I needed an immediate
fix for all driver versions and can't wait for an update from that
side.

> without sample input video - patch has no meaning.

I have forwarded the clip to you and to Zhong. When anybody else
is interested, just drop me a note.

Regards
softworkz



More information about the ffmpeg-devel mailing list