mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
minor readability improvement
This commit is contained in:
parent
b5a2ebfb4c
commit
68b50b3ec0
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -121,6 +121,7 @@ def main(input_video, encoding_params, num_worker):
|
||||||
|
|
||||||
# Making list of commands for encoding
|
# Making list of commands for encoding
|
||||||
commands = [(f'-i {join(os.getcwd(), "temp", "split", file)} -pix_fmt yuv420p -f yuv4mpegpipe - |' +
|
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
|
# 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..')
|
print(f'Starting encoding with {num_worker} workers. \nParameters:{encoding_params}\nEncoding..')
|
||||||
|
|
Loading…
Reference in a new issue