Ffmpeg HW-Acceleration issue on Jetson nano

When compile ffmpeg HW-Acceleration on Jetson nano, there is error reported as below.

[h264_cuvid @ 0x55a5fcb460] Cannot load libnvcuvid.so.1
[h264_cuvid @ 0x55a5fcb460] Failed loading nvcuvid.

How can I realize ffmpeg HW-Acceleration on Jeston GPU? Thanks!

Hi,
For clarification, hardware decoding on Jetson platforms is not on GPU. There is individual hardware engine NVDEC. For enabling it in ffmpeg, please look at developer guide, and this post:

Thanks for your answer.
When we run it, an error occured as below,
error: can’t open patch ‘0001-ffmpeg-Accelerated-hardware-decode-support-on-Jetson.patch’: No such file or directory

Is this related with jetpack version? Thank you so much for your help!

Hi,
You don’t need to build it yourself. Please try the steps:


Executing the steps should enable the hardware decoders.