Closed Washington-DC closed 2 months ago
In Jetpack 5.1, the interface has changed. How should I modify it?
This library supports the new API. The nvbuf_utils library was present in versions of jetpack before 5.1.2, but was completely removed in this version. This library is no longer needed for the build. Just comment out the find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra) line in CMakeLists.txt and it should work :) I'll update the master branch a little later.
This library supports the new API. The nvbuf_utils library was present in versions of jetpack before 5.1.2, but was completely removed in this version. This library is no longer needed for the build. Just comment out the find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra) line in CMakeLists.txt and it should work :) I'll update the master branch a little later.
Awesome, thank you. Finally my journey of running hw encoding on jetson orin AGX with ffmpeg has ended on this single comment! Finally
I got it . Thank you
知道了。谢谢
你好 很想知道您是怎么编译成功的 使用的ffmpeg的版本是多少呢?
This library supports the new API. The nvbuf_utils library was present in versions of jetpack before 5.1.2, but was completely removed in this version. This library is no longer needed for the build. Just comment out the find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra) line in CMakeLists.txt and it should work :) I'll update the master branch a little later.
thkx
in a one line. (jetpack 5.1+)
sed -i '/find_library(LIB_NVBUF nvbuf_utils PATHS \/usr\/lib\/aarch64-linux-gnu\/tegra)/s/^/#/' CMakeLists.txt
Fixed it :)
Logs:
` -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIB_NVBUF linked by target "nvmpi" in directory /home/tyiot/jetpack-ffmepg/jetson-ffmpeg `
I am using Agx Orin, Jetpack version 5.1.2,When I was compiling, I encountered this issue。