Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I do a lot of video editing and processing, and spend a lot of time looking at the output of command line programs like ffmpeg. Ffmpeg produces a regular output of the form

frame=1234 fps=80 q=-1.0 size= 23456kB time=1234 bitrate=280.0kbits/s
frame=1237 fps=80 q=-1.0 size= 23678kB time=1258 bitrate=280.0kbits/s

my question is, is there a command line program that could automatically graph the output of this (preferably live)? so you could write

ffmpeg -i inputfile.avi -lotsofoptions -outputfile.avi > graphprogramorsomething

and it would produce a nice chart showing how the fps and things varied throughout the whole process.

Not really a mission critical request but would make the wait much nicer...

share|improve this question
up vote 2 down vote accepted

I don't know about the generation being done "automatically", but you can certainly automate it.

Gnuplot might be your best bet.

Here's a brief tutorial.

Here's another method to extract some data from ffmpeg:

xgraph and ploticus might also be of use.

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.