本文主要是介绍在NVIDIA jetson中使用jetson-ffmpeg调用硬件编解码加速处理,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
目录
1 build and install library
1.1 报错 Cannot found LIB_NVBUF
2 patch ffmpeg and build
参考文献:
1 build and install library
git clone https://github.com/Keylost/jetson-ffmpeg.git
cd jetson-ffmpeg
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
安装位置为默认位置
make install
[ 50%] Built target nvmpi_static
[100%] Built target nvmpi
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libnvmpi.so.1.0.0
-- Installing: /usr/local/lib/libnvmpi.so.1
-- Set runtime path of "/usr/local/lib/libnvmpi.so.1.0.0" to ""
-- Installing: /usr/local/lib/libnvmpi.so
-- Installing: /usr/local/include/nvmpi.h
-- Installing: /usr/local/lib/libnvmpi.a
-- Up-to-date: /usr/local/include/nvmpi.h
-- Installing: /usr/local/share/pkgconfig/nvmpi.pc
-- Installing: /usr/local/lib/pkgconfig/nvmpi.pc
这篇关于在NVIDIA jetson中使用jetson-ffmpeg调用硬件编解码加速处理的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!