mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 10:40:51 +00:00
better pipes
This commit is contained in:
parent
0f744b0ce4
commit
3cb9cbfc9f
1 changed files with 0 additions and 2 deletions
|
@ -37,9 +37,7 @@ BaseManager.register('Counter', Counter)
|
||||||
def make_pipes(command):
|
def make_pipes(command):
|
||||||
|
|
||||||
f, e = command.split('|')
|
f, e = command.split('|')
|
||||||
f = " ffmpeg -y -hide_banner -loglevel error " + f
|
|
||||||
f, e = f.split(), e.split()
|
f, e = f.split(), e.split()
|
||||||
|
|
||||||
ffmpeg_pipe = subprocess.Popen(f, stdout=PIPE, stderr=STDOUT)
|
ffmpeg_pipe = subprocess.Popen(f, stdout=PIPE, stderr=STDOUT)
|
||||||
pipe = subprocess.Popen(e, stdin=ffmpeg_pipe.stdout, stdout=PIPE,
|
pipe = subprocess.Popen(e, stdin=ffmpeg_pipe.stdout, stdout=PIPE,
|
||||||
stderr=STDOUT,
|
stderr=STDOUT,
|
||||||
|
|
Loading…
Reference in a new issue