Question / Help Viewers get spike/lags @ my stream.

Biggie

New Member
Hello there!

First of all I wanna say that I'm a big fan of OBS, best stream program I've ever used for streaming.
To my problem:
My viewers suffers spike lags when they're watching my stream, which I dont think they should.

My internet + system would be capable to handle a decent 1080p stream imo.
I've tryed to change server multiple times, still the same result.
Using JTV Ping for fresh result to server.

Suggestions on what I can change to get flow at my stream, abit annoying if it stutters/spike.

http://www.speedtest.net/result/2632411948.png

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3400MHz
Physical Memory:  16339MB Total, 12477MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 670
  Video Adapter Dedicated Video Memory: 2091581440
  Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using bitmap image
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4500
    buffer size: 4500
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2256, outputRateWindowTime: 1000, dropThreshold: 2756
Total frames rendered: 3362, number of frames that lagged: 1 (0.03%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:14    Avg QP:23.81  size:186591
x264: frame P:1430  Avg QP:27.55  size: 27286
x264: frame B:1880  Avg QP:30.15  size:  8820
x264: consecutive B-frames: 15.8% 15.8% 31.9% 36.6%
x264: mb I  I16..4: 12.7% 46.7% 40.6%
x264: mb P  I16..4:  8.5% 12.9%  1.1%  P16..4: 23.0%  8.1%  2.9%  0.0%  0.0%    skip:43.6%
x264: mb B  I16..4:  1.3%  1.6%  0.1%  B16..8: 14.6%  4.5%  0.4%  direct: 3.0%  skip:74.5%  L0:40.3% L1:53.1% BI: 6.6%
x264: 8x8 transform intra:56.5% inter:34.9%
x264: coded y,uvDC,uvAC intra: 40.5% 38.9% 12.3% inter: 6.1% 9.1% 1.3%
x264: i16 v,h,dc,p: 34% 33% 24% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 29%  5%  5%  5%  7%  4%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 20% 19%  6%  6%  7%  6%  6%  5%
x264: i8c dc,h,v,p: 57% 22% 16%  4%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:4196.17
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.304 ms] [avg calls per frame: 1] [children: 91.3%] [unaccounted: 8.69%]
| scene->Preprocess - [0.0697%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [91.2%] [avg time: 3.927 ms] [avg calls per frame: 1] [children: 52.5%] [unaccounted: 38.7%]
| | CopyResource - [0.349%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.42%] [avg time: 0.147 ms] [avg calls per frame: 0]
| | call to encoder - [48.4%] [avg time: 2.083 ms] [avg calls per frame: 0]
| | sending stuff out - [0.372%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================

Other then the spike/small lag.. I'm very pleased with OBS!
 

Niamor

Member
drop your bitrate to 3500 and you should be good. And you do not need to disable aero if you're using game capture.
 

Biggie

New Member
Niamor said:
drop your bitrate to 3500 and you should be good. And you do not need to disable aero if you're using game capture.

Thanks for a quick answer.
The thing is - I've even tryed 1500, 2000, 2500, 3000, 3500, 4000, 4500 and so on.. Still the same result. :/
 

Biggie

New Member
hilalpro said:
Post a link to your stream.

Here you go http://sv.twitch.tv/njakke

The thing is, when I watch the VODs I dont feel any lag, but when friends/other viewers watch live.. They suffer lag, not long, just a split second from time to time.. and when I enter combat (World of Warcraft) the lag gets bigger.

Most of my friends have 100/10mbit internet connection, so dont really feel that's the problem either. (same computer as me aswell)

; The reason why I got several videos is cuz I'm trying to get the stream flow. Changing bitrate, server etc.
; Latest long video, and they suffered lag during encounter http://www.twitch.tv/njakke/b/387922310
 

Biggie

New Member
I've done some reading (before I did this thread) and other users suffers the same problem as I do.
And to the conclution it's an 'problem' with my upload to twitch servers, or am I mistaken?
 

hilalpro

Member
It shouldn't be because you've tried different servers and you're not getting frame drops so it an issue on server>viewer side. try the settings that i've suggested.
 

Biggie

New Member
hilalpro said:
It shouldn't be because you've tried different servers and you're not getting frame drops so it an issue on server>viewer side. try the settings that i've suggested.

Thanks for helping me out, but idk what your numbers really are :-/

Sharper frames acquire more bitrate.
~4 540p=+910 // 720p=+1600 // 900p=+3900 // 1080p=+8800
~7 540p=+1300 // 720p=+2800 // 900p=+7000 // 1080p=+15000
~10 540p=+1900 // 720p=+4700 // 900p=+13000 // 1080p=+24000
 

hilalpro

Member
Biggie said:
hilalpro said:
It shouldn't be because you've tried different servers and you're not getting frame drops so it an issue on server>viewer side. try the settings that i've suggested.

Thanks for helping me out, but idk what your numbers really are :-/

Sharper frames acquire more bitrate.
~4 540p=+910 // 720p=+1600 // 900p=+3900 // 1080p=+8800
~7 540p=+1300 // 720p=+2800 // 900p=+7000 // 1080p=+15000
~10 540p=+1900 // 720p=+4700 // 900p=+13000 // 1080p=+24000
I sent you a pm.
 

Fas

Member
Currently watching your stream, it was online luckily ;)

I have no issues at all watching your stream, it is perfectly smooth, your ingame fps are fine.
though i have a 100.000k download and a good processor.
I guess its mostly on your viewers end - when you get a twitch partnership some time they may experience less lags when setting quality to 720p.
 

Biggie

New Member
Fas said:
Currently watching your stream, it was online luckily ;)

I have no issues at all watching your stream, it is perfectly smooth, your ingame fps are fine.
though i have a 100.000k download and a good processor.
I guess its mostly on your viewers end - when you get a twitch partnership some time they may experience less lags when setting quality to 720p.

Thanks for watching and reply here at the forum.
Hilalpro helped me out with some settnings that I tried out, seems like it worked just fine! ^_^

Thanks all for the help!!
 
Top