After installing FFmpeg through “sudo apt install ffmpeg” on Xavier, what ffmpeg command line can be used on AGX to use the NVENC/NVDEC for H.264 and H.265 HW acceleration? For example the following commands can be used on PC Host:
ffmpeg -f rawvideo -s:v 2880x1860 -r 10 -pix_fmt yuv420p -i input.yuv -vcodec h264_nvenc -preset llhq -level 5.1 -maxrate 15000k -minrate 13000k -cq 20 -g 15 -vsync 0 output-264.mp4 -y
ffmpeg -f rawvideo -s:v 2880x1860 -r 10 -pix_fmt yuv420p -i input.yuv -vcodec hevc_nvenc -preset llhq -level 5.1 -maxrate 15000k -minrate 13000k -cq 20 -g 15 -vsync 0 output-265.mp4 -y
What are the related commands can be used for the same or similar functions on AGX?