I freshly installed jetpack 5.1.2 on my jetson xavier nx development kit through the sdk manager and I want to use hardware accelerated ffmpeg on it.
So I followed this tutorial to install ffmpeg and run it.
However, it report this error.
ffmpeg: error while loading shared libraries: libnvbuf_utils.so.1.0.0: cannot open shared object file: No such file or directory
Then I try to find this library under the directory /usr/lib/aarch64-linux-gnu/tegra
ls /usr/lib/aarch64-linux-gnu/tegra | grep libnvbuf_utils
As a result, it does not exist.
I used the sd card installation to write the os into tf card again but the error still exists.
OMG, after rolling back my system to jetpack 4.6, the ffmpeg apt source has already been broken.
The following packages have unmet dependencies:
ffmpeg : Depends: libaom0 (>= 1.0.0) but it is not installable
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.6 is to be installed
Depends: libcdio-cdda2 (>= 10.2+2.0.0) but 10.2+0.94+2-2build1 is to be installed
Depends: libcdio-paranoia2 (>= 10.2+2.0.0) but 10.2+0.94+2-2build1 is to be installed
Depends: libcodec2-0.9 but it is not installable
Depends: libgnutls30 (>= 3.6.12) but 3.5.18-1ubuntu1.6 is to be installed
Depends: libgsm1 (>= 1.0.18) but 1.0.13-4build1 is to be installed
Depends: libmysofa1 (>= 0.7~) but it is not installable
Depends: librubberband2 (>= 1.8.2) but 1.8.1-7ubuntu2 is to be installed
Depends: libsdl2-2.0-0 (>= 2.0.10) but 2.0.8+dfsg1-1ubuntu1.18.04.4 is to be installed
Depends: libsnappy1v5 (>= 1.1.8) but 1.1.7-1 is to be installed
Depends: libsndio7.0 (>= 1.1.0) but it is not installable
Depends: libssh-gcrypt-4 (>= 0.8.0) but 0.8.0~20170825.94fa1e38-1ubuntu0.7 is to be installed
Depends: libva2 (>= 2.2.0) but 2.1.0-3 is to be installed
Depends: libvidstab1.1 but it is not installable
Depends: libvpx6 (>= 1.6.0) but it is not installable
Depends: libwebpmux3 (>= 0.6.1-2ubuntu0.20.04.1) but 0.6.1-2ubuntu0.18.04.2 is to be installed
Depends: libx264-155 but it is not installable
Depends: libx265-179 (>= 3.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
In addition, does jetson_multimedia_api can be integrated into ffmpeg rtsp workflow? You know, ffmpeg libcodec cannot find libnvbuf_utils at present.
I must use the rtsp protocol in ffmpeg now.