Open yaljazairi opened 1 year ago
How could we get the value of the estimated time left until rendering is finished
I don't believe Proglog enables this for now, two possible ways to solve this would be
tqdm
attributes from which we can read the bar's estimated remaining time, then extend the TqdmProgressBar
(with a subclass on your side, or with an MR). Not sure how feasible this is.velocity = loops_since_last_iterations / duration_since_last_iteration
estimated_time = number_of_iterations_left / velocity
I was using
MoviePy
to concatenate some videos with each other and reached the point when I must get the percentage values of the progress bar. After searching for a solution I concluded that it was using thedefault_bar_logger
in order to show Rendering process in bars view.For this reason I inherited the
ProgressBarLogger
in a Python class and could until now only get the percentage value of rendering. The question is: How could we get the value of the estimated time left until rendering is finished (which comes between [ ]. e.g:02:05<05:00
)?Here's the implemented logger:
Output:
For now I'm only able to get the percentage value correctly but have no idea how to reach estimated time left!
I would appreciate your help for this matter. Thanks in advance!