Question / Help Stutter

What causes this? The stutter?
It shows up on the original output file and its driving me nuts. I can't trust output to stream because of this. The profile used to create this video is optimized for recording only. Status monitor while recording doesn't indicate any problems. CPU usage, dropped frames...nothing like that. The audio is rock solid, but it looks like there are frames getting dropped.

https://www.youtube.com/watch?v=-ur8mhmDpV4&t=3s
 

BK-Morpheus

Active Member
Log is missing.
Are the ingame fps in sync with the recording framerate?
In my most recent tests, I only get smooth recordings, when game frame rate and recording frame rate are in sync.
60fps recordings only came out smooth, when the game is constantly running at a solid frame limit of 60fps or 120fps. As soon, as ingame fps are over 60fps but under 120fps, the recording is stuttering, without rendering lag or encoding lag in the log file.

As I'm using freesync with 60Hz, this is pretty annoying, because I usually cap my games at 58fps (to stay within freesync range and avoid vsync input lag), but neither 60fps nor 30fps recordings are smooth, when the game is running capped at 58fps.
Right now I simply don't stream/record for the most part, but when I do, I change my frame limit from 58 to 60 and live with the Vsync input lag or the tearing. At least the stream/recording is running smooth with that solution.
 
BK:

Thanks, that's food for thought. I never though about the game frame rate, replay frame rate.... I'm relatively new to this OBS and streaming stuff. But, I can understand that if they game is running at 80 FPS and OBS is only recording at 60, there could be some issues. That makes sense.... its smooth other than the stutter. I can cap the frame rate so that its @ 60. I considered capping the output to 720, maybe I should do that as well? The Youtube compression is horrible.... I'll get a recent log shortly...
 
Last edited:
SO I set my replay FPS to be capped @ 60. Did another recording, this time at much lower settings, 720p.
The stutter is still there. I can see that the file size is significantly less, and Youtube might like this more, but that would be fine for streaming I suppose.
What frame rate should I be looking a for the source, and for OBS to record at?
 

Attachments

  • 2019-03-20 22-19-20.txt
    108.5 KB · Views: 9
This is driving me nuts. If this is a system/overworked issues, the reductions in FPS for both the source and the recording should be taking care of that... I'm only showing 8% CPU load while recording. Quality is starting to suffer, and the stutter isn't getting any better.
I've reduced Game Replay FPS to 30, and the recording image still looks decent. But the stutter is still there. While I was messing with settings ( the latest was reduce input FPS to 30 and Set OBS FPS to 60. I noticed OBS was saying it was capturing between 57 and 58 FPS. And not whole #s, 58.08 or 57.9... something like that. So I set the recording FPS to 57 ,, and the the capture was like at 56 or 55... It seems OBS wont capture at 100% of the set FPS value. It's not saying its dropping frames... it just doesn't record at whatever I set it to.

Testing as I'm posting this... Yet again I reduce the record FPS, now to 55, and again the recording FPS is a couple frames below that.. 53FPS...
Here's the latest LOG
 

Attachments

  • 2019-03-20 22-19-20.txt
    108.5 KB · Views: 10
I have read many help post including the sticky on Lag. I don't believe anything in this is applicable.

- "Dropped frames"
- NOT GETTING MESSAGE THAT ANY FRAMES ARE DROPPED

Try changing servers
- At this point I'm only recording, so no steaming server being used.

Don't stream over wireless
- Hardwired. Nearly everything in my house is, and a new Gigabit 24port switch.

Try another streaming service (Just as a test)
- Again, not streaming yet

Anti-virus or
- none installed.

Speed tests are a very rough estimate - they mean very little with regards to streaming
- Local network speeds are way ablout whats needed, not even using network at the moment

Update Network Adapter Driver
- Done, but no effect.

Bad router or bad networking hardware
- Router is not the issue.I have had several configured and the current Ubiquti USG 3P is the most stable device I've had installed. Network Equipment (cables, switches) have all been swapped out with spares, but again at this point , only recording locally to the system, these items dont even come into play.

Is there a way to force OBS to use a specific Core? Affinty?? Im not sure that would help, I'm grasping at straws because I can't seem to resolve this issue, no matter what I try.
 

BK-Morpheus

Active Member
You said, that the status monitor is not showing any dropped frames/overload, but the log shows a different story:
Number of lagged frames due to rendering lag/stalls: 937 (4.1%)

Looks like 60fps cap is still running in situations, where the GPU load is too high.
You can open the statistics window in OBS, while testing, because the status bar on the bottom is only showing recording fps, cpu load and encoding overload, but not rendering lag.
 
That is something else I did not know.

I have just updated to the latest version of OBS (23..something) I had updated to 22 the last time I sat down to figure this out. I took the day off work to make an attempt to resolve this issue.

I have no cast-in-stone requirement for on framerate or another, I just want to get this working to some degree without having people thinking they are having a seizure or something...LOL.

I have had some success, but I'm surprised at what Im having to do. Currently I've capped the game FPS @ 24. This is for replay playback, which I'm fine with it still looks fine.

My GPU load has dropped from (peak of 81% avg 66%) to 27% peaking @35%. OBS is set to 30 FPS, rescaling to 1280*720.

I think I'm making some progress. I will upload another log shortly.
 
Well, its improved somewhat, I have a lot of resource headroom available, but I'm still getting the issue...
I dont think I can drop my source frame rate much lower than the 24 FPS its at. Maybe thats as good as it gets?
 

ValorUnlimited

New Member
Have you solved it, or still ongoing?


I haven't been able to solve it. I have a 1070 non Ti graphics card. I know for a fact there are dudes out there with my exact setup that have not had issues capturing 1080p 60fps for YT uploads. In fact, I have done it before on my YT channel. For some reason this issue seems to have arisen recently.
 

carlmmii

Active Member
The first thing that jumps out at me is this:
Code:
09:47:07.794: [Media Source 'Media Source']: settings:
09:47:07.794:  input:                   //192.168.0.153/ba_nas2/OBS Stream Elements/Background Video/OldFashionedFilmLeaderCountdownVidevo.mov
09:47:07.794:  input_format:            (null)
09:47:07.794:  speed:                   81
09:47:07.794:  is_looping:              no
09:47:07.794:  is_hw_decoding:          yes
09:47:07.794:  is_clear_on_media_end:   no
09:47:07.794:  restart_on_activate:     yes
09:47:07.794:  close_when_inactive:     no
That is a remote media source that's permanently being rendered, regardless of whether it's in the scene or not. Move that onto a local drive, and if it makes sense to do so, have it close when inactive.

Past that, the log is flooded with connection failures to what appears to be a chat overlay. I would try removing any and all browser sources from your scenes and see if you still have the rendering lag persist (browser sources are notorious for this, btw).
 
The first thing that jumps out at me is this:
09:47:07.794: input: //192.168.0.153/ba_nas2/OBS Stream Elements/Background
Thats corrrect, that is one of my NAS drives. That just happens to have been the "storage location of the day". The issue I'm trying to troubleshoot STILL shows up if I use an HDD, or one of 3 SSDs. Target for storage doesn't change anything.

Currently I'm recording to Primary SSD @ C:\TEST\OBS_VIDEO_OUTPUT\

Still this hiccup.
 
Last edited:
As far as that websocket stuff. I wish I knew HOW to remove it...

I just deleted all the scenes that I was hanging on to for no good reason. Many of them refer to network locations. Gone now. I'll restart and run a test today or tomorrow
 
Last edited:
Carlmmii.....

BRILLIANT!!!!!

As soon as I deleted all the saved scenes from all projects and all profiles... and of course reset my video output settings... the output quality is OUTSTANDING.... Stutter has disappeared completely!! This is great... I've been bugged by this for so long......

My CPU commit actvity is lesst than 5%...

Cheers. really.
 
Top