Open lohqua opened 8 years ago
I'm trying to wrap ffmpeg
inside https://github.com/opsengine/cpulimit on FreeBSD but so far it's still using 100%:
mv /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg_raw
echo '/usr/local/bin/cpulimit --limit 20 /usr/local/bin/ffmpeg_raw "$@"' > /usr/local/bin/ffmpeg
chmod +x /usr/local/bin/ffmpeg
Could you try and see if this works?
Is there a way to limit the CPU usage when this gem starts up ffmpeg?
Just using the examples, ffmpeg will use 99% of the CPU making the rest of the app totally unresponsive.