[MPlayer-users] VDPAU errors, flickering black video display on aspect change in MPEG2 TS

Ilja Sekler ilja_sekler_ at gmx.de
Sun Dec 8 15:18:28 CET 2013


Am 08.12.2013 14:52, schrieb Reimar Döffinger:

> On Sun, Dec 08, 2013 at 06:12:31AM +0000, Carl Eugen Hoyos wrote:
>
>> Ilja Sekler <ilja_sekler_ <at> gmx.de> writes:
>>
>>> when playing DVB-T MPEG2 transport streams using '-vc
>>> ffmpeg12vdpau' or '-vc ffmpeg12vdpauold', an aspect change in the
>>> stream results in
>>>
>>> [vdpau] Failed VDPAU decoder rendering: The size of a supplied
>>> object does not match the object it is being used with.
>>
>> This is a regression since r36428

Yes, it is, verified by backout.

>> I have a suspicion that you are on Nvidia and that this does not
>> happen on Radeon.

This is correct too (don't know about Radeon).

> My best explanation is that this is a NVidia driver bug, there is no
> reason the decoder should care about aspect changes. In the worst
> case the decoder would only compare aspect-scaled sizes, in which
> case it might be a security issue.
>
> Can someone try this patch? It might still avoid the original issue
> why possibly fixing this one. Assuming the issue is with the decoder,
> and not the video surfaces, the error message is a bit useless
> there.
>
> --- a/libvo/vo_vdpau.c
> +++ b/libvo/vo_vdpau.c
> @@ -697,6 +697,9 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
>           vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
>                                   flags, CopyFromParent, "vdpau", title);
>           resize();
> +        if (IMGFMT_IS_VDPAU(image_format)
> +            && !create_vdp_decoder(image_format, vid_width, vid_height, 2))
> +            return -1;
>           return 0;
>       }
>       image_format = format;

The patch fixes this particular problem and brings back the issue with
multithreaded VDPAU decoding for h264 as described in

http://lists.mplayerhq.hu/pipermail/mplayer-users/2013-August/086498.html

Thanks,

-- 
Regards

Ilja


More information about the MPlayer-users mailing list