[FFmpeg-trac] #6989(avcodec:open): Hwaccel cuvid fails with “Error creating a NVDEC decoder: 1”

FFmpeg trac at avcodec.org
Thu Mar 5 03:32:19 EET 2020


#6989: Hwaccel cuvid fails with “Error creating a NVDEC decoder: 1”
-------------------------------------+-------------------------------------
             Reporter:  tkalliom     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  hwaccel      |               Blocked By:
  cuda cuvid NVDEC                   |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by DrocUf):

 Replying to [comment:12 Balling]:
 > It still works, you did not try to use it?

 What is "it"? `hwaccel cuvid` didn't work before. Now it works because it
 relies on a bug.

 > And it is the same code underhood because of this bug.

 It's the same under the hood because there is only one way to access video
 decoding hardware on NVIDIA GPU: through CUDA driver. There is no some
 "generic" or "native" way to drive video decoding hardware. Thus
 `cuvid_init` must be used.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6989#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list