i am using jetson agx board, and i want to Accelerated Decode with ffmpeg hw decoder, i download ffmpeg library in L4T builds according to the link:
- run the command
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
- and then i found the download ffmpeg example at /usr/share/ffmpeg/examples/
and compiler the hw_decoder.c
- run hw_decoder bin file, ./hw_decode cuda …/…/video/sample_0.mp4 output.yuv
but i get the error : Decoder h264 does not support device type cuda.
why this happend, hope for your answer, thanks!