[Libav-user] Calculate total encoding time

lekha mishra mishra.ni.lekha at gmail.com
Wed Oct 19 12:33:22 CEST 2011

*Hi all,

I am using ffmpeg+libx264 for video encoding.

My command is:

ffmpeg -y -i Test.mp4 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -b
 1200k -vpre default -crf 22 -async 1 -threads 0 -s 1920X1080 -aspect 4:3 -r
30 -ar 48000 outputFileName.m4v

How can I calculate total time of encoding, because I need to show the
progress bar which will represent the encoding progress.

If anyone has an idea, what is going wrong the please help.

-Thanks & Regards
Lekha Mishra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111019/8b277822/attachment.html>

More information about the Libav-user mailing list