hudl / HudlFfmpeg

Hudl.Ffmpeg framework
Apache License 2.0
112 stars 32 forks source link

How to limit the cpu usage #84

Open srivathsah opened 7 years ago

srivathsah commented 7 years ago

hi,

how can I limit the CPU used by the ffmpeg process, or how can I run the process with lesser priority, currently it is running with max cpu, I am just curious how this will be dealt with

Casey-Bateman commented 7 years ago

@srivathsah you could create a setting in your local project for the -threads option. This will restrict the number of threads that ffmpeg attempts to use.