run ffmpeg command with 'taskset' in linux
Alirexaa opened this issue · comments
is there any way to run FFmpeg command with taskset
?
why ? Because ffmpeg uses all available CPU cores and with the taskset
command we can restrict FFmpeg to a specific CPU core or a group of CPU cores
. For example :
taskset -c 0 ffmpeg -i input.mp4 output.mp4
this command restricts ffmpeg to using first CPU core
Hello,
Isn't UseMultiThread enough?