[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:04:41 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 Timo R.):

 That is because nvdec does not output P010. P010 has the pixel data in the
 least significant bits, while nvdec outputs it in the most significant
 bits.
 I.e. it outputs P016 with the 6 lowest bits zeroed out. FFmpeg does not
 have a "P010 but in the MSB" format, hence P016 is used.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11655#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list