From 0b2752da0f920ba16901e5439af243b3dccdc801 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Fri, 14 Feb 2020 10:29:15 +0200 Subject: [PATCH] Less determined workers for aom/rav1e --- av1an.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av1an.py b/av1an.py index 4e19ae6..0ec24ba 100755 --- a/av1an.py +++ b/av1an.py @@ -145,7 +145,7 @@ class Av1an: ram = round(virtual_memory().total / 2 ** 30) if self.encoder == 'aom' or self.encoder == 'rav1e': - self.workers = ceil(min(cpu, ram/1.5)) + self.workers = ceil(min(cpu/2, ram/1.5)) elif self.encoder == 'svt_av1': self.workers = ceil(min(cpu, ram)) // 5