Question / Help Decent FPS - Stream still stutters

Magical_Teapot

New Member
Hello there.

I've been trying to get this whole streaming thing going on, i think i managed to get a good bitrate (I've got 8mb upload speed, i could probably bump it from 1000 to 1500?) and probably not so poor video quality. The problem is even though i manage to achiev over 60 FPS ingame (this using GameSource as my main capture device) i still somehow stutter, could this be an issua with my CPU?

http://www.twitch.tv/s1ckonee/b/371530965 (i forgot i had music going on :c)

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz
CPU Speed: 2660MHz
Physical Memory:  5814MB Total, 1838MB Free
stepping id: 5, model 5, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1360, 768}
monitor 2: pos={1360, 0}, size={1280, 1024}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 540M     
  Video Adapter Dedicated Video Memory: 1026097152
  Video Adapter Shared System Memory: 2780145664
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GT 540M     
  Video Adapter Dedicated Video Memory: 1026097152
  Video Adapter Shared System Memory: 2780145664
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: LG TV (Intel(R) Display Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 5
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 1709, number of frames that lagged: 13 (0.76%) (it's okay for some frames to lag)
x264: frame I:10    Avg QP:25.21  size: 57197
x264: frame P:617   Avg QP:29.75  size:  6268
x264: frame B:1059  Avg QP:34.19  size:   767
x264: consecutive B-frames:  8.8% 11.1% 32.7% 47.4%
x264: mb I  I16..4: 26.7% 38.8% 34.5%
x264: mb P  I16..4:  2.7%  2.1%  0.2%  P16..4: 22.3%  7.4%  2.5%  0.0%  0.0%    skip:62.8%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  5.3%  1.1%  0.1%  direct: 0.6%  skip:92.9%  L0:37.9% L1:54.5% BI: 7.5%
x264: 8x8 transform intra:39.9% inter:23.0%
x264: coded y,uvDC,uvAC intra: 47.3% 47.2% 16.8% inter: 2.8% 2.6% 0.3%
x264: i16 v,h,dc,p: 38% 26% 27% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 13% 36%  6%  6%  6%  7%  5%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 24% 17%  7%  8%  7%  7%  6%  7%
x264: i8c dc,h,v,p: 60% 21% 15%  5%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:719.49
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: LG TV (Intel(R) Display Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 5
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 54, number of frames that lagged: 1 (1.85%) (it's okay for some frames to lag)
x264: frame I:1     Avg QP:28.10  size: 49947
x264: frame P:4     Avg QP:27.52  size:  3195
x264: frame B:11    Avg QP:30.83  size:    62
x264: consecutive B-frames:  5.9%  0.0%  0.0% 94.1%
x264: mb I  I16..4: 24.0% 50.0% 26.0%
x264: mb P  I16..4:  0.2%  0.1%  0.1%  P16..4: 13.0%  1.3%  0.8%  0.0%  0.0%    skip:84.5%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.8%  0.0%  0.0%  direct: 0.0%  skip:99.1%  L0:46.0% L1:53.5% BI: 0.4%
x264: 8x8 transform intra:49.7% inter:20.0%
x264: coded y,uvDC,uvAC intra: 80.4% 69.6% 29.4% inter: 1.2% 1.3% 0.1%
x264: i16 v,h,dc,p: 21% 22% 39% 17%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 15% 24%  9%  7%  7%  8%  7% 10%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 15%  8%  7%  6%  7%  6%  7%
x264: i8c dc,h,v,p: 51% 26% 16%  7%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:949.84
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: LG TV (Intel(R) Display Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 5
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
bufferTime: 2274, outputRateWindowTime: 1000, dropThreshold: 2774
Total frames rendered: 1075, number of frames that lagged: 5 (0.47%) (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:5     Avg QP:29.37  size: 49246
x264: frame P:504   Avg QP:31.89  size:  6130
x264: frame B:528   Avg QP:36.76  size:   691
x264: consecutive B-frames: 29.0%  4.2% 14.4% 52.4%
x264: mb I  I16..4: 29.1% 44.9% 26.1%
x264: mb P  I16..4:  5.6%  3.6%  0.3%  P16..4: 20.0%  5.5%  1.7%  0.0%  0.0%    skip:63.3%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  3.1%  0.8%  0.1%  direct: 0.5%  skip:95.3%  L0:39.1% L1:50.3% BI:10.6%
x264: 8x8 transform intra:38.4% inter:20.9%
x264: coded y,uvDC,uvAC intra: 35.4% 42.1% 11.3% inter: 3.2% 3.3% 0.3%
x264: i16 v,h,dc,p: 35% 28% 27% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 12% 43%  6%  5%  5%  6%  5%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 22% 21%  7%  7%  6%  7%  6%  6%
x264: i8c dc,h,v,p: 65% 19% 13%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:850.00
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 10.455 ms] [avg calls per frame: 1] [children: 38.7%] [unaccounted: 61.3%]
| scene->Preprocess - [0.0861%] [avg time: 0.009 ms] [avg calls per frame: 1]
| video encoding and uploading - [38.7%] [avg time: 4.041 ms] [avg calls per frame: 1] [children: 38.1%] [unaccounted: 0.545%]
| | CopyResource - [0.89%] [avg time: 0.093 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.593%] [avg time: 0.062 ms] [avg calls per frame: 0]
| | call to encoder - [36.5%] [avg time: 3.815 ms] [avg calls per frame: 0]
| | sending stuff out - [0.134%] [avg time: 0.014 ms] [avg calls per frame: 0]
==============================================================

2535805650.png


Extra kitten for your troubles
tumblr_meqgsz9GYt1rmmsdoo1_400.jpg
 

paibox

heros in an halfshel
It's hard to tell for sure, since your logs are of very short streams. Your CPU should be able to handle 720p at 30 frames per seconds, if only just barely, you might not fare so well with games more demanding than LoL. However, what is causing your stutter is most likely that your frame rate in LoL isn't capped, I see it going over 100 a bunch of times in that VOD of yours. OBS does scene rendering on the video card, and if something else is using all of the video card's processing power, this will result in stutter, lagged frames. Try keeping your FPS in LoL capped at 60, if possible.
 

Magical_Teapot

New Member
paibox said:
It's hard to tell for sure, since your logs are of very short streams. Your CPU should be able to handle 720p at 30 frames per seconds, if only just barely, you might not fare so well with games more demanding than LoL. However, what is causing your stutter is most likely that your frame rate in LoL isn't capped, I see it going over 100 a bunch of times in that VOD of yours. OBS does scene rendering on the video card, and if something else is using all of the video card's processing power, this will result in stutter, lagged frames. Try keeping your FPS in LoL capped at 60, if possible.

Hmm, i'll try that and i'll try to do a long stream session later on to see if it works better or such.

Thanks for the quick reply.
 
Top