#6576: Cannot load libnvidia-encode.so.1 library
             Reporter:  olegburlacu  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:
 Cannot load libnvidia-encode.so.1 library, using nvidia drivers 381.22 or
 How to reproduce:
 CentOS 7. Install nvidia drivers, cuda library. After, compile
 ffmpeg-3.3.2 with --enable-nonfree --enable-nvenc --enable-gpl --enable-
 postproc --enable-version3 --enable-avfilter --disable-decoder=amrnb
 --disable-encoder=libschroedinger --enable-librtmp --enable-ffplay
 --disable-ffserver --enable-pthreads --enable-filters --enable-runtime-
 cpudetect --enable-libfdk-aac --enable-cuda --enable-libnpp
 % ffmpeg -y -v verbose -hwaccel_device 0 -hwaccel cuvid -i
 "udp://" -ignore_unknown -map 0:0 -c:v:0 h264_nvenc -r 25
 -profile:v:0 main -level:v:0 4.0 -preset:v:0 slow -b:v:0 5M -maxrate:v:0
 8M -bufsize:v:0 8M -bf:v:0 1 -refs:v:0 2 -map 0:1 -c:a libfdk_aac -ar
 48000 -ab 128k -f mpegts  "udp://"
 ffmpeg version 3.3.2
 ffmpeg give an exception: Cannot load libnvidia-encode.so.1.
 Lib libnvidia-encode.so.1 is present in /usr/lib64, with a symlink to
 libnvidia-encode.so.381.22 (driver library).
 ldconfig show this libary as loaded.
 libnvidia-encode.so.1 (libc6,x86-64) => /lib64/libnvidia-encode.so.1
 lrwxrwxrwx.   1 root root     9 Mar 11 16:49 lib64 -> usr/lib64

 By using drivers from 375.xx branch - all is ok.

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

Reply via email to