[FFmpeg-trac] #11655(avcodec:new): Cuda/nvdec hwaccel outputs P016LE instead of P010LE on 10bit video
FFmpeg
trac at avcodec.org
Fri Jul 4 18:31:33 EEST 2025
#11655: Cuda/nvdec hwaccel outputs P016LE instead of P010LE on 10bit video
-------------------------------------+-------------------------------------
Reporter: nyanmisaka | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: cuda nvdec | Blocked By:
nvidia hwaccel |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
420 10 bit video must decode as P010 not P012 or P016. 422 must decode as
P012 and 444 must decode as P016.
You see, 10 bit 420 video works as follows: 10 bit are used for Y plane
and then x2 less bits are used for both Cb and Cr. So together it adds to
10 + 5 = 15 bits. That is P010, that is 16 bits.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11655#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list