Question / Help I'm having serious lag with OBS

aviciimix

New Member
I'm interested in streaming league of legends, but becomes near impossible with my ping raising above 200 or so (But jumps constantly between 110 and 250), unless I place the stream on very low quality which makes it about 90-110. This is very frustrating and need some help to make my stream the best quality with the lowest amount of lag in game. cheers.

2904523416.png


Code:
Open Broadcaster Software v0.448a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
CPU Speed: 2993MHz
Physical Memory:  8173MB Total, 3712MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6670
  Video Adapeter Dedicated Video Memory: 2134601728
  Video Adapeter Shared System Memory: 4017051648
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 8939, number of frames that lagged: 529 (5.92%) (it's okay for some frames to lag)
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 14186, number of frames that lagged: 892 (6.29%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 6495, number of frames that lagged: 157 (2.42%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Warning -- graphics.MeasureString failed: 2
Warning -- TextSource::UpdateTexture: bad texture sizes apparently, very strange
Total frames rendered: 9087, number of frames that lagged: 185 (2.04%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 32, number of frames that lagged: 2 (6.25%) (it's okay for some frames to lag)
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 840x524
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 840, height: 524
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 1447, number of frames that lagged: 67 (4.63%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line 1 (Virtual Audio Cable)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Total frames rendered: 1807, number of frames that lagged: 134 (7.42%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 0
    preset: veryfast
    i444: no
    max bitrate: 6000
    buffer size: 6000
------------------------------------------
Warning -- Capture BitBlt failed..  just so you know
Total frames rendered: 4532, number of frames that lagged: 747 (16.48%) (it's okay for some frames to lag)
Number of b-frames dropped: 16, Number of p-frames dropped: 0
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 0
    preset: fast
    i444: no
    max bitrate: 5000
    buffer size: 5000
------------------------------------------
Total frames rendered: 864, number of frames that lagged: 350 (40.51%) (it's okay for some frames to lag)
Number of b-frames dropped: 22, Number of p-frames dropped: 0
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 0
    preset: fast
    i444: no
    max bitrate: 7000
    buffer size: 7000
------------------------------------------
Total frames rendered: 906, number of frames that lagged: 325 (35.87%) (it's okay for some frames to lag)
Number of b-frames dropped: 123, Number of p-frames dropped: 0
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 9
    preset: fast
    i444: no
    max bitrate: 5000
    buffer size: 5000
------------------------------------------
Total frames rendered: 94, number of frames that lagged: 1 (1.06%) (it's okay for some frames to lag)
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 9
    preset: fast
    i444: no
    max bitrate: 5000
    buffer size: 5000
------------------------------------------
Total frames rendered: 3129, number of frames that lagged: 211 (6.74%) (it's okay for some frames to lag)
Number of b-frames dropped: 121, Number of p-frames dropped: 0
=====Stream End=======================================================================
Not using send buffering
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    quality: 9
    preset: superfast
    i444: no
    max bitrate: 5000
    buffer size: 5000
------------------------------------------
Total frames rendered: 255, number of frames that lagged: 63 (24.71%) (it's okay for some frames to lag)
Number of b-frames dropped: 97, Number of p-frames dropped: 0
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 16.23 ms] [avg calls per frame: 1] [children: 84.7%] [unaccounted: 15.3%]
| scene->Preprocess - [78%] [avg time: 12.663 ms] [avg calls per frame: 1]
| video encoding and uploading - [6.65%] [avg time: 1.079 ms] [avg calls per frame: 1] [children: 6%] [unaccounted: 0.647%]
| | CopyResource - [0.123%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.142%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | call to encoder - [5.74%] [avg time: 0.931 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
"Minimize network impact" in broadcast settings is probably what you want for this if you get this issue.


Er, wait, 0.448? That's an ancient version. It's up to 0.55 right now. That's probably part of the problem.
 

alpinlol

Active Member
and holy f$%& ... look at your set bitrate and the actual amount of upload you have

you got ~800kbps (800bitrate) and you try to stream with 5000-6000 bitrate

as soon as your little upload reaches maximum your connection says GIMME A SECOND(200+ping)
 

Kharay

Member
Run an upload test here, making sure to pick a server that is near the one you've been streaming to. To get an idea of what you can actually get away with.
 

aviciimix

New Member
Jim said:
"Minimize network impact" in broadcast settings is probably what you want for this if you get this issue.


Er, wait, 0.448? That's an ancient version. It's up to 0.55 right now. That's probably part of the problem.

I've updated to 0.55 and ticked the setting you said, It worked nicely, but I'm still ping jumps not that huge as alpinlol said to put my bitrate lower (500). My ping jumps from around 50 to 110 now. This still causes some lag, but not as much. I want to know if there's a way I'm able so I can play with no high ping jumps (40-60) but with a decent quality stream of about 700p (1.5 downscale from 1680x1050).
 

Kharay

Member
Not with that upload of yours, no. Sadly, LoL is quite the bandwidth hog and by itself is taking up a good chunk of that upload. Leaving quite little for OBS to work with. In fact, I would simply suggest not going over 480p. Which can still look quite good with the proper tweaks here and there.
 
Top