From 68b50b3ec028bfa4692d7b852247913acbf2a8ac Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Sat, 11 Jan 2020 01:49:32 +0200 Subject: [PATCH] minor readability improvement --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 8609fc4..ee31a70 100644 --- a/main.py +++ b/main.py @@ -121,6 +121,7 @@ def main(input_video, encoding_params, num_worker): # Making list of commands for encoding commands = [(f'-i {join(os.getcwd(), "temp", "split", file)} -pix_fmt yuv420p -f yuv4mpegpipe - |' + + f' aomenc -q {encoding_params} -o {join(os.getcwd(), "temp", "encode", file)} -', file) for file in files] # Creating threading pool to encode fixed amount of files at the same time print(f'Starting encoding with {num_worker} workers. \nParameters:{encoding_params}\nEncoding..')