-
Notifications
You must be signed in to change notification settings - Fork 27
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
advance use for api #19
Comments
I changed the signature of |
Could you give an example of for extracting only the progress number? |
I don't have the time to explain it fully but I used something like this
above command to get the total time
and used to above command to update the tkinnter interface |
To use a custom class ProgressBar(tqdm.tqdm):
def update(self, n):
super().update(n)
# now put here whatever code you need to update your
# GUI or whatever
# self.n is the current progress
# self.total is the total
ffpb.main(["-i", "input.mp4", "output.mkv", tqdm=ProgressBar) |
I needed to add self to make that work. Final code:
|
Hi
I want to send a progress bar percent and time estimation to my frontend app.
is it possible to get that in another python app and send it via socket to the frontend app?
could you demonstrate how?
The text was updated successfully, but these errors were encountered: