sigstop and x264 >> Other Musketeer Sports >> FORUM lowesmall.shop
FORUM lowesmall.shop

FORUM lowesmall.shop



SearchSearch   Users   Registration   Entrance
Today: 16.07.2025 - 14:59:52
Pages:  1  

sigstop and x264

Advertising


AuthorMessage

deedubb

main user




Statistics:
Messages: 582
Registration: 02.02.2003

Because FPS is defined as follows: FPS = frames_encoded / time_elapsed If you suspend the x264 process, it will stop encoding frames for obvious reasons. But this won't stop the universe. Time will move on ;) So if you resume the x264 process later, a lot of time has elapsed in which not one single frame was encoded. Consequently the FPS value will drop! The only easy way to "fix" this would be calculating FPS over an interval (e.g. the last minute) instead over the whole encoding process. But that would change the meaning of FPS! At the moment FPS is the average FPS throughout the whole encoding process.

---------------------
1st Force Reconnaissance Co. (USMC) 1998-2001
Message # 1 23.10.23 - 18:53:12
RE: sigstop and x264

speedlust

main user




Statistics:
Messages: 183
Registration: 08.31.2003

So even with a sigstop, the process can get the CPU power to calculate fps?

---------------------
Message # 2 23.10.23 - 19:00:19
RE: sigstop and x264

black318i

main user




Statistics:
Messages: 64
Registration: 12.31.2002

the underlying principle of why the fps drops on resuming is the following: x264 takes the clock time of when the processing started, and then takes the current clock time to generate a difference and then uses it in combination with the number of encoded frames to give you an average fps rate. the starting clock time won't change, so the difference from the starting lock time to the current continues to increase as time flows, whether x264 is allowed to process or not.

---------------------
Message # 3 23.10.23 - 19:10:55
RE: sigstop and x264

salvia.D

main user




Statistics:
Messages: 3,490
Registration: 10.09.2003

There's a patch written a while back (by Loren?) that should fix this: It probably needs some updating though.

---------------------
Message # 4 23.10.23 - 19:18:52
RE: sigstop and x264
Why is there a 1 sec. last cell on commercial DVDs? : Previous topicNext topic: Peak compressor how to
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants