tomaszzmuda / Xabe.FFmpeg

.NET Standard wrapper for FFmpeg. It allows to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.

Home Page:https://xabe.net/product/xabe_ffmpeg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?