Hi, I have built FFMPEG from source on an Ubuntu 18.04 with the following commands:
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git cd nv-codec-headers/ make sudo make install cd ../ ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 make -j8 Everything looks fine. However, when I run the following command ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 I don't see any ffmpeg related process on GPU. I mean the "nvidia-smi -l" command shows nothing related to ffmpeg and that means ffmpeg is not using GPU. The output of the command look normal and it has normal progress. ... rame= 2280 fps=113 q=31.0 size= 38400kB time=00:01:16.52 bitrate=4110.8kbits/s speed=3.7frame= 2334 fps=113 q=31.0 size= 39936kB time=00:01:18.20 bitrate=4183.2kbits/s speed=3.7[mp4 @ 0x55c859ecd3c0] Starting second pass: moving the moov atom to the beginning of the file frame= 2348 fps=113 q=31.0 Lsize= 40272kB time=00:01:18.31 bitrate=4212.8kbits/s speed=3.76x video:40182kB audio:22kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.169521% [aac @ 0x55c859e9b880] Qavg: 65536.000 Any idea? Regards, Mahmood _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
