[FFmpeg-trac] #6929(ffmpeg:new): Incorrect spacing in the realtime progress indicators in shell

FFmpeg trac at avcodec.org
Mon Dec 25 06:57:26 EET 2017


#6929: Incorrect spacing in the realtime progress indicators in shell
----------------------------------+---------------------------------------
             Reporter:  ZexaronS  |                     Type:  enhancement
               Status:  new       |                 Priority:  wish
            Component:  ffmpeg    |                  Version:  git-master
             Keywords:  logging   |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Summary of the bug:

 Some minor stuff can be annoying, but not annoying enough to warrant quick
 response, this has been on my mind for quite some time and I took this
 opportunity to do something about it.

 I checked the source months ago, and again didn't (forgot) do anything at
 the time, but I still remember that the real time progress indicators are
 made up with several strings and when it all gets combined the spacing
 isn't consistent.


 My biggest issue is with the lack of space between the number and the
 unit.

 {{{

 frame= 1318 fps=126 q=2.0 Lsize=   24180kB time=00:00:53.60
 bitrate=3695.0kbits/s speed=5.14x

 }}}



 This is one way how I would prefer it:
 ([indicator]=[space]number[space]unit[space2x])

 {{{

 frame= 1318  fps= 126  q= 2.0  size= 24180 kB  time= 00:00:53.60  bitrate=
 3695.0 kbits/s
  speed= 5.14x

 }}}

 Or alternatively without =spaces

 {{{

 frame=1318  fps=126  q=2.0  size=24180 kB  time=00:00:53.60
 bitrate=3695.0 kbits/s
  speed=5.14x

 }}}


 Also, another bug, the "L" before "size=" appears after stopping the
 process with CTRL+C, also I don't remember if it also happens on normal
 finishing, right now I can't check since I'm running a very long one which
 won't be done for hours.

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6929>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list