[FFmpeg-devel] [PATCH] vdpau: do not use buggy HEVC support by default

Philip Langdale philipl at overt.org
Fri Jul 14 12:33:50 EEST 2017

On 2017-07-14 08:19, Yogender Gupta wrote:
> Please help to understand what is broken with a command line, so that
> we can address this issue.

This is the issue that the hevc low level decoder outputs frames instead
of fields - which all the other decoders do.

Originally, the vdpau support didn't account for this at all - so it 
take the memory allocated for the progressive frame and then treat it as
two fields and return those two fields up (because vdpau assumes output
frames are made up of two fields too) which lead to garbage output, as 
would either return the top and bottom half in each 'field' if using the
opengl interop, or it would interleave the two 'fields' when returning a
frame using the read-back API or the vdpau mixer.

I pointed this out to the vdpau maintainer (back when he still worked 
nvidia) and he fixed the vdpau mixer case - but read-back and opengl 
broken. He then left nvidia and no work has happened ever since - that 
almost two years ago.


More information about the ffmpeg-devel mailing list