From 06598bd27a9db170bb9df6ac6e29c3759dbad07c Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Tue, 25 Feb 2020 21:03:11 +0200 Subject: [PATCH] fix --- av1an.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/av1an.py b/av1an.py index e3687ec..9f7c95d 100755 --- a/av1an.py +++ b/av1an.py @@ -34,7 +34,9 @@ class Av1an: def __init__(self): """ Av1an - AV1 wrapper for AV1 encoders + """ self.temp_dir = Path('.temp') + self.FFMPEG = 'ffmpeg -y -hide_banner -loglevel error' self.pix_format = 'yuv420p' self.encoder = 'aom' @@ -54,6 +56,7 @@ class Av1an: self.logger = logging.getLogger() self.logger.setLevel(logging.DEBUG) + def call_cmd(self, cmd, capture_output=False): if capture_output: return subprocess.run(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout