Opened 4 years ago

Last modified 4 years ago

#2349 open defect

Windows, continuously write progress on one line

Reported by: svnpenn Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: win
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


When encoding FFmpeg prints a new line every second with the progress, example

frame= 31 fps=0.0 q=0.0 size= 152kB time=00:00:00.72 bitrate=1726.3kbits/s
frame= 59 fps= 57 q=0.0 size= 175kB time=00:00:01.90 bitrate= 751.1kbits/s
frame= 89 fps= 58 q=0.0 size= 204kB time=00:00:03.04 bitrate= 549.8kbits/s

With a large file these lines can quickly fill the console screen. I would like to see the progress on one line if possible, that is to say each second the same line is overwritten with the updated progress.

Change History (4)

comment:1 Changed 4 years ago by Cigaes

Did you try to make your console slightly larger?

comment:2 Changed 4 years ago by svnpenn

Ha! That did it.

comment:3 Changed 4 years ago by svnpenn

At least with Windows, FFmpeg requires 85 columns to print progress correctly. I set this using the registry

reg add "hkcu\console" -v WindowSize? -d 0x00190055 -f -t reg_dword
reg add "hkcu\console" -v ScreenBufferSize? -d 0x03e80055 -f -t reg_dword

Version 1, edited 4 years ago by svnpenn (previous) (next) (diff)

comment:4 Changed 4 years ago by cehoyos

  • Keywords win added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.