FFmpeg Progress Calculator

Calculate the remaining time for your FFmpeg encoding process based on the current progress and speed.

::

Get video duration using ffprobe:

$ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 <video file>
::

Find current time and speed in FFmpeg output:

frame= 4915 fps=2.8 q=32.6 size= 116992KiB time=00:03:18.62 bitrate=4825.1kbits/s speed=0.112x

Note: FFmpeg might show "speed=n/a" initially until it has processed enough frames to calculate accurate statistics.