Question / Help Input on Potential Enhancements to Stream Settings

Trentelshark

New Member
Hi,

So I recently started streaming a couple of days ago and after some modifications to settings seem to have something that is running stable for hours at a time. I am curious if anyone has recommendations based on my logs (from two sessions yesterday, one SC2 and one PS2) on what I could potentially do to improve the quality at all.

I ran the testmy speedtest for 33MB multiple times and always came out to 1.97Mbps (my advertised upload is 2Mbps so not bad :)) but when playing PS2 I do use teamspeak and will occasionally share the internet while streaming when my g/f is home so I don't want to totally max it out. Any input is appreciated since I'm new to this and still learning the ropes.

One thing to note that this doesn't point out as far as I can tell, I do have 2 GTX 460 SC 768MB (both) in the desktop but as best I understand it, OBS has to link into the framebuffer on the primary GPU so correct me if I am wrong. I am aiming for a quality 480p stream, I don't think I have the upload necessary for 720p.

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz
CPU Speed: 2786MHz
Physical Memory:  8183MB Total, 5182MB Free
stepping id: 5, model 10, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 460
  Video Adapter Dedicated Video Memory: 758579200
  Video Adapter Shared System Memory: 3489984512
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 744x466
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition 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: 744, height: 466
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1400
    buffer size: 1400
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1556, outputRateWindowTime: 1000, dropThreshold: 2056
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 134209, number of frames that lagged: 33 (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:593   Avg QP:21.34  size: 53224
x264: frame P:42992 Avg QP:25.84  size:  4367
x264: frame B:90580 Avg QP:31.52  size:   350
x264: consecutive B-frames:  8.3%  3.0%  5.6% 83.0%
x264: mb I  I16..4: 16.7% 18.5% 64.8%
x264: mb P  I16..4:  1.1%  1.9%  1.2%  P16..4: 12.5%  4.0%  3.0%  0.0%  0.0%    skip:76.3%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.0%  0.8%  0.2%  direct: 0.6%  skip:96.3%  L0:36.2% L1:49.7% BI:14.1%
x264: 8x8 transform intra:38.9% inter:28.4%
x264: coded y,uvDC,uvAC intra: 81.1% 45.6% 25.6% inter: 3.7% 1.9% 0.5%
x264: i16 v,h,dc,p: 22% 39% 30%  9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 18% 28%  8%  7%  6%  7%  6% 11%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 17%  8%  8%  7%  8%  6%  9%
x264: i8c dc,h,v,p: 58% 26% 12%  4%
x264: Weighted P-Frames: Y:0.2% UV:0.1%
x264: kb/s:448.77
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 744x466
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition 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: 744, height: 466
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1400
    buffer size: 1400
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1488, outputRateWindowTime: 1000, dropThreshold: 1988
Total frames rendered: 259, number of frames that lagged: 1 (0.39%) (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:1     Avg QP:24.09  size: 36342
x264: frame P:55    Avg QP:24.38  size:  1170
x264: frame B:159   Avg QP:28.22  size:    46
x264: consecutive B-frames:  0.9%  0.0%  0.0% 99.1%
x264: mb I  I16..4:  3.7% 27.8% 68.5%
x264: mb P  I16..4:  0.5%  0.7%  0.1%  P16..4: 10.8%  3.0%  1.3%  0.0%  0.0%    skip:83.8%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.7%  0.1%  0.0%  direct: 0.3%  skip:98.9%  L0:40.5% L1:57.1% BI: 2.4%
x264: 8x8 transform intra:38.8% inter:52.3%
x264: coded y,uvDC,uvAC intra: 71.4% 62.9% 40.4% inter: 1.4% 1.0% 0.1%
x264: i16 v,h,dc,p: 19% 53% 15% 14%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 44% 16%  2%  3%  2%  5%  1%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 36%  8%  3%  7%  5%  9%  4%  8%
x264: i8c dc,h,v,p: 42% 36% 17%  5%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:116.70
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 744x466
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition 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: 744, height: 466
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1400
    buffer size: 1400
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1510, outputRateWindowTime: 1000, dropThreshold: 2010
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 81724, number of frames that lagged: 17 (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:616   Avg QP:23.76  size: 29103
x264: frame P:45905 Avg QP:27.24  size:  5617
x264: frame B:35159 Avg QP:30.05  size:   981
x264: consecutive B-frames: 33.5% 25.4%  6.1% 35.1%
x264: mb I  I16..4: 17.6% 36.5% 45.9%
x264: mb P  I16..4:  4.3%  7.3%  1.5%  P16..4: 22.8% 12.2%  5.4%  0.0%  0.0%    skip:46.6%
x264: mb B  I16..4:  0.5%  0.7%  0.0%  B16..8:  9.5%  3.8%  0.4%  direct: 1.7%  skip:83.4%  L0:32.7% L1:52.4% BI:14.8%
x264: 8x8 transform intra:54.4% inter:37.7%
x264: coded y,uvDC,uvAC intra: 52.1% 36.0% 11.0% inter: 10.3% 5.8% 0.5%
x264: i16 v,h,dc,p: 28% 41% 20% 11%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 29% 24%  3%  4%  3%  6%  3%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 26% 18%  5%  6%  5%  8%  4%  7%
x264: i8c dc,h,v,p: 58% 25% 15%  2%
x264: Weighted P-Frames: Y:3.4% UV:1.3%
x264: kb/s:910.63
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 2.716 ms] [avg calls per frame: 1] [children: 82.3%] [unaccounted: 17.7%]
| scene->Preprocess - [0.0736%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.2%] [avg time: 2.233 ms] [avg calls per frame: 1] [children: 22%] [unaccounted: 60.2%]
| | CopyResource - [0.7%] [avg time: 0.019 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.92%] [avg time: 0.025 ms] [avg calls per frame: 0]
| | call to encoder - [19.9%] [avg time: 0.541 ms] [avg calls per frame: 0]
| | sending stuff out - [0.479%] [avg time: 0.013 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
if you want to stream at a 2.25 downscale you could also put the quality at 10 as that bitrate will be more than enough for that.

otherwise you should do a 1.5 downscale and lower the quality to 7 or 6
 

Trentelshark

New Member
Thanks for the input. I have given the higher resolution a try over the last few days and in PS2 and SC2 (both medium settings) and it seems to put a strain on my CPU in PS2 and late-game SC2 as more units are on-screen. SC2 seems better when I turn physics off but it still feels sluggish. I get noticable frame/input delay in both.

I am still experimenting but dropped back to a 2.25 downscale for now at quality 10 which seems better. I may be time for an upgrade in the near future anyways but at least my connection holds up to it :). Other than that OBS is solid as a rock for me and my brother who has also started using it.
 
Top