#11582: Please add an option to make the new "elapsed" stat optional
-------------------------------------+----------------------------------
             Reporter:  Anton1699    |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Comment (by forthrin):

 Timely that this should come up now, as I wrote a progress bar just a few
 days ago.

 Fundamental principles for a good progress bar:

 - Present the most relevant information for the user
 - Stay within Terminal width (`ws_col`) as to prevent flooding

 A `-stats-fields` variable might be a good idea, albeit cumbersome having
 to specify for every use.

 An alternative is to remove elements in order of importance as window
 shrinks (like UI toolbars).

 The progress bar now boasts a rather hefty set of variables:

 - frame=1080
 - fps=0.0
 - q=-1.0
 - size=116KiB
 - time=00:00:17.96
 - bitrate=52.8kbits/s
 - (dup)
 - (drop)
 - speed=51x
 - elapsed=0:00:00.35

 Personally, my only questions when converting files are:

 - How large will it be
 - How long will it take (and when done, how long did it *actually* take)
 - Name of current file being converted

 Which formed the basis for the attached implementation.

 Progress visualization could be separated into `progress.c` so people
 could [https://github.com/curl/curl/pull/2242 get creative] with different
 implementations.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11582#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to