And there still is a total lack of support for the 10 and 12 bit formats
#11655: Cuda/nvdec hwaccel outputs P016LE instead of P010LE on 10bit video -------------------------------------+------------------------------------- Reporter: nyanmisaka | Owner: Timo | Rothenpieler <timo@…> Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: cuda nvdec | Blocked By: nvidia hwaccel | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by nyanmisaka): Thanks for the quick update. I think CUVID decoder needs a similar update, as it still outputs P016 for 10-bit video when you specify "-c:v hevc_cuvid". Around line ~200 of "libavcodec/cuviddec.c" that nvdec outputs (and nvenc accepts for input) for 4:4:4, so that's always mapped to AV_PIX_FMT_YUV444P16, even though the LSB are always 0 (or ignored in case of nvenc). I'm aware of these issues as well. Especially for 4:4:4 formats in NVDEC/ENC, they don't use packed Y410/Y416 (AV_PIX_FMT_{XV30,XV36}) formats like D3D11VA/VAAPI uses. But since NVIDIA's Windows driver already supports them recently, I guess it shouldn't be too hard for them to add corresponding formats in CUDA? -- Ticket URL: <https://trac.ffmpeg.org/ticket/11655#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker