Question / Help Stream stuttering, what settings should I use?

Kaninstek

New Member
Internet:
2548454036.png


System Specifications:
OS: Microsoft Windows 7
CPU: Intel I7 3770k @3.7ghz
GPU: NVIDIA GeForce 680
RAM: ~12 GB

Log:
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  12242MB Total, 9202MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 680
  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 {0.0.0.00000000}.{fa3206b7-00d4-41c7-8664-7eb1ecb2402e}
------------------------------------------
Using desktop audio input: Realtek Digital Output (2- Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: yes
    CFR: yes
    max bitrate: 4000
------------------------------------------
Total frames rendered: 48, number of frames that lagged: 48 (100.00%) (it's okay for some frames to lag)
Total duplicated CFR frames: 58
x264: frame I:1     Avg QP:30.34  size: 90033
x264: frame P:16    Avg QP:27.10  size: 13396
x264: frame B:48    Avg QP:28.98  size:  3902
x264: consecutive B-frames:  1.5%  0.0%  0.0% 98.5%
x264: mb I  I16..4: 38.7% 34.1% 27.2%
x264: mb P  I16..4:  2.5%  0.4%  0.1%  P16..4: 18.9%  4.0%  1.7%  0.0%  0.0%    skip:72.4%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.9%  0.1%  0.0%  direct: 0.1%  skip:98.9%  L0:32.4% L1:65.8% BI: 1.8%
x264: 8x8 transform intra:27.3% inter:26.5%
x264: coded y,uvDC,uvAC intra: 41.5% 38.4% 14.8% inter: 2.0% 2.3% 0.3%
x264: i16 v,h,dc,p: 27% 64%  7%  2%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 24% 18%  6%  6%  7%  8%  6%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 35% 12%  4%  6%  5%  7%  4%  5%
x264: i8c dc,h,v,p: 59% 23% 15%  4%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:3630.77
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{fa3206b7-00d4-41c7-8664-7eb1ecb2402e}
------------------------------------------
Using desktop audio input: Realtek Digital Output (2- Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: yes
    CFR: yes
    max bitrate: 4000
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2015, outputRateWindowTime: 1000, dropThreshold: 2515
Total frames rendered: 27250, number of frames that lagged: 27250 (100.00%) (it's okay for some frames to lag)
Total duplicated CFR frames: 51641
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:328   Avg QP:26.27  size:164737
x264: frame P:32979 Avg QP:29.78  size: 16694
x264: frame B:45541 Avg QP:33.98  size:  1151
x264: consecutive B-frames: 18.8%  7.4% 15.5% 58.3%
x264: mb I  I16..4: 24.6% 32.4% 43.0%
x264: mb P  I16..4:  1.5%  1.6%  0.8%  P16..4: 11.4%  3.4%  1.9%  0.0%  0.0%    skip:79.5%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.5%  0.1%  0.0%  direct: 0.3%  skip:98.1%  L0:54.8% L1:41.8% BI: 3.4%
x264: 8x8 transform intra:39.9% inter:27.0%
x264: coded y,uvDC,uvAC intra: 56.4% 62.5% 35.7% inter: 2.7% 3.2% 0.7%
x264: i16 v,h,dc,p: 37% 30% 25%  8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 13% 30%  8%  9%  7%  8%  5%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 19% 20%  8%  9%  7%  8%  6%  8%
x264: i8c dc,h,v,p: 57% 22% 15%  7%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:3999.76
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 48.255 ms] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.23%]
| scene->Preprocess - [80.9%] [avg time: 39.062 ms] [avg calls per frame: 1]
| video encoding and uploading - [18.8%] [avg time: 9.082 ms] [avg calls per frame: 1] [children: 13.1%] [unaccounted: 5.74%]
| | CopyResource - [0.0414%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.00414%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [13%] [avg time: 6.263 ms] [avg calls per frame: 2]
| | sending stuff out - [0.0601%] [avg time: 0.029 ms] [avg calls per frame: 2]
==============================================================

RESULT STREAM: http://sv.twitch.tv/kaninstek/b/379416409

Fraps and the in-game FPS counter never drops below 100 fps (I think) but when I'm playing it feels like 25-30 FPS and the stream shows it as 25-30 fps aswell.
I did a short test with Game Capture instead of Software Catcher and it seemed to increase the performance a bit, but it could also be that I lowered the Quality Blanace from 10 to 8.
I really have no idea what I'm doing, so if anyone could just like help me with what settings would be optimal for me I would greatly appreciate it.
Thanks!
 

TheD5

Member
First of all if you are playing games always use game capture or Window capture since Software capture is the worst of all for your overall performance.

Try to lower your fps to 30 also don't use CBR and CFR it won't make your stream better but more likely worse. Also try to use
Low-Latency-Modus in Broadcast Settings since your ping is not stable.

If this doesn't help try to downscale to 1280x720 and set fps to 60.
 

Kaninstek

New Member
Thanks, I'll try changing some settings after school,
however I don't want to lower the fps or quality since I think my net/pc should be able to handle it.

And about the ping, it is normally stable (fiber), I think I was patching neverwinter in the background which may've caused the weird ping.
 

TheD5

Member
Also 1080p @ 60fps will mostly cause lag because flashplayer can't handle it. I recommend setting fps to 45 or 30
 

Kaninstek

New Member
I got it pretty stable at 60fps and 1080p now, but I do notice some instability in the ping still, never really settling and jumping up and down even though I now had no background interference.
Since it never really goes above 60 ping I don't really notice any lag or ping impact while playing so it's not really a problem, but what settings in the OBS have an impact on ping?
I mean, if there is something I can do to stabilize the ping without killing the quality or performance of the stream I'll of course happily do it :)!

Curret result stream: http://sv.twitch.tv/kaninstek/b/379706732#

The low-latency thing under Broadcast settings were enabled during the stream btw.
 

hilalpro

Member
but what settings in the OBS have an impact on ping?
just about everything. the major ones are the quality setting, the resolution. the bitrate and the bufsize. ping is only a problem if you think that it effects your game play in a very noticeable way.
 

j0hanSE

New Member
i've also had really much frames droped yday on my new system, i5-3570k.. 15% of total on 2h stream.

Is it the connection to the twitch or is it my buffer settings as Kaninstek said?
 
it depends. when he tells u it lags go and cehck obs and if ur not dropping frames and everything looks perfect chances are its a server side issue. even on some of the best streams people sometimes get that video only lag becuase twitchs servers suck.
 
Top