Stuttering on stream and local record

Xunkar

New Member
Whether on stream or on local record, OBS video output is exhibiting severe micro-stutters. They last about 1 second and are visible every 16–18 seconds. Here is a test video where the stuttering can be seen around the 1 second mark and the 18 second mark. https://www.youtube.com/watch?v=wfBo3n3Drlo Log file of said recording is attached. As you can see OBS does not report any rendering or encoding lag, no CPU nor GPU overload is happening either, far from it. Furthermore the game was not stuttering on my end, but the issue is visible on OBS preview even without streaming or recording.

I've had this issue for a while, but thought it was a hardware issue for the longest time. Changed my GPU, CPU, mobo, RAM, one at time but the issue remained. Windows has been updated, and OBS kept up to the latest stable release. It's consistent, yet I can't find any reason why this would be happening except that at regular intervals, frames seem to take too much time to process or frame timings are wrong and result in this mess. The only odd thing I can see in the log would be this difference

Output 'adv_file_output': Total frames output: 1481
Output 'adv_file_output': Total drawn frames: 1494

And at the same time the Stats windows reported 0 frames lost due to rendering or encoding lag so I don't know, it might be expected. Any help is very appreciated, I'm completely lost at this point, thank you.
 

Attachments

  • 2022-03-15 17-08-41.txt
    13.7 KB · Views: 5

Xunkar

New Member
Heads up, I've zeroed in on the issue, with video evidence: https://www.youtube.com/watch?v=PUL8_RoKO5U

I have a window capture in front and a media source in the back. The video in the media source is 60 fps, the game being captured is a constant 60 fps (you can see the fps counter in the window title) and OBS capture output is 60 fps. Now, watch in 0.25 speed and you will clearly see that the capture is dropping severly (a lot of duplicate frames precisely) while the video playback is smooth. So clearly, this is not an encoding or rendering issue. It's not an hardware issue either because the game is running smoothly (no drop on the monitor) and I've reproduced this behavior on two different computers.

Like I said this is a window capture, Windows 10 method (BitBlit is unable to capture anything), but the issue also happens with a display capture, and a game capture. I've tried fiddling with all of the game capture settings: hook rate, sli mode on/off, etc. the issue remains no matter what and no matter the capture used. I have no other scenes in OBS so no bloating either. So what is going on exactly?
 
Top