> From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of
> Ruiling Song
> Sent: Friday, January 26, 2018 9:17 AM
> To: libav-devel@libav.org
> Subject: [libav-devel] [PATCH] hwcontext_qsv: Fix qsv hwupload failure issue
>
> From: "Ruiling, Song"
>
> 1.)
From: "Ruiling, Song"
1.) the initial_pool_size need to be set instead of zero.
2.) the PicStruct is required by MediaSDK, so give a default value.
A simple command to reproduce the issue:
avconv -i INPUT -init_hw_device qsv=foo -filter_hw_device foo -vf
many vp8 clips decoding will be failed if hw_frames_ctx is enabled,
reporting "Error during QSV decoding.: incompatible video parameters (-14)".
It is due to mfx.FrameInfo.Width/Height don't match coded_w/coded_h.
Reproduce: -hwaccel qsv -init_hw_device qsv -c:v vp8_qsv -i
just fine, thanks
On Thu, Jan 25, 2018 at 8:59 AM, Luca Barbato wrote:
> On 25/01/2018 02:21, Song, Ruiling wrote:
>
>>
>>
>> -Original Message- From: libav-devel
>>> [mailto:libav-devel-boun...@libav.org] On Behalf Of Luca Barbato Sent:
>>> Wednesday, January 24,
On 25/01/2018 02:21, Song, Ruiling wrote:
-Original Message- From: libav-devel
[mailto:libav-devel-boun...@libav.org] On Behalf Of Luca Barbato
Sent: Wednesday, January 24, 2018 6:36 PM To:
libav-devel@libav.org Subject: Re: [libav-devel] [PATCH V2]
lavc/qsv: skip the packet if