[FFmpeg-user] How to determine progression

Robert Krüger krueger at lesspain.de
Tue May 21 12:51:28 CEST 2013


On Tue, May 21, 2013 at 12:00 PM, Molly Millions
<mollyrazormillions at gmail.com> wrote:
> Well, redirect the output to a file:
>
> ffmpeg -i whatever.mp4 ....... output.mp4 >>
> '/var/tmp/convert/CONVERTID.log' 2>&1
>
> And whenever you need to get the progress, just read the contents of
> /var/tmp/convert/CONVERTID.log.
>
> Getting the progress is done by parsing the Duration: at the very beginning.
>
> Duration: ***00:00:14.67***, start: 0.000000, bitrate: 989 kb/s

You're right. No need to do this in a separate step.


More information about the ffmpeg-user mailing list