[FFmpeg-user] ffmpeg NVENC won't run

Leonardo Pagotto leonardo.pagotto at gmail.com
Wed Sep 2 19:04:40 EEST 2020


Hello everyone,

I've installed Cuda toolkit, Nvidia driver and compiled ffmpeg,
installation went smoothly. all seems to be loaded but trying to run it
starts and stucks, no error messages but won't go any further, even on a
very basic command w/o NVENC. What can be wrong?

lealpa at cuda7:~$ sudo /home/lealpa/bin/ffmpeg -i udp://230.8.0.7:10008
teste.mp4
ffmpeg version N-98962-g0271098 Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/home/lealpa/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/lealpa/ffmpeg_build/include
--extra-ldflags=-L/home/lealpa/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/lealpa/bin --enable-gpl --enable-gnutls --enable-libass
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.101.101 / 58.101.101
  libavformat    58. 51.101 / 58. 51.101
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
lealpa at cuda7:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

Wed Sep  2 15:57:19 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64.00    Driver Version: 440.64.00    CUDA Version: 10.2
  |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr.
ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute
M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:01:00.0 Off |
 N/A |
| 36%   34C    P0    N/A /  75W |      0MiB /  4038MiB |      1%
 Default |
+-------------------------------+----------------------+----------------------+ffmpeg
version N-98962-g0271098 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/home/lealpa/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/lealpa/ffmpeg_build/include
--extra-ldflags=-L/home/lealpa/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/lealpa/bin --enable-gpl --enable-gnutls --enable-libass
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.101.101 / 58.101.101
  libavformat    58. 51.101 / 58. 51.101
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...

Thanks!

LP


More information about the ffmpeg-user mailing list