Cannot build ffmpeg for Jetpack 4.6.1

Hi,

I followed the ffmpeg building instruction in https://forums.developer.nvidia.com/t/jetpack-5-1-2-error-while-loading-shared-libraries-libnvbuf-utils-so-1-0-0/268992/9,but get error “fatal error: nvbufsurface.h: No such file or directory”.

Although I’ve found that header in my device, but the building still failed and the error goes to like “implicit declaration of xxx”.

Is this because while my jetpack version is 4.6.1 and it uses “nvbuf_utils” api, the latest ffmpeg src code uses “NvUtils” api and thus causes the building error?

If so, how can I get the older version of ffmpeg src code which supports hardware acceleration decoding?

Here is my jetson-release:

Hi,
Please try the commands to fetch the package for Jetpack 4:

$ echo "deb-src https://repo.download.nvidia.com/jetson/ffmpeg main main" |  sudo tee -a /etc/apt/sources.list
$ sudo apt update
$ apt source ffmpeg=7:4.2.2-nvidia

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.