[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 
would
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 
it
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 
for
nvidia) and he fixed the vdpau mixer case - but read-back and opengl 
remained
broken. He then left nvidia and no work has happened ever since - that 
was
almost two years ago.

--phil


More information about the ffmpeg-devel mailing list