Currently each subprocess.run uses a different thread. The ThreadPoolExecutor and deew itself also uses one. This creates a situation where the max workers is limited to the number of threads - 2 and you need at least 3 threads to encode even a single file.
Currently each
subprocess.run
uses a different thread. TheThreadPoolExecutor
and deew itself also uses one. This creates a situation where the max workers is limited to the number of threads - 2 and you need at least 3 threads to encode even a single file.