On 13.02.2019 09:56, Roman Arzumanyan wrote:
Hello,Please find attached patch, it adds HEVC YUV444P decoding support.Supported formats are AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV444P10LE, AV_PIX_FMT_YUV444P12LE.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.
Description: S/MIME Cryptographic Signature
_______________________________________________ ffmpeg-devel mailing list firstname.lastname@example.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel