-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Thoughts on re-routing tqdm progress bar for external use? #412
Comments
see no reason why we shouldn't. |
I think the best way to do it would be to add a "progress_callback" parameter to "write_videofile". This parameter would be a function which will be run that would be run inside the main loops of "write_audiofile" and "write_videofile".
This would enable to do a lot of things such as sending the progress back to a web client, and even get a preview of what is being written down, as it is being written down. |
Another related issue #278 |
Implemented in v1.0. See #1020 |
Hi @Zulko, I am new to moviepy and using it to in my backend django project to process videos but I need to show the progress of writefile in my clinet and I see that we can add progress_callback but can you please elaborate it a bit. I am not able to find anything on how to implement this thing. Thanks |
Do we have any thoughts on adjusting the tqdm iterator in
write_videofile
to re-route progress bar elsewhere e.g. tkinter widget?So it can by other threads/processes in the same program...
See here, here, here and here for interest
The text was updated successfully, but these errors were encountered: