Random stream lag/freeze for my viewers

SVF

New Member
Hello!

So i've been dealing with this issue for quite some time.
My stream randomly freezes/lags for my viewers even though my game runs perfectly fine and no dropped frames on OBS
I've noticed it happens a lot while I'm streaming League of Legends,there are moments like for example when I die or there is a lot going on screen,that's the moment when my viewers tell me that the stream lagged and semi-freezed.Besides those moments,the stream runs perfectly fine.

I also stream games on PS5 using an Avermedia LGX2 Capture Card,but the issue is not there,i can stream any game on it and the stream runs perfectly fine even on 1920x1080,with no lag or freezes

PC Specs
CPU:i5 6400 2,7ghz with Aftermarket Cooler
GPU:MSI GTX 950 2gb
500 gb M2 SSD and 1TB HDD

OBS Output Settings:
Enconder:NVIDIA NVENC
Rate Control:CBR
Bitrate:60000 Kbps(I have great internet,850 download,820 upload)
Keyframe Interval 2
Preset:Quality
Profile:main
Look-ahead and Psycho Visual Tuning are OFF
GPU:0
Max B-frames:2
Base Resolution:1920x1080
Output:1920x1080(tried changing it to 720p,nothing changes,the issue still persists)
Downscale Filter:Lanczos
FPS:60


Any help/tips is appreciated!
 

Lawrence_SoCal

Active Member
That is an older CPU, that may not be up to the task of other demanding workloads, and then adding the computationally demanding task of real-time video encoding.

I recommend monitoring hardware resource (CPU, GPU, RAM, Disk I/O, etc) utilization [for ex. using Task manager’s Performance tab and/or Resource Monitor] to see if your system is being maxed out with your settings https://obsproject.com/wiki/General-Performance-and-Encoding-Issues and https://obsproject.com/wiki/GPU-overload-issues

In your log is
01:15:21.112: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 26517 (3.1%)
01:15:21.113: Video stopped, number of skipped frames due to encoding lag: 26788/854546 (3.1%)
which would indicate your system can't handle what you are asking it to do. Other items in log (discarded timestamps) could be something else, but also makes me suspect an overloaded computer

Personally, I can't advise on what specific changes would help but from a general perspective
updating Win10 might help?
Most likely dropping to 30fps would make a difference or dropping chroma keying (or other CPU demanding filters/effects)
or optimizing OS for an under-powered system (if not already done)

Also, typo in your OP on bitrate (compared to log showing 6,000 vs 60,000)

And in general, your settings may be fine for gaming (ie heavy workload) on gaming console, with capture/streaming on PC. Vs gaming and OBS rendering/encoding on same PC. Huge difference in workload
 
Last edited:

SVF

New Member
Thank you very much for the help/tips!
I know that my CPU needs a upgrade,been having issues with this even before I started streaming,kinda bottlenecking but I knew that way before
I will change my stream overlay because I think those use a lot of resources because I also have some filters applied on them.And they are also animated :D
Will probably change to a less CPU-intensive overlay
There's one thing that I didn't understand from what you stated above:
1)What does OP mean?
2)How do I type my OP on bitrate?
I'm sorry but there are a few terms I'm not so familiar with :)
Thanks once again!
 
Top