[FFmpeg-devel] [PATCH 2/2] libavcodec/cuviddec: adding HEVC YUV444P decoding support
timo at rothenpieler.org
Wed Feb 13 20:47:27 EET 2019
On 13.02.2019 09:56, Roman Arzumanyan wrote:
> Please find attached patch, it adds HEVC YUV444P decoding support.
> Supported formats are AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV444P10LE,
> This feature requires Video Codec SDK 9.
There is one big issue with this.
And that is, that ffmpeg expects the data for YUV444P10 and YUV444P12 to
be in the least significant bits.
Nvenc (and I hope/assume as does nvdec/cuvid) on the other hand put the
data into the most significant bits.
As a workaround we have so far resorted to using the 16 bit pix_fmt
everywhere, as it happens to match up.
That has the issue of losing the information about the bit depth.
So far every attempt at solving it (like, adding new pix_fmts that match
what nvenc/dec uses) have not found consent.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4538 bytes
Desc: S/MIME Cryptographic Signature
More information about the ffmpeg-devel