Question / Help 30+ FPS causes stuttering.

MaloW

New Member
Hi, kinda new to OBS but I wanna try streaming a bit with a higher than 30 FPS, 45 or 60 I'm thinking.
I have everything set up working good with 720p 30 FPS 4k bit rate, but when I try increasing FPS to 45 the output gets really stuttered and gets reduced FPS.
I'm using Game Capture and I'm playing at a constant 70+ FPS while recording, and I have 10 Mbps upload.

Log file of 2 1-minute tests with 45 and 30 fps:
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory:  8174MB Total, 4585MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={-1920, 0}, size={1920, 1080}
monitor 2: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 570 
  Video Adapter Dedicated Video Memory: 1293352960
  Video Adapter Shared System Memory: 2952937472


=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DS Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2438, outputRateWindowTime: 1000, dropThreshold: 2938
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (534266 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534266 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (532569 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 1048576
RTMPPublisher::BufferedSend: Socket buffer is full (532569 / 536576 bytes), waiting to send 4097 bytes
Total frames rendered: 3169, number of frames that lagged: 10 (0.32%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 85 (2.7%), Number of p-frames dropped: 53 (1.7%), Total 138 (4.4%)
x264: frame I:15    Avg QP:21.57  size: 46019
x264: frame P:1235  Avg QP:25.42  size: 11626
x264: frame B:1873  Avg QP:26.40  size:  2753
x264: consecutive B-frames:  8.9% 20.4% 39.3% 31.5%
x264: mb I  I16..4: 37.0% 37.6% 25.4%
x264: mb P  I16..4:  5.1%  6.6%  0.7%  P16..4: 25.4% 11.2%  3.9%  0.0%  0.0%    skip:47.2%
x264: mb B  I16..4:  1.2%  1.8%  0.2%  B16..8:  9.4%  2.6%  0.2%  direct: 1.8%  skip:82.8%  L0:35.0% L1:53.3% BI:11.6%
x264: 8x8 transform intra:53.2% inter:36.0%
x264: coded y,uvDC,uvAC intra: 44.9% 18.8% 4.8% inter: 6.3% 2.0% 0.0%
x264: i16 v,h,dc,p: 33% 30% 22% 15%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 26% 31%  6%  6%  3%  7%  3%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 26% 24%  5%  7%  4%  7%  3%  7%
x264: i8c dc,h,v,p: 74% 16%  9%  1%
x264: Weighted P-Frames: Y:7.2% UV:0.2%
x264: kb/s:2288.14
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DS Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2118, outputRateWindowTime: 1000, dropThreshold: 2618
RTMPPublisher::BufferedSend: Socket buffer is full (533771 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (533771 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535950 / 536576 bytes), waiting to send 2710 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
RTMPPublisher::BufferedSend: Socket buffer is full (535950 / 536576 bytes), waiting to send 2710 bytes
Total frames rendered: 2999, number of frames that lagged: 9 (0.30%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 34 (1.2%), Number of p-frames dropped: 0 (0%), Total 34 (1.2%)
x264: frame I:19    Avg QP:20.63  size: 66702
x264: frame P:1319  Avg QP:25.75  size: 17242
x264: frame B:1623  Avg QP:27.48  size:  4918
x264: consecutive B-frames:  9.8% 43.1% 24.2% 22.8%
x264: mb I  I16..4: 33.7% 35.4% 30.9%
x264: mb P  I16..4:  5.8%  7.8%  1.1%  P16..4: 27.5% 14.5%  5.4%  0.0%  0.0%    skip:37.8%
x264: mb B  I16..4:  1.5%  2.3%  0.4%  B16..8: 13.0%  4.5%  0.5%  direct: 3.0%  skip:74.9%  L0:35.1% L1:48.9% BI:16.0%
x264: 8x8 transform intra:52.5% inter:33.0%
x264: coded y,uvDC,uvAC intra: 49.5% 18.9% 4.9% inter: 10.7% 3.0% 0.1%
x264: i16 v,h,dc,p: 32% 32% 23% 13%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 29% 28%  6%  5%  3%  8%  4%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 23%  6%  7%  5%  8%  4%  6%
x264: i8c dc,h,v,p: 73% 17%  9%  1%
x264: Weighted P-Frames: Y:9.9% UV:4.2%
x264: kb/s:2569.52
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.658 ms] [avg calls per frame: 1] [children: 79.9%] [unaccounted: 20.1%]
| scene->Preprocess - [0.109%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [79.7%] [avg time: 2.917 ms] [avg calls per frame: 1] [children: 30.6%] [unaccounted: 49.2%]
| | CopyResource - [0.601%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.56%] [avg time: 0.057 ms] [avg calls per frame: 0]
| | call to encoder - [28.1%] [avg time: 1.027 ms] [avg calls per frame: 0]
| | sending stuff out - [0.355%] [avg time: 0.013 ms] [avg calls per frame: 0]
==============================================================

VODs of the recordings:
45 FPS: http://www.twitch.tv/malowiz/b/373017304 (First 20 sec is black)
30 FPS: http://www.twitch.tv/malowiz/b/373018378


Ive tried lowering my bit rate to 2k to see if it's my network speed that can't do 4k 45FPS, but that didn't help.
Thanks in advance.
 

R1CH

Forum Admin
Developer
45 FPS VOD looks fine here. Most likely a problem with your flash player / GPU decoder / etc.
 

MaloW

New Member
R1CH said:
45 FPS VOD looks fine here. Most likely a problem with your flash player / GPU decoder / etc.

Thanks for the quick response! I asked around a few of my friends to watch the VOD and some reports having the same lag as I do while it works for some. I'm guessing it might have to do with me using Flash 10.3 for Firefox, since everything newer than that crashes a lot. Usually I can watch 60 FPS streams just fine tho, but Ill try updating my flash. Thanks!
 

MaloW

New Member
After updating flash it isn't lagging anymore for me! I'll tell all my friends to update it too! Thanks!
 
Top