good evening i have restored my jetson nano 4gb and installed the jetson-nano-jp461-sd-card-image.
i followed the guide to enable GPU acceleration in ffmpeg
https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/Multimedia/AcceleratedDecodeWithFfmpg.html
but i need to install the srt protocol but i don’t understand how to enable the srt library in ffmpeg.
I tried to download ffmpeg and then configure the library but then the acceleration doesn’t work anymore.
How can I solve this?
thanks
Hi,
Please refer to the posts to download source code of ffmpeg and manually built it on Jetson Nano:
Cannot build ffmpeg for Jetpack 4.6.1 - #3 by DaneLLL
Jetson TX2 and FFmpeg - Can't initialize nvrm channel - #5 by DaneLLL
thanks for the response
unfortunately i always have a problem when i compile everything.
to be clear i write you here my steps
sudo apt update
sudo apt upgrade
Install SRT
sudo git clone GitHub - Haivision/srt: Secure, Reliable, Transport
sudo apt-get install tclsh pkg-config cmake libssl-dev build-essential
sudo ./configure
sudo make
sudo make install
sudo ldconfig
after i apply this patch
echo “deb https://repo.download.nvidia.com/jetson/ffmpeg main main” | sudo tee -a /etc/apt/sources.list
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
cd ffmpeg-4.2.2
./configure --enable-libsrt --enable-nvv4l2dec --enable-libv4l2 --extra-libs=“-L/usr/lib/aarch64-linux-gnu/tegra -lnvbuf_utils” --extra-cflags="-I /usr/src/jetson_multimedia_api/include/”
make
and after a while I get this problem
how can i solve it?
thanks
Translated with DeepL.com (free version)
Hi,
Do you have a host PC to re-flash the Jetson Nano developer kit? We have validated the steps and these are supposed to work. Seems like your system may be tainted.