Building FFMPEG for Jetson error: cuda requested, but not all dependencies are satisfied: ffnvcodec

Hello,

I am trying to build ffmpeg from source (in order to use it on my jetson nano, I am following the nvidia ffmpeg page:https://devblogs.nvidia.com/nvidia-ffmpeg-transcoding-guide)

But I got this error message:

cuda requested, but not all dependencies are satisfied: ffnvcodec

while running this command (that has been described in the nvidia page)

./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 am also try to follow this post:

As the link mentioned I cloned nv-codec-headers and installed it like the instructions above.

I also verified that /usr/lib/pkgconfig contains the ffnvcodec.pc file

And I also try to set

PKG_CONFIG_PATH="/usr/lib/pkgconfig"

while running the ./configure

I also try to fix my problem with the tips from all the google search results, for example:

I will appreciate your help trying to fix my issue.

Thanks,

Niv

Hi,
The guide is for desktop GPUs. On Jetson platforms,there is a community contribution. Please check FAQ and give it a try

We are also working on it and will provide package of enabling hardware acceleration in ffmpeg in next release(r32.4).

1 Like

Not tried myself, but you may have a look to this. For Nano or TX1, you would use make j=4 only as you only have 4 cpus.