Skip to content

Preview Stutter that appears in Streams/Recordings #4191

Open

Description

@Zakkaruu

Platform

Operating system and version: Windows 10 20H2
OBS Studio version: 26.1.1

Expected Behavior

Display a non-stuttering image if the source is not stuttering and resources are not constrained.

Current Behavior

After an indeterminate amount of time, the preview window will begin stuttering, irrespective of capture method (Window, Display, Game). This stuttering will make its way into the stream and/or recording.

Steps to Reproduce

  1. Open OBS
  2. Create Game/Window/Display capture, depending on source
  3. Watch the preview for stutter (usually about 5-10 minutes before it shows up in my case)
  4. Stutter appears

Recording of Behavior
This recording was made with a second instance of OBS. I thought there was some correlation by running two instances that the stutter went away, but this instance also experienced stutter, albeit, far later on.
Log from Stuttering OBS Instance shown
Timestamps: At the beginning and again at 2:20.

Recording of Stutter Behavior
Log from Recording

Another Recording from a completely different machine at another location.
2021-02-04 19-56-16.txt

Laptop Recording with the same exact issue.
2021-02-04 21-13-15.txt

Additional information

In my video, I am using the following link: TestUFO.
I have also made an imitation of this pattern as an MP4 for use in a video player supporting D3D11 (Potplayer).

The stuttering will eventually cease and reappear after different periods of time. However, if you change the profile in-use during the stuttering, it goes away...and eventually reappears. The behavior shows up significantly faster when using I444 color format; NV12 still does it, but it takes MUCH longer to appear..I waited probably about 15-20 minutes on NV12 vs about 5-10 with I444. This happens in games and really anything being captured, I chose the test pattern because it makes it easy to see.

I have used nSight Graphics/Systems and GPUView, but there does not seem to be a correlation with anything else going on. This has been tested on two different systems thoroughly. On one of the test systems, I did a fresh install of Windows, installed only necessary drivers/chipset drivers, OBS, Steam, and one game.

I believe this issue is related to the following forum topics:
https://obsproject.com/forum/threads/persistent-stutter-issue-tried-everything.137045/
https://obsproject.com/forum/threads/stutter-in-stream-preview-no-rendering-encoding-lag.114986/
https://obsproject.com/forum/threads/random-stuttering-in-preview-which-goes-into-recorded-videos.77744/
https://obsproject.com/forum/threads/obs-preview-stutters-while-not-recording.106424/

I am willing to be a test dummy for this, just let me know what you need from me.

Additional Examples

Vermintide II Gameplay Example

Activity

  1. Fenrirthviti commented on Feb 4, 2021

    @Fenrirthviti
    Member

    Potential duplicate of #4117? I am unable to replicate either situation, I suspect this is a system/environment issue more than an OBS issue. However, I am just one test case, if there are others who can test and attempt to replicate that would be helpful to narrowing down what might be going on.

  2. Zakkaruu commented on Feb 4, 2021

    @Zakkaruu
    Author

    I forgot to post timestamps for the first recording. It first occurs right at the beginning, and then again around 2:20.

  3. Adega-Studio commented on Feb 5, 2021

    @Adega-Studio

    I confirm and 3 of my friends with different hardware and all have almost the same stuttering. As in my post on the video. I changed everything in my PC and the result is the same. I'm sure 98% this is OBS and 2% my monitor, did not change.

  4. Fenrirthviti commented on Feb 5, 2021

    @Fenrirthviti
    Member

    A few of our support team were able to replicate, but I can't make any promises in to how long it will be until we can devote time to digging in to what the cause of this might be, as it doesn't seem to affect everyone.

  5. Adega-Studio commented on Feb 5, 2021

    @Adega-Studio

    This is for everyone, but not everyone writes about the problem.

  6. Zakkaruu commented on Feb 5, 2021

    @Zakkaruu
    Author

    I understand, thank you all for looking into this.

  7. fatmatrow commented on Feb 6, 2021

    @fatmatrow

    I'm also having this problem on 2 separate computers. Also willing to contribute whatever is needed

  8. fatmatrow commented on Feb 6, 2021

    @fatmatrow

    A few of our support team were able to replicate, but I can't make any promises in to how long it will be until we can devote time to digging in to what the cause of this might be, as it doesn't seem to affect everyone.

    I have two computers with the issue, I'm willing to run whatever tests etc are needed, I have the free time.

  9. WizardCM commented on Feb 6, 2021

    @WizardCM
    Member

    If you're able to reproduce this issue, please include a session log. While it won't provide any details about the actual source having issues, it'll help us determine what combinations of hardware are more likely to have the issue.

  10. fatmatrow commented on Feb 6, 2021

    @fatmatrow
  11. fatmatrow commented on Feb 7, 2021

    @fatmatrow

    If you're able to reproduce this issue, please include a session log. While it won't provide any details about the actual source having issues, it'll help us determine what combinations of hardware are more likely to have the issue.

    https://obsproject.com/logs/5ReRr6FDButiGDIV

  12. deleted a comment from htlary on Feb 7, 2021
  13. Adega-Studio commented on Feb 8, 2021

    @Adega-Studio

    A few of our support team were able to replicate, but I can't make any promises in to how long it will be until we can devote time to digging in to what the cause of this might be, as it doesn't seem to affect everyone.
    Hi. If you could create a problem, tell me how? Maybe there is a chance to temporarily fix it before the global update.

  14. fatmatrow commented on Feb 8, 2021

    @fatmatrow
  15. energizerfellow commented on Feb 8, 2021

    @energizerfellow

    So everybody seeing this has both a Zen CPU and a Nvidia GPU? Does anybody with an Intel CPU and/or a AMD/Intel GPU see this issue?

  16. 166 remaining items

  17. kibbby commented on Jan 18, 2022

    @kibbby

    I'm not even sure the problem I'm having is the same as everyone's else which is driving me even more crazy. https://drive.google.com/file/d/1cSq6bawbTKhSwzuaPBsaNFQLoLLFjrSN/view?usp=sharing (recommend downloading it because that preview isn't 60fps) this is what it looks like to me when I get stutters in videos. That doesn't happen in the game, just the videos. I can't tell if it happens in preview with this game because when I alt tab it goes to pause menu and I can't do nothing with controller. Another weird thing is a couple years ago I was using the elgato capture card for a PS4 game and in the preview I was moving around non stop and stutters came every 20 seconds or so exactly. But that's a whole different story and I don't have that problem anymore with capture card and PS5. It's just PC from what I can see. I dunno maybe the game is just maxing out my GPU or something. But that still doesn't make sense because I'm using x264 and the CPU is hardly even getting up to 50% so why are stutters in my videos? Very weird and irritating.

    That DXGI method doesn't seem to help me either. Really out of ideas and might just give up on it. Doing a few more tests though.

  18. Fenrirthviti commented on Jan 18, 2022

    @Fenrirthviti
    Member

    To clarify, this isn't hasn't been fixed because it's not clear what the actual problem is, and the solutions that have been presented and tested are likely just bandaid fixes that hide the real issue. This issue is likely coming from outside OBS itself, which is why it's difficult to track down. I appreciate that it seems like this issue is common since you are experiencing it, but keep in mind that OBS has millions of users, and only a very tiny amount of them are experiencing this. It's difficult to replicate, and difficult to debug. If we knew what was going on, and knew how to fix it, what motivations would we have for not fixing it?

    I'd appreciate if we could leave the passive aggressive comments and negativity towards the developers of OBS outside, and focus on the issue itself. Logs of recording sessions where the issue help, as do sample recordings. Let's focus on those.

  19. kibbby commented on Jan 18, 2022

    @kibbby

    https://obsproject.com/logs/pNLx166eh5NFLJ_u

    I never get any issues to be honest. I'm still contemplating on reinstalling Windows 10 just to see. I really feel like I wanna get to the bottom of this or try everything I can before giving up. I refuse to upload videos with all these stutters. You are right though, it might not even be OBS and just a combination of different issues that cause stutters. Who knows. I get the same thing with shadowplay by the way. Funny thing is, Gamebar recordings are the only smoothest videos I get. But OBS is the way to record with microphone and all with different tracks for editing and all the quality settings. I'm just waiting on one of the other guys to reply to me in Discord because I've seen his recent streams and they look smooth.

    My stutters are so random, the video can be a 2 min test of being smooth, then the next test it will stutter 20 seconds in .. its on and off. I'm so lost, how can the game be smooth but the videos stuttering?

  20. sleepshot commented on Jan 18, 2022

    @sleepshot

    To clarify, this isn't hasn't been fixed because it's not clear what the actual problem is, and the solutions that have been presented and tested are likely just bandaid fixes that hide the real issue. This issue is likely coming from outside OBS itself, which is why it's difficult to track down. I appreciate that it seems like this issue is common since you are experiencing it, but keep in mind that OBS has millions of users, and only a very tiny amount of them are experiencing this. It's difficult to replicate, and difficult to debug. If we knew what was going on, and knew how to fix it, what motivations would we have for not fixing it?

    I'd appreciate if we could leave the passive aggressive comments and negativity towards the developers of OBS outside, and focus on the issue itself. Logs of recording sessions where the issue help, as do sample recordings. Let's focus on those.

    your right there are alot more people that dont have this prob then do. so i apologise. thank you for doing what u can atm tho

  21. sleepshot commented on Jan 18, 2022

    @sleepshot

    hmm. i do see the stutter. it seems like the same prob im having but mine is even more so because i do max out on my cpu depending on the game, idk what causes it. but when i stream my switch witha capture card i dont have the stutter. idk its all weird. as @Fenrirthviti said i agree i do beleive it to be a prob out side of obs. because when i upgraded from windows 7 to 10 thats when the prob started.i hope obs is able to find a fix and the prob but like they said although alot of people are having it more arnt. some things i did to help with the stutter was use the build. go to 60hz from 144hz and in one game i had to change the rez to 1280x720 that helped alot.

  22. kibbby commented on Jan 18, 2022

    @kibbby

    Problem is I need to record videos high quality and in 2k (1440) 60fps. I'm gonna do a bunch of tests with CRF x264 25. I noticed when I use that number I don't get stutters much but I haven't tested enough and I also have seen stutters anyway even with a number that high which is low quality. I need 17-18 CRF to be satisfied. I just wish the videos looked the same as what I see in the game.

  23. sleepshot commented on Jan 18, 2022

    @sleepshot

    Problem is I need to record videos high quality and in 2k (1440) 60fps. I'm gonna do a bunch of tests with CRF x264 25. I noticed when I use that number I don't get stutters much but I haven't tested enough and I also have seen stutters anyway even with a number that high which is low quality. I need 17-18 CRF to be satisfied. I just wish the videos looked the same as what I see in the game.

    Yeah I feel ya man. I hope we are able to fig it out.just remember if you do def post the solution good luck bro

  24. kibbby commented on Jan 18, 2022

    @kibbby

    I will post if I figure it out. But I doubt I will. I've spent the last 3 days non stop day and night trying to fix it. Thats how bad I want to fix it. I just want to record videos in high quality without stuttering lol. I'm going to try xsplit later, someone mentioned it was stutter free but I had to register, that sucks. I will test it anyway later and update. I'd rather stick with OBS though.

    Considering to reinstall Windows 10 though just to see. I've run out of options I think.

  25. kibbby commented on Jan 20, 2022

    @kibbby

    Solved (for me anyway)

    So I reinstalled Windows 10, tested, didn't work, went back to 11 , same thing. So that didn't work. I did everything you can probably think of regarding OBS settings and quality, format recording methods etc. Thankfully, I somehow managed to get in touch with someone from here and got one of the DXGI builds they were talking about in here. For some reason the latest OBS DXGI version jpark/rcdrone did broke it and stutters in that one. Its one of the older version they mentioned in this thread that works. I tested it about 10 times and didn't see one stutter. Apparently you need to have monitor refresh rate 60hz and game 60 for this to work. I tried game and refresh rate at 120, I tried game at 60 and refresh rate at 120 but none of them are good. 60 in game and refresh rate 120 makes the actual game stutter in some places but the video will remain stutterless from my short tests. So it seems this only works with 60fps in games/60 refresh rate for monitor. Its the only solution that fixed the stuttering for good with me and I'm happy. I mean, I've thought I fixed it in past tests only to find out later it is in fact not fixed but this feels like it really has been fixed so I'm letting anyone know that this could be your solution too. By the way, the game I tested was mainly God of War on PC and it's only in borderless, there is no fullscreen for that game at the moment. Will do more tests on other games.

    You need to use Display Capture, select in properties DXGI Dupliate or whatever its called.

    c1b2546 < OBS build for DXGI version used. You will have to request from jpark or others for the build as it's the only working one that seems to be working. The latest one breaks it for some reason and stutters are visible. It's not my place to post these OBS builds and I don't wanna get in the shit for it. Good luck!

  26. sleepshot commented on Jan 20, 2022

    @sleepshot

    Solved (for me anyway)

    So I reinstalled Windows 10, tested, didn't work, went back to 11 , same thing. So that didn't work. I did everything you can probably think of regarding OBS settings and quality, format recording methods etc. Thankfully, I somehow managed to get in touch with someone from here and got one of the DXGI builds they were talking about in here. For some reason the latest OBS DXGI version jpark/rcdrone did broke it and stutters in that one. Its one of the older version they mentioned in this thread that works. I tested it about 10 times and didn't see one stutter. Apparently you need to have monitor refresh rate 60hz and game 60 for this to work. I tried game and refresh rate at 120, I tried game at 60 and refresh rate at 120 but none of them are good. 60 in game and refresh rate 120 makes the actual game stutter in some places but the video will remain stutterless from my short tests. So it seems this only works with 60fps in games/60 refresh rate for monitor. Its the only solution that fixed the stuttering for good with me and I'm happy. I mean, I've thought I fixed it in past tests only to find out later it is in fact not fixed but this feels like it really has been fixed so I'm letting anyone know that this could be your solution too. By the way, the game I tested was mainly God of War on PC and it's only in borderless, there is no fullscreen for that game at the moment. Will do more tests on other games.

    You need to use Display Capture, select in properties DXGI Dupliate or whatever its called.

    c1b2546 < OBS build for DXGI version used. You will have to request from jpark or others for the build as it's the only working one that seems to be working. The latest one breaks it for some reason and stutters are visible. It's not my place to post these OBS builds and I don't wanna get in the shit for it. Good luck!

    Yeah those are the same things I had to do to fix mine as I said earlier. But hey if you can and are up for it try this. I'm testing it now and so far so good and my obs is using alot less cpu. So I uninstalled everything obs then installed the newest version and let the wizard thing set it up I even used the sample output in settings instead of advanced and then went to veiw stats while I tested my stream and not only did it run alot smoother but I could see that the stutter was bought on by alot of render frames missing. So from there I lowered settings like fps cap. Some games I have to change one fps cap to 30 butbsome can be 60. And some I have to turn my moniter to 60hz.and I can use game capture. Some times it takes a lil for the game to show up on one tho.we can private message if u need to to

  27. Tiiffo commented on Jan 20, 2022

    @Tiiffo

    Hi guys,
    I've been following this thread for a long time. I have the exact same issues than yours, but I use a dual PC setup for streaming which means I use a capture card (it could be NDI).

    As mentioned befre, it appears to be something related to system, or other stuff beyond OBS. someone mentioned about an Timing sync issue and this made me think because I have 2 monitors being one 1440p set in 60hz and other 1080p set in 60hz as well. I prefer this because I stream mostly action and rpgs games and I prefer better graphics than FPS and I already tested and I know that the only way to get a really smoth 60fps is syncing my gameplay to streams' fps.
    Ok, I noticed that my 1440p monitor was set to 59,951 hz in windows properties and there wasn't a way to chance it for 60hz... The curious is that my 1080p monitor was shoing in 60hz so I thought I could find a way to make thing as synced as possible...

    I made a custom resolution using that software CRU 1.5.1. I did it for my 1440p monitor and for my capture card. Than, I could set both on window to be 60hz and Boom! Itested for a good amount of minutes on OBS and everything is just fine. If there's stutters, I could not notice... This fixed for me.

    I hope it can help anyone

  28. KapivaraTTV commented on Jan 21, 2022

    @KapivaraTTV

    Solved (for me anyway)

    So I reinstalled Windows 10, tested, didn't work, went back to 11 , same thing. So that didn't work. I did everything you can probably think of regarding OBS settings and quality, format recording methods etc. Thankfully, I somehow managed to get in touch with someone from here and got one of the DXGI builds they were talking about in here. For some reason the latest OBS DXGI version jpark/rcdrone did broke it and stutters in that one. Its one of the older version they mentioned in this thread that works. I tested it about 10 times and didn't see one stutter. Apparently you need to have monitor refresh rate 60hz and game 60 for this to work. I tried game and refresh rate at 120, I tried game at 60 and refresh rate at 120 but none of them are good. 60 in game and refresh rate 120 makes the actual game stutter in some places but the video will remain stutterless from my short tests. So it seems this only works with 60fps in games/60 refresh rate for monitor. Its the only solution that fixed the stuttering for good with me and I'm happy. I mean, I've thought I fixed it in past tests only to find out later it is in fact not fixed but this feels like it really has been fixed so I'm letting anyone know that this could be your solution too. By the way, the game I tested was mainly God of War on PC and it's only in borderless, there is no fullscreen for that game at the moment. Will do more tests on other games.

    You need to use Display Capture, select in properties DXGI Dupliate or whatever its called.

    c1b2546 < OBS build for DXGI version used. You will have to request from jpark or others for the build as it's the only working one that seems to be working. The latest one breaks it for some reason and stutters are visible. It's not my place to post these OBS builds and I don't wanna get in the shit for it. Good luck!

    I have the same stuttering problems in the videos recorded through OBS, so I would have the possibility for you to provide me with this version of OBS in which you were successful.

  29. kibbby commented on Jan 21, 2022

    @kibbby

    Solved (for me anyway)
    So I reinstalled Windows 10, tested, didn't work, went back to 11 , same thing. So that didn't work. I did everything you can probably think of regarding OBS settings and quality, format recording methods etc. Thankfully, I somehow managed to get in touch with someone from here and got one of the DXGI builds they were talking about in here. For some reason the latest OBS DXGI version jpark/rcdrone did broke it and stutters in that one. Its one of the older version they mentioned in this thread that works. I tested it about 10 times and didn't see one stutter. Apparently you need to have monitor refresh rate 60hz and game 60 for this to work. I tried game and refresh rate at 120, I tried game at 60 and refresh rate at 120 but none of them are good. 60 in game and refresh rate 120 makes the actual game stutter in some places but the video will remain stutterless from my short tests. So it seems this only works with 60fps in games/60 refresh rate for monitor. Its the only solution that fixed the stuttering for good with me and I'm happy. I mean, I've thought I fixed it in past tests only to find out later it is in fact not fixed but this feels like it really has been fixed so I'm letting anyone know that this could be your solution too. By the way, the game I tested was mainly God of War on PC and it's only in borderless, there is no fullscreen for that game at the moment. Will do more tests on other games.
    You need to use Display Capture, select in properties DXGI Dupliate or whatever its called.
    c1b2546 < OBS build for DXGI version used. You will have to request from jpark or others for the build as it's the only working one that seems to be working. The latest one breaks it for some reason and stutters are visible. It's not my place to post these OBS builds and I don't wanna get in the shit for it. Good luck!

    I have the same stuttering problems in the videos recorded through OBS, so I would have the possibility for you to provide me with this version of OBS in which you were successful.

    I'll leave a link to download the version here: [Maintainer edit: Link removed]

    For some reason his latest version doesn't work the same, only this version. I don't know if he's okay with me sharing it but he doesn't reply to me when I ask him. I assume he won't mind because his other versions are public. Hopefully it works for you guys because it saved me a lot of stress and troubles.

  30. Fenrirthviti commented on Jan 21, 2022

    @Fenrirthviti
    Member

    I would prefer if we did not use shady file hosting services to share builds of OBS that are not easy to validate. I've removed the link.

    We are again deep in support territory, as this issue has somehow turned in to a catch-all for a dozen other issues that are external to OBS, such as general performance problems, mismatched framerates on multiple displays, etc.

    I'm going to go ahead and lock this thread for now, as it's not really clear what the underlying cause of the actual original problem is, and the comments of "why is this not fixed yet" are becoming, frankly, a drain on the team's morale. If you're having issues with OBS performance or stuttering, please try going through the normal support channels first and letting one of our support volunteers take a closer look to ensure that it isn't a setup or configuration issue.

    Once we have more information, we will update this thread here. The best thing people can do is go through the support channels and let the support volunteers get a hands-on look at the issue while it's happening.

  31. locked as off topic and limited conversation to collaborators on Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform/windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions