Thanks for -l command line option, was “pretty useless” before that.
(my hookup 8-12 ffmpeg, was impsble too know whoiswho by just PID, now simple and beautiful)
But, another standard thing often missing is SHORT and LONG term speed average.
Most video-downld now in bursts of appr 2-10MB fragments,segments,chunks a 10s video
Even using a 32sec average doesnt really help as the segments too often come in bursts (from the segment list.
Perfect soluttion wld be SHORT and LONG TIME averages.
Somthng typ like 2s and 60s. Maybe a 10minute too?
I tend to use simple (but somehwat demanding) recursive filters, not “running averages”, actual “addition of last 1024 1s speed samples”.
Needs dbl precision, or floating point
out = (in-out)/N + out ; average over N samples, like 64,128..etc like rightshiffts.
same as a “servo style” out = error/N + out, where error=in-out.
Noting that division is a rightshift easy to understand one needs “dblprecision” with integers.
in-out goes “to upper” and then shifted log(N) positions down.
PS You can do a 2de order “average filter” too,
PPS My (now) old patent, now used in all audio,DSP etc hw and sw processing, hehe..