Question / Help Issues when League of Legends and OBS - streaming

Wisgurd

New Member
Hello,

I am streaming with OBS to my twitch account. Everything works fine with several games.

The only trouble I have is with League of Legends. Let me explain the issue:

1) I have ping issues within LOL. The ingame ping display shows me a sequence like this
100ms, 95ms, 88ms, 78ms, 70ms, 65ms
101ms, 94ms, 87ms, 77ms, 72ms, 67ms
102ms, .... etc.

It's like having a maximum ping and then reducing to a minimum ping by some steps and then go to the maximum in one step.

BTW: The usual LOL ping (without OBS) is stable at around 30ms. In the past I had a stable ping with OBS running like 45ms.

2) OBS switches every second the bitrate from something like: 2200kbit, 3900kbit, 2221kbit, 3898kbit ....

My installation:
WAN: 100mbit Download, 6mbit upload
PC: CPU 4670K, 16GB RAM, Nvidia GTX770

OBS Settings: (I tried several settings, but none works appropriate)
Video constant CBR, 3000kbit, CBR padding, buffersize 30000
Audio AAC 160
Resolution 1680*1050 (no downscale), FPS 30
Use Multithread, prio normal, x264 veryfast, keyframeint 2, use CFR, x264 keyint=60

Does anyone experience the same problems? Is this bad LOL-code?

If i reduce bitrate to 2500kbit then OBS switches between 1800kbit and 3200kbit. I tried several configuration settings, but always the same issue.
 

Wisgurd

New Member
Sorry, I just let OBS run 1 and a half minute with LOL:
 

Attachments

  • 2013-08-30-1906-30.log
    6.8 KB · Views: 60

Kharay

Member
Custom Buffer Size: 30,000 ?...

What... in the name... of... something awful were you thinking? How about disabling Custom Buffer Size.

1 -- LoL does not really need a custom buffer size and most decidedly not a 30,000 one.
2 -- (Very) large custom buffers will in fact destabilize the bitrate. Which you are experiencing. ;)
 

Wisgurd

New Member
Okay, 30000 was one setup I tried. I tried it also with normal buffer.

I tried it again and got the same result. I don't think that OBS is "guilty" but maybe there is a hint one can give.
 

Attachments

  • 2013-08-30-1928-39.log
    23.2 KB · Views: 58

Kharay

Member
See, with a default buffer it already was a great deal better. Now, let's find out if you can really maintain that 3000 Kbps to that server.

http://testmy.net/upload -- Make sure to test to a server near the stream server you would prefer to use. To get an idea of what you can maintain to that location.
 

Wisgurd

New Member
As i said: with other games i dont have problems

Attachm 1) Speedtest
Attachm 2) OBS log with other game
 

Attachments

  • Speedtest.gif
    Speedtest.gif
    20.8 KB · Views: 22
  • 2013-08-30-2247-51.log
    6.5 KB · Views: 28

Kharay

Member
I did not suggest using SpeedTest.net, I suggested using Testmy.net. Please do that.

You see, the thing is -- LoL is quite a bandwidth hog, its netcode is far from optimal and consequently, you may in fact be trying to maintain a bitrate that is near to your maximum to that particular location. Leaving little to no bandwidth for LoL, causing a high ping.

So, please... no more SpeedTest.net nonsense. Its method of testing is not accurate for streaming purposes.
 

Wisgurd

New Member
Okay, here is the test. I live in Germany and the nearest server is in netherlands .... not very near.

:::.. Internet Speed Test Result Details ..:::
Download Connection Speed:: 53419 Kbps or 53.4 Mbps
Download Speed Test Size:: 46.9 MB or 48000 kB or 49152000 bytes
Download Binary File Transfer Speed:: 6677 kB/s or 6.7 MB/s
Upload Connection Speed:: 5984 Kbps or 6 Mbps
Upload Speed Test Size:: 5.6 MB or 5728 kB or 5865472 bytes
Upload Binary File Transfer Speed:: 748 kB/s
Timed:: Download: 7.361 seconds | Upload: 7.842 seconds
Tested At:: http://TestMy.net Version 13
Test Time:: 2013-08-31 00:11:30 Local Time
Location:: Schifferstadt, DE DE >> Destination:: Amsterdam, NL / Europe
Validation:: http://testmy.net/db/HGv4fCP.xPoKR82
TiP Measurement Summary (Download):: Min 24.11 Mbps | Middle Avg 56.98 Mbps | Max 68.3 Mbps | 28% Variance
TiP Data Points:: 43.58 Mbps, 67.91 Mbps, 68.3 Mbps, 59.82 Mbps, 52.74 Mbps, 50.28 Mbps, 52.05 Mbps, 56.77 Mbps, 54.6 Mbps, 58.16 Mbps, 57.6 Mbps, 58.45 Mbps, 55.71 Mbps, 53.94 Mbps, 64.24 Mbps, 64.24 Mbps, 50.36 Mbps, 43.42 Mbps, 24.11 Mbps
More Stats:: http://testmy.net/compID/87946345384
User Agent:: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 [!]
 

Kharay

Member
22:49:07: Total frames rendered: 1615, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
22:49:07: Total duplicated frames to ensure constant framerate: 0 (0.00%)
22:49:08: RTMPPublisher::SocketLoop: Graceful loop exit
22:49:08: Number of times waited to send: 0, Waited for a total of 0 bytes
22:49:08: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
Your most recent log has a perfect score, essentially. If LoL is still lagging then there isn't whole lot you can do as far as OBS is concerned. No late frames, no duplicate frames, no dropped frames... that's really as good as it gets.

If LoL is still lagging with that score, all you could consider is dropping the bitrate in steps of 50 Kbps until it stops lagging.
 

Wisgurd

New Member
Thank you very much for your time and knowledge.

This last statement was very clear and supported my understanding that LOL is the beast to beat and not my environment.

Okay, maybe someone reads this thread and calms down it he/she has the same issues.
 
Top