Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 4 down vote accepted

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

sp hkcu:console WindowSize 0x00190055 -t dword
sp hkcu:console ScreenBufferSize 0x03e80055 -t dword
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.