From 3cb9cbfc9f3cca6df8a1384f297c267e481fefe4 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Thu, 23 Jul 2020 01:25:42 +0300 Subject: [PATCH] better pipes --- Av1an/bar.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Av1an/bar.py b/Av1an/bar.py index 2507c9b..8512a72 100755 --- a/Av1an/bar.py +++ b/Av1an/bar.py @@ -37,9 +37,7 @@ BaseManager.register('Counter', Counter) def make_pipes(command): f, e = command.split('|') - f = " ffmpeg -y -hide_banner -loglevel error " + f f, e = f.split(), e.split() - ffmpeg_pipe = subprocess.Popen(f, stdout=PIPE, stderr=STDOUT) pipe = subprocess.Popen(e, stdin=ffmpeg_pipe.stdout, stdout=PIPE, stderr=STDOUT,