[FFmpeg-trac] #11655(avcodec:closed): Cuda/nvdec hwaccel outputs P016LE instead of P010LE on 10bit video
FFmpeg
trac at avcodec.org
Fri Jul 4 18:42:25 EEST 2025
#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 Timo R.):
nvenc/nvdec use P016/P216 for historical reasons.
When they were implemented, P012 and P212 didn't exist.
So now migration to those is a bit complicated, since changing the output
format is a breaking change.
And there still is a total lack of support for the 10 and 12 bit formats
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).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11655#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list