admin管理员组

文章数量:1323029

When I execute a command with "-benchmark" I can get some information like rtime, utime, stime which are real time, user time and system time respectively. But I can't understand what are they exactly? Because as I know, the real time is the wall clock which means the time that the whole process needs.

And there is another time at the end of the command.

Like below:

What is the difference between them? time: 00:00:00.16 rtime: 0.197s

When I execute a command with "-benchmark" I can get some information like rtime, utime, stime which are real time, user time and system time respectively. But I can't understand what are they exactly? Because as I know, the real time is the wall clock which means the time that the whole process needs.

And there is another time at the end of the command.

Like below:

What is the difference between them? time: 00:00:00.16 rtime: 0.197s

Share Improve this question edited Jan 15 at 4:23 nojob asked Jan 15 at 1:12 nojobnojob 172 bronze badges 1
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Jan 16 at 19:40
Add a comment  | 

1 Answer 1

Reset to default 0

As I understand,

rtime: It's the actual time taken to process the media utime: It shows the time spent in user-mode. It's cpu processing time.

For time, I have questions. What's the total length of the media? What time is showing after ffmpeg completed?

Here is the source code of it: https://github/ffmpeg/ffmpeg/blob/master/fftools/ffmpeg.c#L998

本文标签: ffmpeg difference between time and rtimeutimeStack Overflow