Ffmpeg with CUDA acceleration

Hi,

I have this jetson nano:
NVIDIA Jetson Nano (Developer Kit Version)
L4T 32.5.1 [ JetPack 4.5.1 ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.201-tegra
CUDA 10.2.89
CUDA Architecture: 5.3
OpenCV version: 4.1.1
OpenCV Cuda: NO
CUDNN: 8.0.0.180
TensorRT: 7.1.3.0
Vision Works: 1.6.0.501
VPI: ii libnvvpi1 1.0.15 arm64 NVIDIA Vision Programming Interface library
Vulcan: 1.2.70

I want to build a ffmpeg with CUDA support similar to this website . However, if I try to encode a video using h264_nvenc, it seems to be missing the library libnvidia-encode.so.1. So far, I was only able to install a stub for this library from the Video SDK, but this is only for development but not actual encoding. I am a bit lost between JetPacks, F4T, SDKs etc and spend several hours searching.

Could someone tell me how to get the actual version of this library for my nano?

Kind regards,
Robin