Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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: http://forums.creativecow.net/thread/291/71

xgraph and ploticus might also be of use.

share|improve this answer
add comment

Your Answer

 
discard

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.