Time per frame is not matching with the total elapsed time

Issue #380 new
Gangadharan Esakki created an issue

Hi,

I am trying to calculate time per frame during encoding and found that flag --csv-log-level 2 does that. But when I verified the total elapsed time it is not equal to the total summation of individual time per frame. I know its something to do with the threads so I reduced the frame threads to 1 but its still not matching with it. I found that the time per frame is calculated based on Time_per_Frame (ms) = RowWait + WallTIme +DecideWait all in (ms)

Is there any other different calculation based on the threads? Could someone help me on this. I have attached the CSV file.

Comments (1)

  1. Mythreyi Pugazhendhi

    Hey Gangadharan,

    Total elapsed time is the time taken by the encoder to encode the entire video which includes reading the input etc., while time per frame is the time taken to encode that particular frame(Life of that frame in the encoder). Hence total elapsed time will not be equal to the sum of the individual time per frame.

    Thanks.

  2. Log in to comment