How to make `ffmpeg` use GPU mostly for reducing file sizes?
2
votes
1
answer
358
views
I'm on
Debian 12
& I'm using a ryzen 5600H with integrated graphics + Nvidia 1650
setup & I'm running the following command
ffmpeg -y -hwaccel cuda -i input.mp4 -vcodec libx264 -crf 24 output.mp4
But this mostly uses CPU
, as I can see all of the 12
threads are getting to 100%
and bloating other tasks. How can I make ffmpeg
use my NVIDIA GPU
mostly for this task?
I have searched through various posts before, but they all seemed to be very outdated, and the ones I was able to make work destroyed the quality.
Asked by Saikat Karmakar
(123 rep)
May 1, 2025, 08:24 AM
Last activity: May 4, 2025, 10:50 AM
Last activity: May 4, 2025, 10:50 AM