Question / Help Lag Spikes while streaming League of Legends

HyliteGaming

New Member
Hello all,

I'm having an issue that I can't get my head around. I use to stream league of legends on a 25/3 connection from Comcast in a different state. I used xsplit at the time, but I never had any issues and NEVER seen my ping fluctuate while playing/streaming. I moved to Columbus, Ohio and now have Time Warner cable with a 50/5 download/upload speed to Chicago, IL. My speedtest is here: http://www.speedtest.net/result/3323142454.png. I tried xsplit and could not play due to lag. I moved to OBS and it's better, but I'm still getting issues.

When I am not streaming I am at about 90~ping in game. When I turn the stream on with a 1800 bitrate I fluctuate from 90 to 95 to 100 then 115 then back to 90 and repeat. If I turn on Minimize Network Impact on my OBS then i see 0 latency spikes in game, but my friends/viewers report that my stream seems to stop and then restart every so often - so it essentially isn't helping at all.

Does anyone have any ideas?

Here is my log ( I believe this is the correct log) - It is short because I was just doing testing but I can provide other or test more if need be.


Code:
23:33:06: Open Broadcaster Software v0.611b - 32bit (´・ω・`)
23:33:06: -------------------------------
23:33:06: CPU Name: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
23:33:06: CPU Speed: 3103MHz
23:33:06: Physical Memory:  4095MB Total, 4095MB Free
23:33:06: stepping id: 5, model 26, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
23:33:06: monitor 1: pos={0, 0}, size={1920, 1080}
23:33:06: monitor 2: pos={1920, 0}, size={1920, 1080}
23:33:06: Windows Version: 6.1 Build 7601 S
23:33:06: Aero is Enabled
23:33:06: -------------------------------
23:33:06: OBS Modules:
23:33:06: Base Address     Module
23:33:06: 012D0000         OBS.exe
23:33:06: 6A310000         OBSApi.dll
23:33:06: 6C8E0000         DShowPlugin.dll
23:33:06: 6CA80000         GraphicsCapture.dll
23:33:06: 6C940000         NoiseGate.dll
23:33:06: 6C8C0000         PSVPlugin.dll
23:33:06: ------------------------------------------
23:33:06: Adapter 1
23:33:06:   Video Adapter: NVIDIA GeForce GTX 460
23:33:06:   Video Adapter Dedicated Video Memory: 1025966080
23:33:06:   Video Adapter Shared System Memory: 3221106688
23:33:06:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:33:06:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
23:33:06: Using fixed low latency mode, factor 20
23:33:06: =====Stream Start: 2014-02-20, 23:33:06===============================================
23:33:06:   Multithreaded optimizations: On
23:33:06:   Base resolution: 1920x1080
23:33:06:   Output resolution: 1280x720
23:33:06: ------------------------------------------
23:33:06: Loading up D3D10 on NVIDIA GeForce GTX 460 (Adapter 1)...
23:33:06: ------------------------------------------
23:33:06: Audio Format: 48000hz
23:33:06: Playback device Default
23:33:06: ------------------------------------------
23:33:06: Using desktop audio input: Speakers (Realtek High Definition Audio)
23:33:06: ------------------------------------------
23:33:06: Using auxilary audio input: Microphone (Realtek High Definition Audio)
23:33:06: ------------------------------------------
23:33:06: Audio Encoding: AAC
23:33:06:     bitrate: 128
23:33:06: ------------------------------------------
23:33:06:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
23:33:06:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
23:33:06:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
23:33:06:     use buffering: false - 0, fourCC: 'YUY2'
23:33:06:     audio device: Disable,
23:33:06:     audio device id Disabled,
23:33:06: 
23:33:06: Using directshow input
23:33:06: Using Window Capture
23:33:06: Scene buffering time set to 400
23:33:06: ------------------------------------------
23:33:06: Video Encoding: x264
23:33:06:     fps: 30
23:33:06:     width: 1280, height: 720
23:33:06:     preset: fast
23:33:06:     profile: high
23:33:06:     keyint: 60
23:33:06:     CBR: yes
23:33:06:     CFR: yes
23:33:06:     max bitrate: 1800
23:33:06:     buffer size: 1800
23:33:06: ------------------------------------------
23:33:08: Using RTMP service: Twitch / Justin.tv
23:33:08:   Server selection: rtmp://live-ord.justin.tv/app
23:33:09:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
23:33:09: Completed handshake with rtmp://live-ord.justin.tv/app in 180 ms.
23:33:09: SO_SNDBUF was at 8192
23:33:09: SO_SNDBUF is now 65536
00:00:00: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:00:00:   New Scene
00:00:00: ------------------------------------------
00:00:00:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
00:00:00:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
00:00:00:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
00:00:00:     use buffering: false - 0, fourCC: 'YUY2'
00:00:00:     audio device: Disable,
00:00:00:     audio device id Disabled,
00:00:00: 
00:00:00: Using directshow input
00:00:00: Using Window Capture
00:00:57: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 246784)
01:11:19: Total frames encoded: 176784, total frames duplicated: 178 (0.10%)
01:11:19: Total frames rendered: 176739, number of late frames: 13 (0.01%) (it's okay for some frames to be late)
01:11:20: RTMPPublisher::SocketLoop: Graceful loop exit
01:11:20: Average send payload: 12095 bytes, average send interval: 50 ms
01:11:20: Number of times waited to send: 0, Waited for a total of 0 bytes
01:11:20: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:11:20: Number of bytes sent: 1424330224
01:11:20: 
01:11:20: Profiler time results:
01:11:20: 
01:11:20: ==============================================================
01:11:20: video thread frame - [100%] [avg time: 1.96 ms] [children: 94.7%] [unaccounted: 5.26%]
01:11:20: | scene->Preprocess - [75.9%] [avg time: 1.487 ms]
01:11:20: | GPU download and conversion - [18.9%] [avg time: 0.37 ms] [children: 16.9%] [unaccounted: 1.94%]
01:11:20: | | flush - [15.9%] [avg time: 0.311 ms]
01:11:20: | | CopyResource - [0.918%] [avg time: 0.018 ms]
01:11:20: | | conversion to 4:2:0 - [0.153%] [avg time: 0.003 ms]
01:11:20: Convert444Threads - [100%] [avg time: 1.714 ms] [children: 99.3%] [unaccounted: 0.7%]
01:11:20: | Convert444toNV12 - [99.3%] [avg time: 1.702 ms]
01:11:20: encoder thread frame - [100%] [avg time: 1.635 ms] [children: 1.71%] [unaccounted: 98.3%]
01:11:20: | sending stuff out - [1.71%] [avg time: 0.028 ms]
01:11:20: ==============================================================
01:11:20: 
01:11:20: 
01:11:20: Profiler CPU results:
01:11:20: 
01:11:20: ==============================================================
01:11:20: video thread frame - [cpu time: avg 0.296 ms, total 52463.1 ms] [avg calls per frame: 1]
01:11:20: | scene->Preprocess - [cpu time: avg 0.113 ms, total 20139.7 ms] [avg calls per frame: 1]
01:11:20: | GPU download and conversion - [cpu time: avg 0.102 ms, total 18033.7 ms] [avg calls per frame: 1]
01:11:20: | | flush - [cpu time: avg 0.063 ms, total 11294.5 ms] [avg calls per frame: 1]
01:11:20: | | CopyResource - [cpu time: avg 0.013 ms, total 2433.62 ms] [avg calls per frame: 1]
01:11:20: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 499.205 ms] [avg calls per frame: 1]
01:11:20: Convert444Threads - [cpu time: avg 1.636 ms, total 578421 ms] [avg calls per frame: 2]
01:11:20: | Convert444toNV12 - [cpu time: avg 1.631 ms, total 576814 ms] [avg calls per frame: 2]
01:11:20: encoder thread frame - [cpu time: avg 1.103 ms, total 195064 ms] [avg calls per frame: 1]
01:11:20: | sending stuff out - [cpu time: avg 0.011 ms, total 2043.61 ms] [avg calls per frame: 1]
01:11:20: ==============================================================
01:11:20: 
01:11:20: =====Stream End: 2014-02-21, 01:11:20=================================================
 

hilalpro

Member
The problem doesn't appear in this particular log although you were streaming for more than an hour and a half.. Make sure to try other twitch ingests and see if that helps.
 

hilalpro

Member
Always leave Minimize network impact ON if you're having ingame ping issues while streaming. Log shows that it didn't cause any disconnects.
 

HyliteGaming

New Member
Should my bitrate be varying by 200-300 and going from yellow to screen almost every 2 seconds? Like in the picture below? I lowered my bitrate a bit to 1300 (even though I'm running on 5 upload, but it ranges from 1300-500 and changes colors every second
 

Attachments

  • bitrate.PNG
    6.8 KB · Views: 36

HyliteGaming

New Member
I'll try that, but I'm not sure if it's going to make a difference with the spiking?

Also, here is an extended log from last night. This was with minimize network impact set to on. I did some window capture changes throughout, but I assume you can ignore those.


Code:
02:18:46: Open Broadcaster Software v0.612b - 32bit (´・ω・`)
02:18:46: -------------------------------
02:18:46: CPU Name: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
02:18:46: CPU Speed: 3103MHz
02:18:46: Physical Memory:  4095MB Total, 3544MB Free
02:18:46: stepping id: 5, model 26, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
02:18:46: monitor 1: pos={0, 0}, size={1920, 1080}
02:18:46: monitor 2: pos={1920, 0}, size={1920, 1080}
02:18:46: Windows Version: 6.1 Build 7601 S
02:18:46: Aero is Enabled
02:18:46: -------------------------------
02:18:46: OBS Modules:
02:18:46: Base Address     Module
02:18:46: 00EC0000         OBS.exe
02:18:46: 5C880000         OBSApi.dll
02:18:46: 5C640000         DShowPlugin.dll
02:18:46: 5CF80000         GraphicsCapture.dll
02:18:46: 5C620000         NoiseGate.dll
02:18:46: 5C600000         PSVPlugin.dll
02:18:46: ------------------------------------------
02:18:46: Adapter 1
02:18:46:   Video Adapter: NVIDIA GeForce GTX 460
02:18:46:   Video Adapter Dedicated Video Memory: 1025966080
02:18:46:   Video Adapter Shared System Memory: 3221106688
02:18:46:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
02:18:46:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
02:18:46: Using fixed low latency mode, factor 20
02:18:46: =====Stream Start: 2014-02-22, 02:18:46===============================================
02:18:46:   Multithreaded optimizations: On
02:18:46:   Base resolution: 1920x1080
02:18:46:   Output resolution: 1280x720
02:18:46: ------------------------------------------
02:18:46: Loading up D3D10 on NVIDIA GeForce GTX 460 (Adapter 1)...
02:18:46: ------------------------------------------
02:18:46: Audio Format: 48000hz
02:18:46: Playback device Default
02:18:46: ------------------------------------------
02:18:46: Using desktop audio input: Speakers (Realtek High Definition Audio)
02:18:46: ------------------------------------------
02:18:46: Using auxilary audio input: Microphone (Realtek High Definition Audio)
02:18:46: ------------------------------------------
02:18:46: Audio Encoding: AAC
02:18:46:     bitrate: 128
02:18:46: ------------------------------------------
02:18:46:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:18:46:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:18:46:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
02:18:46:     use buffering: false - 0, fourCC: 'YUY2'
02:18:46:     audio device: Disable,
02:18:46:     audio device id Disabled,
02:18:46: 
02:18:46: Using directshow input
02:18:46: Using Window Capture
02:18:46: Scene buffering time set to 400
02:18:46: ------------------------------------------
02:18:46: Video Encoding: x264
02:18:46:     fps: 30
02:18:46:     width: 1280, height: 720
02:18:46:     preset: fast
02:18:46:     profile: high
02:18:46:     keyint: 60
02:18:46:     CBR: yes
02:18:46:     CFR: yes
02:18:46:     max bitrate: 1300
02:18:46:     buffer size: 1300
02:18:46: ------------------------------------------
02:18:49: Using RTMP service: Twitch / Justin.tv
02:18:49:   Server selection: rtmp://live-iad.justin.tv/app
02:18:49:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
02:18:50: Completed handshake with rtmp://live-iad.justin.tv/app in 508 ms.
02:18:50: SO_SNDBUF was at 8192
02:18:50: SO_SNDBUF is now 65536
02:39:13: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 182272)
02:44:35: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
02:44:35:   New Scene
02:44:35: ------------------------------------------
02:44:35:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:44:35:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:44:35:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
02:44:35:     use buffering: false - 0, fourCC: 'YUY2'
02:44:35:     audio device: Disable,
02:44:35:     audio device id Disabled,
02:44:35: 
02:44:35: Using directshow input
02:44:35: Using Window Capture
02:44:35: PERFORMANCE WARNING: Scene change took 529 ms, maybe some sources should be global sources?
02:56:07: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
02:56:07:   New Scene
02:56:08: ------------------------------------------
02:56:08:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:56:08:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:56:08:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
02:56:08:     use buffering: false - 0, fourCC: 'YUY2'
02:56:08:     audio device: Disable,
02:56:08:     audio device id Disabled,
02:56:08: 
02:56:08: Using directshow input
02:56:08: Using Window Capture
02:56:08: PERFORMANCE WARNING: Scene change took 674 ms, maybe some sources should be global sources?
03:14:54: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 80
03:33:58: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:33:58:   New Scene
03:33:59: ------------------------------------------
03:33:59:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:33:59:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:33:59:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:33:59:     use buffering: false - 0, fourCC: 'YUY2'
03:33:59:     audio device: Disable,
03:33:59:     audio device id Disabled,
03:33:59: 
03:33:59: Using directshow input
03:34:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:34:04:   New Scene
03:34:04: ------------------------------------------
03:34:04:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:04:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:04:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:34:04:     use buffering: false - 0, fourCC: 'YUY2'
03:34:04:     audio device: Disable,
03:34:04:     audio device id Disabled,
03:34:04: 
03:34:04: Using directshow input
03:34:04: Using Window Capture
03:34:10: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:34:10:   New Scene
03:34:10: ------------------------------------------
03:34:10:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:10:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:10:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:34:10:     use buffering: false - 0, fourCC: 'YUY2'
03:34:10:     audio device: Disable,
03:34:10:     audio device id Disabled,
03:34:10: 
03:34:10: Using directshow input
03:34:10: Using Window Capture
03:34:15: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:34:15:   New Scene
03:34:15: ------------------------------------------
03:34:15:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:15:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:34:15:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:34:15:     use buffering: false - 0, fourCC: 'YUY2'
03:34:15:     audio device: Disable,
03:34:15:     audio device id Disabled,
03:34:15: 
03:34:15: Using directshow input
03:35:23: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:35:23:   New Scene
03:35:23: ------------------------------------------
03:35:23:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:23:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:23:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:35:23:     use buffering: false - 0, fourCC: 'YUY2'
03:35:23:     audio device: Disable,
03:35:23:     audio device id Disabled,
03:35:23: 
03:35:23: Using directshow input
03:35:23: Using Window Capture
03:35:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:35:24:   New Scene
03:35:24: ------------------------------------------
03:35:24:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:24:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:24:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:35:24:     use buffering: false - 0, fourCC: 'YUY2'
03:35:24:     audio device: Disable,
03:35:24:     audio device id Disabled,
03:35:24: 
03:35:24: Using directshow input
03:35:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:35:25:   New Scene
03:35:25: ------------------------------------------
03:35:25:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:25:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:25:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:35:25:     use buffering: false - 0, fourCC: 'YUY2'
03:35:25:     audio device: Disable,
03:35:25:     audio device id Disabled,
03:35:25: 
03:35:25: Using directshow input
03:35:25: Using Window Capture
03:35:26: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:35:26:   New Scene
03:35:26: ------------------------------------------
03:35:26:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:26:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:35:26:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:35:26:     use buffering: false - 0, fourCC: 'YUY2'
03:35:26:     audio device: Disable,
03:35:26:     audio device id Disabled,
03:35:26: 
03:35:26: Using directshow input
03:35:50: Using graphics capture
03:36:08: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:36:08:   New Scene
03:36:09: ------------------------------------------
03:36:09:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:09:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:09:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:36:09:     use buffering: false - 0, fourCC: 'YUY2'
03:36:09:     audio device: Disable,
03:36:09:     audio device id Disabled,
03:36:09: 
03:36:09: Using directshow input
03:36:09: Using Window Capture
03:36:11: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:36:11:   New Scene
03:36:11: ------------------------------------------
03:36:11:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:11:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:11:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:36:11:     use buffering: false - 0, fourCC: 'YUY2'
03:36:11:     audio device: Disable,
03:36:11:     audio device id Disabled,
03:36:11: 
03:36:11: Using directshow input
03:36:11: Using Window Capture
03:36:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:36:13:   New Scene
03:36:13: Using graphics capture
03:36:13: ------------------------------------------
03:36:13:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:13:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:36:13:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:36:13:     use buffering: false - 0, fourCC: 'YUY2'
03:36:13:     audio device: Disable,
03:36:13:     audio device id Disabled,
03:36:13: 
03:36:13: Using directshow input
03:36:14: SharedTexCapture hooked
03:37:07: SharedTexCapture hooked
03:37:39: Using Window Capture
03:39:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
03:39:25:   New Scene
03:39:26: ------------------------------------------
03:39:26:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:39:26:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:39:26:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
03:39:26:     use buffering: false - 0, fourCC: 'YUY2'
03:39:26:     audio device: Disable,
03:39:26:     audio device id Disabled,
03:39:26: 
03:39:26: Using directshow input
03:39:26: Using Window Capture
03:39:26: PERFORMANCE WARNING: Scene change took 535 ms, maybe some sources should be global sources?
04:20:53: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:20:53:   New Scene
04:20:54: Using Window Capture
04:20:54: ------------------------------------------
04:20:54:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
04:20:54:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
04:20:54:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
04:20:54:     use buffering: false - 0, fourCC: 'YUY2'
04:20:54:     audio device: Disable,
04:20:54:     audio device id Disabled,
04:20:54: 
04:20:54: Using directshow input
04:31:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:31:47:   New Scene
04:31:47: ------------------------------------------
04:31:47:     device: \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
04:31:47:     device id \\?\usb#vid_0c45&pid_62e0&mi_00#6&1aac20e3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
04:31:47:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
04:31:47:     use buffering: false - 0, fourCC: 'YUY2'
04:31:47:     audio device: Disable,
04:31:47:     audio device id Disabled,
04:31:47: 
04:31:47: Using directshow input
04:31:47: Using Window Capture
04:31:47: PERFORMANCE WARNING: Scene change took 674 ms, maybe some sources should be global sources?
05:07:36: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 90
05:08:26: Total frames encoded: 305374, total frames duplicated: 439 (0.14%)
05:08:26: Total frames rendered: 305212, number of late frames: 18 (0.01%) (it's okay for some frames to be late)
05:08:27: RTMPPublisher::SocketLoop: Graceful loop exit
05:08:27: Average send payload: 8971 bytes, average send interval: 50 ms
05:08:27: Number of times waited to send: 0, Waited for a total of 0 bytes
05:08:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
05:08:27: Number of bytes sent: 1825046018
05:08:27: 
05:08:27: Profiler time results:
05:08:27: 
05:08:27: ==============================================================
05:08:27: video thread frame - [100%] [avg time: 2.066 ms] [children: 83.8%] [unaccounted: 16.2%]
05:08:27: | scene->Preprocess - [72%] [avg time: 1.487 ms]
05:08:27: | GPU download and conversion - [11.8%] [avg time: 0.244 ms] [children: 9.78%] [unaccounted: 2.03%]
05:08:27: | | flush - [8.42%] [avg time: 0.174 ms]
05:08:27: | | CopyResource - [1.21%] [avg time: 0.025 ms]
05:08:27: | | conversion to 4:2:0 - [0.145%] [avg time: 0.003 ms]
05:08:27: Convert444Threads - [100%] [avg time: 1.957 ms] [children: 99.3%] [unaccounted: 0.664%]
05:08:27: | Convert444toNV12 - [99.3%] [avg time: 1.944 ms]
05:08:27: encoder thread frame - [100%] [avg time: 1.95 ms] [children: 1.44%] [unaccounted: 98.6%]
05:08:27: | sending stuff out - [1.44%] [avg time: 0.028 ms]
05:08:27: ==============================================================
05:08:27: 
05:08:27: 
05:08:27: Profiler CPU results:
05:08:27: 
05:08:27: ==============================================================
05:08:27: video thread frame - [cpu time: avg 0.794 ms, total 242597 ms] [avg calls per frame: 1]
05:08:27: | scene->Preprocess - [cpu time: avg 0.284 ms, total 86830.2 ms] [avg calls per frame: 1]
05:08:27: | GPU download and conversion - [cpu time: avg 0.176 ms, total 54007.5 ms] [avg calls per frame: 1]
05:08:27: | | flush - [cpu time: avg 0.132 ms, total 40357.4 ms] [avg calls per frame: 1]
05:08:27: | | CopyResource - [cpu time: avg 0.027 ms, total 8346.05 ms] [avg calls per frame: 1]
05:08:27: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 1263.61 ms] [avg calls per frame: 1]
05:08:27: Convert444Threads - [cpu time: avg 1.852 ms, total 1.13055e+006 ms] [avg calls per frame: 2]
05:08:27: | Convert444toNV12 - [cpu time: avg 1.847 ms, total 1.12747e+006 ms] [avg calls per frame: 2]
05:08:27: encoder thread frame - [cpu time: avg 1.343 ms, total 410236 ms] [avg calls per frame: 1]
05:08:27: | sending stuff out - [cpu time: avg 0.017 ms, total 5491.23 ms] [avg calls per frame: 1]
05:08:27: ==============================================================
05:08:27: 
05:08:27: =====Stream End: 2014-02-22, 05:08:27=================================================


Last game capture log:
2014-02-22, 03:35:50: we're booting up: 
03:35:50: CaptureThread: attached to process LolClient.exe
03:35:50: D3D9 Present
03:35:50: (half life scientist) everything..  seems to be in order
03:36:14: D3D9EndScene called
03:36:14: D3DPRESENT_PARAMETERS {
03:36:14: 	BackBufferWidth: 16
03:36:14: 	BackBufferHeight: 16
03:36:14: 	BackBufferFormat: D3DFMT_X8R8G8B8
03:36:14: 	BackBufferCount: 1
03:36:14: 	MultiSampleType: D3DMULTISAMPLE_NONE
03:36:14: 	MultiSampleQuality: 0
03:36:14: 	SwapEffect: D3DSWAPEFFECT_COPY
03:36:14: 	hDeviceWindow: 131706
03:36:14: 	Windowed: true
03:36:14: 	EnableAutoDepthStencil: false
03:36:14: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
03:36:14: 	Flags: None
03:36:14: 	FullScreen_RefreshRateInHz: 0
03:36:14: 	PresentationInterval: 0
03:36:14: };
03:36:14: successfully set up d3d9 hooks
03:36:14: D3D9SwapPresent called
03:36:14: DoD3D9GPUHook: success
03:36:14: D3DSURFACE_DESC {
03:36:14: 	Format: D3DFMT_X8R8G8B8
03:36:14: 	Type: D3DRTYPE_SURFACE
03:36:14: 	Usage: D3DUSAGE_RENDERTARGET 
03:36:14: 	Pool: D3DPOOL_DEFAULT
03:36:14: 	MultiSampleType: D3DMULTISAMPLE_NONE
03:36:14: 	MultiSampleQuality: 0
03:36:14: 	Width: 160
03:36:14: 	Height: 27
03:36:14: };
03:36:14: successfully capturing d3d9 frames via GPU
03:37:07: ---------------------- Cleared D3D9 Capture ----------------------
03:37:07: received restart event, capturing
03:37:07: DoD3D9GPUHook: success
03:37:07: D3D9EndScene called
03:37:07: D3D9SwapPresent called
03:37:07: D3DSURFACE_DESC {
03:37:07: 	Format: D3DFMT_X8R8G8B8
03:37:07: 	Type: D3DRTYPE_SURFACE
03:37:07: 	Usage: D3DUSAGE_RENDERTARGET 
03:37:07: 	Pool: D3DPOOL_DEFAULT
03:37:07: 	MultiSampleType: D3DMULTISAMPLE_NONE
03:37:07: 	MultiSampleQuality: 0
03:37:07: 	Width: 1280
03:37:07: 	Height: 800
03:37:07: };
03:37:07: successfully capturing d3d9 frames via GPU
03:37:30: ---------------------- Cleared D3D9 Capture ----------------------
03:37:31: D3D9EndScene called
03:37:31: D3D9SwapPresent called
 

Krazy

Town drunk
High ping is because your game and the stream are competing for bandwith. The only two options you have for reducing/eliminating ping are to use the Minimize Network Impact setting which you have already done, and lowering your stream bitrate until it stops.

Unfortunately, low quality internet connections will struggle with having to do sustained upload like with a live stream. It's also possible your sustained upload rate isn't the upload rate as reported by speedtest (this is VERY common). Time Warner has a less than stellar track record when it comes to connection quality, too.
 

HyliteGaming

New Member
Krazy said:
High ping is because your game and the stream are competing for bandwith. The only two options you have for reducing/eliminating ping are to use the Minimize Network Impact setting which you have already done, and lowering your stream bitrate until it stops.

Unfortunately, low quality internet connections will struggle with having to do sustained upload like with a live stream. It's also possible your sustained upload rate isn't the upload rate as reported by speedtest (this is VERY common). Time Warner has a less than stellar track record when it comes to connection quality, too.


Do you think contacting Time Warner will net anything? I mean I struggle to understand how 50/5 can't stream while 20/2 could easily with a competitor.
 

Krazy

Town drunk
Well, like I said your rated speed may not actually be your sustained speed. And, frankly, it doesn't matter what a random speedtest says, it only matters what you can sustain while streaming to Twitch. Speedtests aren't really very good benchmarks for streaming, unfortunately.

You could contact your ISP and ask them to check the quality of your connection.
 

HyliteGaming

New Member
Krazy said:
Well, like I said your rated speed may not actually be your sustained speed. And, frankly, it doesn't matter what a random speedtest says, it only matters what you can sustain while streaming to Twitch. Speedtests aren't really very good benchmarks for streaming, unfortunately.

You could contact your ISP and ask them to check the quality of your connection.

I'll attempt that soon. I appreciate you (and others) taking the time to help.

I do have one more question. I don't know if you are super familiar with twitch, but would past broadcasts reflect frame drops/ping spikes in the video? I've watched a few of my past broadcasts and seem no problems at all with minimize network impact on.

Also, one more I guess, ... how exactly does minimize impact work? I get that it delegates network to the game first, but wouldn't that just cause the stream to lag if the game lags with it off? It seems to me that if they are sharing the same pipe and lagging with both pushing through, that if I turn minimize impact on, it would lag just as much with one pushing more than the other but though the same pipe.
 

Krazy

Town drunk
It sends out packets in a different way, that's all I know. The network code is all black magic to me, ask R1CH about it :P
 
Top