Hi,
I followed the steps in here: https://developer.nvidia.com/FFmpeg. I have
installed the CUDA v10.1.
The first thing I've encountered was that it complained at configure time
saying that it didn't found the lnppi. I realized that my CUDA installation
doesn't have this library but a bunch of libnppi*.so then I assumed (have
to check if correctly) in this version they split that library into
multiple ones. Then I modified the configure in order to link againsts
these bunch of libraries. It compiled successfully.
This is what the ldd provides about the generated binary:

$> ldd avconv
linux-vdso.so.1 (0x00007ffeef3ab000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5d0352e000)
libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 (0x00007f5d023d8000)
libnppicc.so.10.0 =>
/usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppicc.so.10.0
(0x00007f5d01e0e000)
libnppig.so.10.0 =>
/usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppig.so.10.0
(0x00007f5d00427000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5d0020a000)
libnvcuvid.so.1 => /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
(0x00007f5cffcf6000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5cffaf2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f5cff8d3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5cff4e2000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5d04bf5000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5cff2da000)
libnvidia-fatbinaryloader.so.418.30 =>
/usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.418.30
(0x00007f5cff08c000)
libnppc.so.10.0 =>
/usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppc.so.10.0
(0x00007f5cfee04000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f5cfea7b000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5cfe863000)


It seems that that workarround was nice. The binary is linked against
libnppicc and libnppig.
The problem cames when I try to execute the next command:

avconv -vsync 0 -c:v h264_cuvid -i rtsp://... -f rawvideo output.yuv

It throws the next error:

Unknown decoder 'h264_cuvid'


It sounds to me like it hadn't be correctly compiled but I am not sure how
to proceed. Any clue?
Thanks!
- Fran
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to