Hwaccel cuvid fails with “Error creating a NVDEC decoder: 1”
|Reported by:||tkalliom||Owned by:|
|Version:||git-master||Keywords:||hwaccel cuda cuvid NVDEC|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
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)
Change History (20)
comment:10 by , 20 months ago
|Status:||reopened → open|