Question / Help A rather Inconsistent micro-stutter issue when screen recording a video

Semel

Member
I've been having this strange issue for quite some time.

When you screen record,say, youtube videos at their original frame rate (23.976 or 25 fps for instance, and you have to record them like this to avoid stutter) these recordings get some kind of micro-stutter quite often regardless of a properly chosen framerate. It happens both in display and window mode but only in a window mode you can see it in real-time via OBS preview.

CPU usage when encoding doesn't affect it. I saw this happening even at very low CPU usage and when recording via GPU. Settings do not affect it. I tried changing OBS priority,I tried setting ,say, 25 fps as 25000/1000 etc . Nothing I've done has ever fixed it permanently..

Sometimes it starts happening right from the very beginning of a recording. Sometimes it starts having micro-stutters after 15-30 minutes.

Visually it looks as if every X seconds'\minutes frames get dropped\lagged but OBS has never reported about any lagged frames or anything when it happened

It gets kinda fixed (but not always and often just for X minutes) if I alt-Tab back to browser, pause a video and then start it again and quickly switch back to OBS.

The problem occurs when I use fractional or integer fps(obviously, as I need 23.976 or 25 fps)

I wouldn't even consider starting a thread about this issue if it was consistent but the problem inconsistent

Has anyone else ever had something like this?

PS My monitor is working at 60Hz via display port., i7 3770k @ 4.4 16GB, amd fury

Any help or advice would be greatly appreciated.

Thanx

PPS I've just had another trial run and this time I've managed to record 35 out of 45 minutes without this micro-stuttering and then it started happening again..Overall CPU usage was less than 20% as it had been throughout the whole encoding process.
I stopped the recording but I kept preview alive and it kept showing me this issue.

I don't even have to start encoding for it to happen, just watching preview is enough to see it.
 
Last edited:

Semel

Member
Unfortunately it doesn't seem to help. I tried it already and I still get these "dropped" frames often

I read somewhere that it has something to do with me trying to screenrecord 23.976\25 fps video on my 60 refresh rate monitor and that to complete avoid this from happening I need to set my refresh rate to, say, 72(seeing as you can't force 24 or 25 refresh rate) for instance(for 23.976 material). Sadly my monitor only works at 60 refresh rate and can't be overclocked.

I was thinking about a workaround..recording at 60 fps using lossless mode and then somehow converting it to the original fps during a final encoding. Is it even possible?
 

Abdo

Member
I don't really know, I am just a user like u, but what I know for sure is that in order to avoid stuttering at all u have to disable preview and set ur framerate to be exactly the same as ur refresh rate, sometimes even when recording on 60hz screen the actual framerate is something like 60.78 for an example, so check online to see the refresh rate of ur screen, disable preview and see what happens.
 

Semel

Member
I still think some extensive testing needs to be done in regard to screen capturing. I can even volunteer as I have time to run tests

I've just tried to record another youtube video ;) at 25 fps , a "short" film and first 10 minutes were fine but then obs started dropping frames(at least it's what it looked like). Settings do not affect it as well as cpu load. The same happens with GPU capture.

It can happen within minutes or after 25-30 minutes. It seems to be happening randomly. It can start happening if you simply alt-tab to browser and back.

OBS log didn't report any lagged frames.
 
Top