Question / Help Very high latency when streaming

SantaFox

New Member
Whenever I start streaming to Twitch via OBS, my latency in game increases several times over, from being a solid 40 - 50, it goes up to 3 - 400, making it completely unplayable. I have a fairly good internet connection, but I am not sure exactly how much is required to keep a stable ping while streaming?

3257288853.png


It seems to happen regardless of the game, I have tried CS:GO, DayZ, BF4 etc. I have also tried changing settings in both the server it streams to, and other settings people seemed to have recommended when people lag while streaming, nothing works though, nor even takes a chunk out of the massive increase in latency. Is there any way to fix this or should I just give up?

Code:
08:42:42: Settings::Video: Enabling Aero
08:42:51: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
08:42:51: -------------------------------
08:42:51: CPU Name: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
08:42:51: CPU Speed: 3292MHz
08:42:51: Physical Memory:  4095MB Total, 4095MB Free
08:42:51: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
08:42:51: monitor 1: pos={0, 0}, size={1920, 1080}
08:42:51: Windows Version: 6.1 Build 7601 S
08:42:51: Aero is Enabled
08:42:51: -------------------------------
08:42:51: OBS Modules:
08:42:51: Base Address     Module
08:42:51: 01190000         OBS.exe
08:42:51: 6A130000         OBSApi.dll
08:42:51: 6B170000         DShowPlugin.dll
08:42:51: 6B2C0000         GraphicsCapture.dll
08:42:51: 6A600000         NoiseGate.dll
08:42:51: 6A5E0000         PSVPlugin.dll
08:42:51: ------------------------------------------
08:42:51: Adapter 1
08:42:51:   Video Adapter: NVIDIA GeForce GTX 580
08:42:51:   Video Adapter Dedicated Video Memory: 1559691264
08:42:51:   Video Adapter Shared System Memory: 2684235776
08:42:51:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
08:42:51: Using fixed low latency mode, factor 20
08:42:51: =====Stream Start: 2014-01-25, 08:42:51===============================================
08:42:51:   Multithreaded optimizations: On
08:42:51:   Base resolution: 1920x1080
08:42:51:   Output resolution: 852x480
08:42:51: ------------------------------------------
08:42:51: Loading up D3D10 on NVIDIA GeForce GTX 580 (Adapter 1)...
08:42:51: ------------------------------------------
08:42:51: Audio Format: 48000hz
08:42:51: Playback device Default
08:42:51: ------------------------------------------
08:42:51: Using desktop audio input: Speakers (Realtek High Definition Audio)
08:42:51: ------------------------------------------
08:42:51: Using auxilary audio input: FrontMic (Realtek High Definition Audio)
08:42:51: ------------------------------------------
08:42:51: Audio Encoding: AAC
08:42:51:     bitrate: 48
08:42:51: Using graphics capture
08:42:51: Scene buffering time set to 700
08:42:51: ------------------------------------------
08:42:51: Video Encoding: x264
08:42:51:     fps: 25
08:42:51:     width: 852, height: 480
08:42:51:     preset: fast
08:42:51:     profile: main
08:42:51:     keyint: 50
08:42:51:     CBR: yes
08:42:51:     CFR: yes
08:42:51:     max bitrate: 1300
08:42:51:     buffer size: 1300
08:42:51: ------------------------------------------
08:42:51: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
08:42:51: MMDeviceAudioSource: Frequency for device 'FrontMic (Realtek High Definition Audio)' is 352800, samples per sec is 44100
08:42:55: Using RTMP service: Twitch / Justin.tv
08:42:55:   Server selection: rtmp://live-lhr.justin.tv/app
08:42:55:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
08:42:55: Completed handshake with rtmp://live-lhr.justin.tv/app in 408 ms.
08:42:56: SO_SNDBUF was at 8192
08:42:56: SO_SNDBUF is now 65536
08:42:57: SharedTexCapture hooked
08:42:59: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 11667 / 172032)
08:44:11: Total frames encoded: 1967, total frames duplicated: 1 (0.05%)
08:44:11: Total frames rendered: 1969, number of late frames: 1 (0.05%) (it's okay for some frames to be late)
08:44:11: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
08:44:11: Average send payload: 9473 bytes, average send interval: 67 ms
08:44:11: Number of times waited to send: 450, Waited for a total of 1526438 bytes
08:44:11: Number of b-frames dropped: 238 (13%), Number of p-frames dropped: 252 (14%), Total 490 (26%)
08:44:11: Number of bytes sent: 10392846
08:44:11: 
08:44:11: Profiler time results:
08:44:11: 
08:44:11: ==============================================================
08:44:11: video thread frame - [100%] [avg time: 0.371 ms] [children: 45.6%] [unaccounted: 54.4%]
08:44:11: | scene->Preprocess - [0.27%] [avg time: 0.001 ms]
08:44:11: | GPU download and conversion - [45.3%] [avg time: 0.168 ms] [children: 26.4%] [unaccounted: 18.9%]
08:44:11: | | flush - [21.8%] [avg time: 0.081 ms]
08:44:11: | | CopyResource - [3.23%] [avg time: 0.012 ms]
08:44:11: | | conversion to 4:2:0 - [1.35%] [avg time: 0.005 ms]
08:44:11: Convert444Threads - [100%] [avg time: 0.182 ms] [children: 95.1%] [unaccounted: 4.95%]
08:44:11: | Convert444toNV12 - [95.1%] [avg time: 0.173 ms]
08:44:11: encoder thread frame - [100%] [avg time: 0.496 ms]
08:44:11: ==============================================================
08:44:11: 
08:44:11: 
08:44:11: Profiler CPU results:
08:44:11: 
08:44:11: ==============================================================
08:44:11: video thread frame - [cpu time: avg 0.071 ms, total 140.401 ms] [avg calls per frame: 1]
08:44:11: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:44:11: | GPU download and conversion - [cpu time: avg 0.015 ms, total 31.2 ms] [avg calls per frame: 1]
08:44:11: | | flush - [cpu time: avg 0.007 ms, total 15.6 ms] [avg calls per frame: 1]
08:44:11: | | CopyResource - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
08:44:11: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:44:11: Convert444Threads - [cpu time: avg 0.016 ms, total 62.4 ms] [avg calls per frame: 2]
08:44:11: | Convert444toNV12 - [cpu time: avg 0.016 ms, total 62.4 ms] [avg calls per frame: 2]
08:44:11: encoder thread frame - [cpu time: avg 0.024 ms, total 46.8 ms] [avg calls per frame: 1]
08:44:11: ==============================================================
08:44:11: 
08:44:11: =====Stream End: 2014-01-25, 08:44:11=================================================
 

hilalpro

Member
Looks like you're using way too much bitrate than your connection can actually handle. Lower the bitrate to about 800kbps and keep "Minimize network impact" enabled.
 

SantaFox

New Member
hilalpro said:
Looks like you're using way too much bitrate than your connection can actually handle. Lower the bitrate to about 800kbps and keep "Minimize network impact" enabled.

Well now I feel really silly, that fixed it, thanks a lot.
 
Top