Hi there I've recently been having strange latency spikes while streaming that I can't explain.
They seem to be quite random for instance it will go a minute to a minute and a half without a spike then the connection spikes then another minute to minute and a half then another spike ect ect. At other times the connection will be stable for upwards of 30+ mins or even longer without issue.
This really has me stumped at first I thought it might be some sort of cap / throttling by my isp but to my knowledge my isp does not do that. Next idea I had was upload speed / bit rate my upload speed is 10mb/s which I would think is more then enough to run my stream at 3000 bit rate which it has been as this problem only started just recently.
So at this point I'm all out of ideas any help would be greatly appreciated and if any more info is needed feel free to ask.
They seem to be quite random for instance it will go a minute to a minute and a half without a spike then the connection spikes then another minute to minute and a half then another spike ect ect. At other times the connection will be stable for upwards of 30+ mins or even longer without issue.
This really has me stumped at first I thought it might be some sort of cap / throttling by my isp but to my knowledge my isp does not do that. Next idea I had was upload speed / bit rate my upload speed is 10mb/s which I would think is more then enough to run my stream at 3000 bit rate which it has been as this problem only started just recently.
So at this point I'm all out of ideas any help would be greatly appreciated and if any more info is needed feel free to ask.
Code:
11:37:58: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
11:37:58: -------------------------------
11:37:58: CPU Name: AMD Phenom(tm) II X6 1090T Processor
11:37:58: CPU Speed: 3210MHz
11:37:58: Physical Memory: 4095MB Total, 4095MB Free
11:37:58: stepping id: 0, model 10, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 6, total cores 6
11:37:58: monitor 1: pos={0, 0}, size={1920, 1080}
11:37:58: monitor 2: pos={1920, 0}, size={1920, 1080}
11:37:58: Windows Version: 6.1 Build 7600
11:37:58: Aero is Disabled
11:37:58: -------------------------------
11:37:58: OBS Modules:
11:37:58: Base Address Module
11:37:58: 01100000 OBS.exe
11:37:58: 66870000 OBSApi.dll
11:37:58: 681A0000 DShowPlugin.dll
11:37:58: 697B0000 GraphicsCapture.dll
11:37:58: 677B0000 NoiseGate.dll
11:37:58: 67790000 PSVPlugin.dll
11:37:58: ------------------------------------------
11:37:58: Adapter 1
11:37:58: Video Adapter: AMD Radeon HD 5800 Series
11:37:58: Video Adapter Dedicated Video Memory: 2118746112
11:37:58: Video Adapter Shared System Memory: 4025575424
11:37:58: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
11:37:58: Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
11:37:58: =====Stream Start: 2014-01-13, 11:37:58===============================================
11:37:58: Multithreaded optimizations: On
11:37:58: Base resolution: 1920x1080
11:37:58: Output resolution: 1280x720
11:37:58: ------------------------------------------
11:37:58: Loading up D3D10 on AMD Radeon HD 5800 Series (Adapter 1)...
11:37:58: ------------------------------------------
11:37:58: Audio Format: 48000hz
11:37:58: Playback device {0.0.0.00000000}.{51f93727-ef1b-4237-bb37-5e6aeb8aa0d4}
11:37:58: ------------------------------------------
11:37:58: Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
11:37:58: Using 7.1 surround speaker setup
11:37:58: ------------------------------------------
11:37:58: Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
11:37:58: ------------------------------------------
11:37:58: Audio Encoding: AAC
11:37:58: bitrate: 128
11:37:58: Using graphics capture
11:37:58: Scene buffering time set to 700
11:37:58: ------------------------------------------
11:37:58: Video Encoding: x264
11:37:58: fps: 25
11:37:58: width: 1280, height: 720
11:37:58: preset: veryfast
11:37:58: profile: high
11:37:58: keyint: 50
11:37:58: CBR: yes
11:37:58: CFR: yes
11:37:58: max bitrate: 3000
11:37:58: buffer size: 3000
11:37:58: ------------------------------------------
11:37:58: MMDeviceAudioSource: Frequency for device 'Speakers (ASUS Xonar DX Audio Device)' is 1411200, samples per sec is 44100
11:37:58: MMDeviceAudioSource: Frequency for device 'Microphone (ASUS Xonar DX Audio Device)' is 352800, samples per sec is 44100
11:37:59: SharedTexCapture hooked
11:38:00: Using RTMP service: Twitch / Justin.tv
11:38:00: Server selection: rtmp://live-iad.justin.tv/app
11:38:00: Interface: Marvell Yukon 88E8059 PCI-E Gigabit Ethernet Controller (ethernet, 1000 mbps)
11:38:00: Completed handshake with rtmp://live-iad.justin.tv/app in 261 ms.
11:38:01: SO_SNDBUF was at 8192
11:38:01: SO_SNDBUF is now 65536
11:38:02: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 26959 / 400384)
11:38:03: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 435 / 400384)
11:38:07: RTMPPublisher::SocketLoop: Stalled for 4202 ms to write 398268 bytes (buffer: 0 / 400384), unstable connection?
11:38:40: RTMPPublisher::SocketLoop: Stalled for 4562 ms to write 397117 bytes (buffer: 0 / 400384), unstable connection?
11:38:59: RTMPPublisher::SocketLoop: Stalled for 4499 ms to write 399192 bytes (buffer: 0 / 400384), unstable connection?
11:39:00: Total frames encoded: 1537, total frames duplicated: 4 (0.26%)
11:39:00: Total frames rendered: 1540, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
11:39:00: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
11:39:00: Average send payload: 9555 bytes, average send interval: 28 ms
11:39:00: Number of times waited to send: 10, Waited for a total of 37642 bytes
11:39:00: Number of b-frames dropped: 62 (4.3%), Number of p-frames dropped: 195 (13%), Total 257 (18%)
11:39:00: Number of bytes sent: 19291943
11:39:00:
11:39:00: Profiler time results:
11:39:00:
11:39:00: ==============================================================
11:39:00: video thread frame - [100%] [avg time: 0.845 ms] [children: 89.7%] [unaccounted: 10.3%]
11:39:00: | scene->Preprocess - [0.118%] [avg time: 0.001 ms]
11:39:00: | GPU download and conversion - [89.6%] [avg time: 0.757 ms] [children: 81.1%] [unaccounted: 8.52%]
11:39:00: | | flush - [78.6%] [avg time: 0.664 ms]
11:39:00: | | CopyResource - [1.78%] [avg time: 0.015 ms]
11:39:00: | | conversion to 4:2:0 - [0.71%] [avg time: 0.006 ms]
11:39:00: Convert444Threads - [100%] [avg time: 0.517 ms] [children: 96.3%] [unaccounted: 3.68%]
11:39:00: | Convert444toNV12 - [96.3%] [avg time: 0.498 ms]
11:39:00: encoder thread frame - [100%] [avg time: 1.566 ms]
11:39:00: ==============================================================
11:39:00:
11:39:00:
11:39:00: Profiler CPU results:
11:39:00:
11:39:00: ==============================================================
11:39:00: video thread frame - [cpu time: avg 0.03 ms, total 46.8 ms] [avg calls per frame: 1]
11:39:00: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:39:00: | GPU download and conversion - [cpu time: avg 0.03 ms, total 46.8 ms] [avg calls per frame: 1]
11:39:00: | | flush - [cpu time: avg 0.03 ms, total 46.8 ms] [avg calls per frame: 1]
11:39:00: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:39:00: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
11:39:00: Convert444Threads - [cpu time: avg 0.059 ms, total 358.801 ms] [avg calls per frame: 4]
11:39:00: | Convert444toNV12 - [cpu time: avg 0.056 ms, total 343.201 ms] [avg calls per frame: 4]
11:39:00: encoder thread frame - [cpu time: avg 0.975 ms, total 1482.01 ms] [avg calls per frame: 1]
11:39:00: ==============================================================
11:39:00:
11:39:00: =====Stream End: 2014-01-13, 11:39:00=================================================