[FFmpeg-devel] [PATCH] ffmpeg: extend -benchmark_all option to show elapsed time

Stefano Sabatini stefasab at gmail.com
Wed Jan 27 19:27:12 CET 2016


On date Wednesday 2016-01-27 13:56:38 +0100, James Darnley encoded:
> On 2016-01-11 18:21, Stefano Sabatini wrote:
> > +This option shows the following information for each processing step,
> > +in this order: the user process time (in microseconds), the elapsed
> > +relative time (in microseconds), the processing step type, and the
> > +relative stream.
> 

> What is "relative time" in ffmpeg and how does the new time printed
> differ from the old time?

Relative time is time computed not relying on an absolute clock - also
called wallclock - which is not reliable when computing elapsed times
since it is affected by system time changes.

I can drop the "relative" since in this context it's confusing, since
it simply refers to the operation duration.

Since this is the physical duration it is more handy when estimating
the effective time required to perform a similar conversion operation.
-- 
FFmpeg = Fantastic Furious Monstrous Purposeless Educated God


More information about the ffmpeg-devel mailing list