Log in

View Full Version : Monitoring FFMPEG


JonE
19th December 2008, 12:02
Hope I'm posting in the right section ...

I'm writing an application that might use Ffmpeg to do video encoding.

Whilst encoding I'd like to display a progress bar, any ideas how I might do this ? One idea would be to get the current read position of the input file being used by Ffmpeg (lots or messing with processes and handles and other general pain) but in this instance that won't work since my input would be an Avisynth script.

Any ideas how to do this ?

TTFN,
Jon

Selur
19th December 2008, 14:58
if you use a binary via command line you could parse the std::err output,...

JonE
19th December 2008, 17:30
Er ...ah! I see ! Hadn't realised you can capture output from another app (or at least a console app).

This looks like just the ticket:-
http://www.hoogervorst.ca/arthur/?p=2009

TTFN,
Jon