-
Notifications
You must be signed in to change notification settings - Fork 10
fps display in the progress text should better be instant ? #9
Description
Hello @DJATOM !
Currently the progress text of x265 shows important information, all calculated properly, but it seems that fps is calculated as average from the beginning:
fps = (nb of frames processed since beginning) / (time elapsed since beginning).
This gives a idea of the global behavior in the process.
However, fps is a bench-marking information. It has to reflect current status of processing speed.
Let's say, there is suddenly another process launched on the computer, then the fps should almost immediately drop. But it doesn't because the fps is a long term average here. So, I suggest:
fps = (nb of frames processed on a sliding window, or in a buffer) / (time used to process those frames)
That of course, is in my humble opinion.
And thanks always for the great work!