pcroland / deew

Dolby Encoding Engine Wrapper
https://deew.dev
MIT License
202 stars 21 forks source link

Remove threading limitation (asyncio?) #20

Closed pcroland closed 2 years ago

pcroland commented 2 years ago

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.

pcroland commented 2 years ago

turned out it was a DEE limitation, improved in f123ee65dd81afccd0e56dbd88ce6e6a76a87e9e