Question / Help 720@60 fps seems like 30 at best

gregsc2

New Member
Hi. For whatever reason, my stream seems to be running well under 60fps, possibly even under 30. I am not sure what is causing it. I have posted a VOD of sc2 workers mining as well as my system specs, a speedtest, and a log. My CPU usage is quite low during gaming + streaming, and game fps never drops below 100. Thank you for any help in advance!

I am using:
-game capture for sc2
-quality: 10
-veryfast
-3000 bitrate/buffer

http://www.twitch.tv/gregsc2/b/380578656

System Specs:
-I7-3770K w/ Corsair H80 Cooler
-32gb ram
-Win 7 Ultimate x64
-GTX 670
-256gb ocz ssd

2590635826.png


Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  32721MB Total, 28296MB 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, 1200}
monitor 2: pos={1920, 62}, size={1680, 1050}
monitor 3: pos={-1680, 80}, size={1680, 1050}
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
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce 210 
  Video Adapter Dedicated Video Memory: 1026162688
  Video Adapter Shared System Memory: 3221114880
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using bitmap image
Using bitmap image
------------------------------------------
    device: Microsoft® LifeCam Cinema(TM),
    device id \\?\usb#vid_045e&pid_075d&mi_00#7&31bd0065&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using Window Capture
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: 60
    width: 1280, height: 800
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 1777, outputRateWindowTime: 1000, dropThreshold: 2277
Total frames rendered: 29660, number of frames that lagged: 5 (0.02%) (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:119   Avg QP:21.16  size:137264
x264: frame P:8301  Avg QP:26.41  size:  7609
x264: frame B:21181 Avg QP:32.76  size:  1001
x264: consecutive B-frames:  3.9%  1.3%  2.8% 92.0%
x264: mb I  I16..4: 14.9% 22.6% 62.6%
x264: mb P  I16..4:  0.9%  1.1%  0.6%  P16..4: 10.5%  3.4%  2.3%  0.0%  0.0%    skip:81.2%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.2%  1.1%  0.2%  direct: 0.7%  skip:95.8%  L0:37.1% L1:45.7% BI:17.2%
x264: 8x8 transform intra:35.7% inter:28.2%
x264: coded y,uvDC,uvAC intra: 73.9% 49.1% 30.6% inter: 2.4% 2.0% 0.8%
x264: i16 v,h,dc,p: 36% 30% 27%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 12% 33%  8%  6%  6%  5%  8%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 17%  9%  8%  7%  7%  8%  9%
x264: i8c dc,h,v,p: 56% 24% 16%  4%
x264: Weighted P-Frames: Y:0.1% UV:0.1%
x264: kb/s:1632.88
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.757 ms] [avg calls per frame: 1] [children: 28.7%] [unaccounted: 71.3%]
| scene->Preprocess - [5.3%] [avg time: 0.252 ms] [avg calls per frame: 1]
| video encoding and uploading - [23.4%] [avg time: 1.112 ms] [avg calls per frame: 1] [children: 23%] [unaccounted: 0.336%]
| | CopyResource - [0.294%] [avg time: 0.014 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.252%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | call to encoder - [22.3%] [avg time: 1.063 ms] [avg calls per frame: 0]
| | sending stuff out - [0.147%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
That vod was 60fps more the most part. Had some fluctuations in some places, especially when you were alt-tabbed, where the game FPS went to 40-50 FPS. Some games do this on purpose to decrease their impact on other applications while you're alt-tabbed. You were at 60 fps for the most in the rest of the video, though. At least from what I saw.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You do indeed have quite a bit of jitter. I notice you have two video cards. Do you think you could turn the preview off in OBS and see if there's a difference? Also, your resolution might be a bit high. Could you also try something for me, turning off "Use multithreaded optimizations" in advanced, and let me know of all the results?
 

gregsc2

New Member
Now I'm scrutinizing and I can't even tell if it is any better.

Turned off the preview and unchecked "Use multithreaded optimizations".
http://www.twitch.tv/gregsc2/b/380600338

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  32721MB Total, 28230MB 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, 1200}
monitor 2: pos={1920, 62}, size={1680, 1050}
monitor 3: pos={-1680, 80}, size={1680, 1050}
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
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce 210 
  Video Adapter Dedicated Video Memory: 1026162688
  Video Adapter Shared System Memory: 3221114880
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1200
  Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using bitmap image
Using bitmap image
------------------------------------------
    device: Microsoft® LifeCam Cinema(TM),
    device id \\?\usb#vid_045e&pid_075d&mi_00#7&31bd0065&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using Window Capture
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: 60
    width: 1280, height: 800
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2293, outputRateWindowTime: 1000, dropThreshold: 2793
Total frames rendered: 18057, number of frames that lagged: 4 (0.02%) (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:73    Avg QP:20.69  size:125185
x264: frame P:5275  Avg QP:25.91  size:  6384
x264: frame B:12650 Avg QP:32.35  size:   562
x264: consecutive B-frames:  5.6%  1.2%  2.6% 90.6%
x264: mb I  I16..4: 15.8% 29.0% 55.2%
x264: mb P  I16..4:  1.3%  2.0%  0.6%  P16..4: 10.2%  2.6%  1.4%  0.0%  0.0%    skip:82.0%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.7%  0.6%  0.1%  direct: 0.4%  skip:97.1%  L0:39.6% L1:48.2% BI:12.1%
x264: 8x8 transform intra:45.5% inter:32.6%
x264: coded y,uvDC,uvAC intra: 73.7% 38.5% 19.9% inter: 1.8% 1.5% 0.5%
x264: i16 v,h,dc,p: 30% 26% 35%  9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 12% 35%  8%  6%  6%  5%  8%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 17%  9%  8%  7%  7%  7%  8%
x264: i8c dc,h,v,p: 60% 22% 15%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1331.30
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.404 ms] [avg calls per frame: 1] [children: 95.3%] [unaccounted: 4.68%]
| scene->Preprocess - [5.61%] [avg time: 0.247 ms] [avg calls per frame: 1]
| video encoding and uploading - [89.7%] [avg time: 3.951 ms] [avg calls per frame: 1] [children: 28.6%] [unaccounted: 61.1%]
| | CopyResource - [0.136%] [avg time: 0.006 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [12.4%] [avg time: 0.545 ms] [avg calls per frame: 0]
| | call to encoder - [15.9%] [avg time: 0.7 ms] [avg calls per frame: 0]
| | sending stuff out - [0.182%] [avg time: 0.008 ms] [avg calls per frame: 0]
==============================================================
 
Top