Using fully-accelerated hardware-based video decoding and encoding with FFMPEG on Jetson Nano

We don’t support ffmpeg with hardware acceleration on Jetson platforms. There is a community contribution. Please check FAQ
Q: Is hardware acceleration enabled in ffmpeg?

You may consider to use tegra_multimedia_api or gstreamer.

NVENC and NVDEC are independent hardware engines for video encoding/decoding. Please check Tegra X1 SoC Technical Reference Manual in