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

FFmpeg trac at avcodec.org
Sun Jan 28 21:10:18 EET 2018


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

 When trying to use an nVidia GPU for decoding video, it fails with the
 following output (a full trace attached):

 [h264 @ 0x558d24633900] NVDEC capabilities:
 [h264 @ 0x558d24633900] format supported: yes, max_mb_count: 65536
 [h264 @ 0x558d24633900] min_width: 48, max_width: 4096
 [h264 @ 0x558d24633900] min_height: 16, max_height: 4096
 [h264 @ 0x558d24633900] Error creating a NVDEC decoder: 1
 [h264 @ 0x558d24633900] Failed setup for format cuda: hwaccel
 initialisation returned error.
 [h264 @ 0x558d24633900] Format cuda not usable, retrying get_format()
 without it.

 The trace attached is for an AVC video, but the same occurs for HEVC.

 The system has two GTX 1080 Tis (1b06 rev a1), and the driver version is
 384.111. I have managed to run CUDA programs without problems.

 How to reproduce:
 {{{
 % ffmpeg -loglevel trace -hwaccel cuvid -i small.mp4 small2.mp4
 ffmpeg version 3.4.git-1
 built on gcc 7 (Debian 7.2.0-19)
 }}}

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


More information about the FFmpeg-trac mailing list