Comment to Slowing down video processing
-
in UNA it's already possible to set threads limit (-threads param), all you need is put something like this into your inc/header.inc.php
define('BX_SYSTEM_FFMPEG_THREAD', 2); // 2 threads limit-
Hi @Alex T⚜️ , Great to know that. How many threads are used by default without the threads limit setting above? Also what would be the Pros and Cons of setting it to '1', from a video conversion and server load perspective?
-
It varies depending on number of CPU cores/threads and the codec used. Setting it to 1 may cause longer encoding time, but less CPU load in some situations.
-
-