Hi, I'm having a bit of trouble getting a lag-free/stable stream set up going. I'm currently using settings at much lower than the suggestions from the estimator, but I'm still getting some lag/network spikes each minute while streaming Starcraft 2.
Details from my log are below - how can I change my settings to improve the lag I'm getting? Also am I limited more so by my hardware or my network?
Details from my log are below - how can I change my settings to improve the lag I'm getting? Also am I limited more so by my hardware or my network?
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
Physical Memory: 6115MB Total, 2880MB 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={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 570
Video Adapter Dedicated Video Memory: 1309081600
Video Adapter Shared System Memory: 2937767936
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Monitor Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
fps: 20
width: 1600, height: 900
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1564, outputRateWindowTime: 1000, dropThreshold: 2064
Total frames rendered: 2428, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:12 Avg QP:24.11 size: 78715
x264: frame P:736 Avg QP:26.53 size: 10629
x264: frame B:1647 Avg QP:31.42 size: 1713
x264: consecutive B-frames: 7.3% 2.0% 2.5% 88.1%
x264: mb I I16..4: 37.3% 35.9% 26.8%
x264: mb P I16..4: 4.0% 3.2% 1.2% P16..4: 7.4% 1.8% 1.1% 0.0% 0.0% skip:81.4%
x264: mb B I16..4: 0.2% 0.1% 0.0% B16..8: 1.9% 0.9% 0.2% direct: 0.9% skip:95.8% L0:41.9% L1:45.3% BI:12.8%
x264: 8x8 transform intra:37.6% inter:19.9%
x264: coded y,uvDC,uvAC intra: 43.4% 34.1% 19.4% inter: 1.9% 2.2% 0.9%
x264: i16 v,h,dc,p: 44% 31% 19% 6%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 14% 37% 8% 12% 4% 7% 3% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 23% 18% 7% 10% 6% 7% 5% 6%
x264: i8c dc,h,v,p: 62% 22% 14% 2%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:773.54
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Monitor Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 20
width: 1064, height: 600
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1515, outputRateWindowTime: 1000, dropThreshold: 2015
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 11152, number of frames that lagged: 3 (0.03%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 31 (0.28%), Number of p-frames dropped: 27 (0.24%), Total 58 (0.52%)
x264: frame I:55 Avg QP:20.60 size: 63470
x264: frame P:3654 Avg QP:26.01 size: 8555
x264: frame B:7410 Avg QP:31.77 size: 1268
x264: consecutive B-frames: 9.3% 2.9% 7.9% 79.9%
x264: mb I I16..4: 27.9% 25.4% 46.7%
x264: mb P I16..4: 4.0% 4.8% 2.0% P16..4: 10.3% 3.6% 2.3% 0.0% 0.0% skip:72.9%
x264: mb B I16..4: 0.1% 0.1% 0.0% B16..8: 2.6% 1.5% 0.4% direct: 1.2% skip:94.1% L0:38.8% L1:45.1% BI:16.0%
x264: 8x8 transform intra:41.6% inter:21.8%
x264: coded y,uvDC,uvAC intra: 56.9% 44.9% 23.5% inter: 3.5% 3.6% 1.7%
x264: i16 v,h,dc,p: 34% 33% 23% 9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 17% 32% 8% 9% 5% 6% 5% 7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 24% 18% 7% 9% 6% 7% 5% 6%
x264: i8c dc,h,v,p: 55% 27% 15% 3%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:633.84
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Monitor Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 20
width: 1064, height: 600
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
Total frames rendered: 41, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
x264: frame I:1 Avg QP:11.00 size: 957
x264: frame P:2 Avg QP:11.00 size: 33
x264: frame B:5 Avg QP:14.20 size: 29
x264: consecutive B-frames: 11.1% 0.0% 0.0% 88.9%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
x264: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 97% 0% 3% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:23.38
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Monitor Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
fps: 20
width: 1600, height: 900
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1519, outputRateWindowTime: 1000, dropThreshold: 2019
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 4303, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:22 Avg QP:24.26 size: 78100
x264: frame P:1279 Avg QP:26.58 size: 10627
x264: frame B:2968 Avg QP:32.31 size: 1591
x264: consecutive B-frames: 6.3% 1.6% 4.4% 87.7%
x264: mb I I16..4: 38.7% 34.7% 26.6%
x264: mb P I16..4: 3.9% 2.9% 1.2% P16..4: 7.8% 2.1% 1.2% 0.0% 0.0% skip:80.8%
x264: mb B I16..4: 0.1% 0.1% 0.0% B16..8: 1.9% 0.9% 0.2% direct: 0.9% skip:95.9% L0:42.2% L1:46.8% BI:10.9%
x264: 8x8 transform intra:35.6% inter:18.2%
x264: coded y,uvDC,uvAC intra: 40.6% 37.4% 22.6% inter: 1.8% 2.5% 1.0%
x264: i16 v,h,dc,p: 45% 31% 16% 8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 18% 35% 9% 5% 4% 5% 4% 6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 24% 18% 7% 7% 6% 6% 5% 6%
x264: i8c dc,h,v,p: 58% 25% 14% 3%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:749.46
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Monitor Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
fps: 20
width: 1600, height: 900
preset: veryfast
CBR: no
CFR: no
max bitrate: 1000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1518, outputRateWindowTime: 1000, dropThreshold: 2018
Total frames rendered: 17059, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:84 Avg QP:30.07 size: 69786
x264: frame P:6014 Avg QP:31.52 size: 11124
x264: frame B:10928 Avg QP:36.21 size: 1326
x264: consecutive B-frames: 12.5% 3.1% 7.7% 76.6%
x264: mb I I16..4: 36.7% 42.5% 20.9%
x264: mb P I16..4: 6.6% 6.4% 0.9% P16..4: 10.6% 2.0% 1.0% 0.0% 0.0% skip:72.5%
x264: mb B I16..4: 0.1% 0.1% 0.0% B16..8: 1.9% 0.8% 0.1% direct: 0.7% skip:96.2% L0:41.2% L1:48.7% BI:10.1%
x264: 8x8 transform intra:45.4% inter:27.2%
x264: coded y,uvDC,uvAC intra: 40.3% 30.0% 14.9% inter: 2.3% 2.5% 0.7%
x264: i16 v,h,dc,p: 38% 30% 25% 8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 14% 42% 8% 6% 4% 6% 5% 6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 24% 20% 7% 7% 6% 6% 5% 6%
x264: i8c dc,h,v,p: 72% 17% 9% 1%
x264: Weighted P-Frames: Y:0.1% UV:0.1%
x264: kb/s:819.39
=====Stream End=======================================================================
Profiler results:
==============================================================
frame - [100%] [avg time: 3.016 ms] [avg calls per frame: 1] [children: 83.6%] [unaccounted: 16.4%]
| scene->Preprocess - [0.133%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [83.4%] [avg time: 2.516 ms] [avg calls per frame: 1] [children: 56%] [unaccounted: 27.4%]
| | CopyResource - [0.564%] [avg time: 0.017 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.49%] [avg time: 0.045 ms] [avg calls per frame: 0]
| | call to encoder - [53.5%] [avg time: 1.613 ms] [avg calls per frame: 0]
| | sending stuff out - [0.497%] [avg time: 0.015 ms] [avg calls per frame: 0]
==============================================================
