time interval between every two frames
Hi, I found that the time interval between every two frames is unstable during real-time screen capture and display. For example, when fps is 60, 60 valid frames can be captured within one second, but the time interval between every two frames can be 8-9ms or 18-19ms. Is there any method to precisely control the time interval? Thank you!
There's no mechanism to control the precise update interval, as that's controlled by the system compositor's scheduler. You can set the MinUpdateInterval property, but that will only set a minimum. We may issue updates at larger intervals if nothing changes for that window/screen.
With that said, there is some cleanup I need to do around time stamps. What build of Windows are you seeing this on?
Thank you for your reply. I found the problem on Windows 10 22H2. Do you mean the screen capture and display process can achieve over 60fps when the fresh rate is 60HZ by setting the MinUpdateInterval property?
The MinUpdateInterval property is a throttling mechanism. Again, it is a minimum, not a maximum.
No MinUpdateInterval, capture display and open one Window APP. Can I say the minimum interval is follow display refresh rate?