FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

time left and time elapse

Open smtad opened this issue 10 months ago • 2 comments

Currently time elapsed counting is using real time elapsing. If I pause encoding or let computer sleep, time still elapsed.

It causes wrong calculation of Time left, if I wake up computer or resume to encode after some time.

It's better to use real-encoding time than real-time.

smtad avatar Feb 18 '25 05:02 smtad

These calculations are based off the "time" field we get back from ffmpeg roughly every second frame= 488 fps= 47 q=30.3 size= 3584KiB time=00:00:08.10 bitrate=3621.1kbits/s speed=0.786x so that time field and the start time of the encode.

To achieve this improvement it would need to save how long it was running when paused, and then when unpaused fake the start time to account for the difference. It's a nice to have, but not something I can prioritize myself, would appreciate a Pull Request for it.

cdgriffith avatar Feb 21 '25 03:02 cdgriffith

ffmpeg doesn't show any correct number for more than 1 year now...

Image

GeZorTenPlotZ avatar Feb 26 '25 08:02 GeZorTenPlotZ