

Make sure you read the following man pages using the man command: Mine is a consumer-grade GPU, but no doubt data center or professional-grade NVIDIA GPU gives even better performance. $ time /usr/local/bin/ffmpeg -hwaccel cuda -y -i /tmp/input.mkv /tmp/out.mp4 $ time ~/ffmpeg/ffmpeg -hwaccel cuda -y -i /tmp/input.mkv /tmp/out.mp4 Time command outputs with CPU used: realđm40.678sĪlso note down the speed: frame= 7320 fps= 73 q=-1.0 Lsize= 58306kB time=00:02:02.03 bitrate=3914.0kbits/s speed=1.22xĪnd now same file with NVIDIA GPU acceleration (note the path, I am calling the compiled version): $ time /bin/ffmpeg -y -i /tmp/input.mkv /tmp/out.mp4


In this example, I am converting input.mkv to out.mp4 as follows without using GPU acceleration: Related: Top 7 Linux GPU Monitoring and Diagnostic Commands Line Tools Result
