Hardware acceleration when calling ffmpeg for re-encoding
Currently video-trimmer spawns ffmpeg
in the background with default parameters.
This usually takes up all the CPU resources available on the system, which is undesirable as it causes system-wide lag (especially in other CPU latency sensitive apps like games).
On most modern systems there are hardware acceleration options available, see this comparison table.
It'd be nice if Video Trimmer implements some auto-detection logic (e.g. based on what libva
exposes as hardware accelerators) and then if available, encodes using the hardware-accelerated paths in ffmpeg.
Edited by Ewout van Mansom