Jetson Orin Nano ffmpeg Not using GPU

I installed it this way
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
sudo apt install ffmpeg
I am using ffmpeg - c: v h264_ nvv4l2dec-i test.mp4 a.yuv command, it is displayed through jtop that the GPU is not being used,How should I perform hardware decoding and streaming of ffmpeg on orin nano?

ffmpeg -hwaccels
print libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Hardware acceleration methods:
vdpau
vaapi
drm
opencl

Hi,
It does not use GPU for hardware decoding since there is individual hardware decoder named NVDEC. Please execute sudo tegrastats while running the ffmpeg command. You shall see the engine up and running.

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