Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is not using all cpus in processing #57

Open
nikhilesh12045 opened this issue Jan 7, 2021 · 1 comment
Open

This is not using all cpus in processing #57

nikhilesh12045 opened this issue Jan 7, 2021 · 1 comment

Comments

@nikhilesh12045
Copy link

nikhilesh12045 commented Jan 7, 2021

I tried to run the video generator on a 16 vcpus windows machine. But the cpu utilization is only 32% while the script is generating video. Is there a way to use all cpu while processing/rendering the video in the script. Do we have to program the script separately to use parallelism. Can any assist.Thanks.

@HA6Bots
Copy link
Owner

HA6Bots commented Feb 11, 2021

All rendering is handled by moviepy which is a wrapper for ffmpeg. There's an option to specify the amount threads in generatemovie.py for write_video, try changing that value and see if makes any difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants