Question / Help Constant Buffering

timoseewho

New Member
Hey, I'm sort of new to streaming and I'm using Game Capture to stream WoW. My upload from speedtest.net is 2mb/s while I'm setting my OBS rates at 1200kb/s (started at 1600 then slowly turned it down). The problem I'm experiencing atm is constant buffering when I stream from twitch. People are telling me that it would stream for ~30s fine, then buffer for like 10s, then another 30s, then buffer for another 10s. What can I do to fix this?

My logs from my latest session is:
Code:
20:51:19: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
20:51:19: -------------------------------
20:51:19: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
20:51:19: CPU Speed: 3310MHz
20:51:19: Physical Memory:  12268MB Total, 6930MB Free
20:51:19: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:51:19: monitor 1: pos={0, 0}, size={1680, 1050}
20:51:19: Windows Version: 6.1 Build 7601 S
20:51:19: Aero is Enabled
20:51:19: -------------------------------
20:51:19: OBS Modules:
20:51:19: Base Address     Module
20:51:19: 000000003F430000 OBS.exe
20:51:19: 00000000EEC20000 OBSApi.dll
20:51:19: 00000000F40D0000 DShowPlugin.dll
20:51:19: 00000000F40A0000 GraphicsCapture.dll
20:51:19: 00000000F6160000 NoiseGate.dll
20:51:19: 00000000F9640000 PSVPlugin.dll
20:51:19: ------------------------------------------
20:51:19: Adapter 1
20:51:19:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
20:51:19:   Video Adapter Dedicated Video Memory: 1025966080
20:51:19:   Video Adapter Shared System Memory: 3220779008
20:51:19:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
20:51:19: =====Stream Start: 2014-01-07, 20:51:19===============================================
20:51:19:   Multithreaded optimizations: On
20:51:19:   Base resolution: 1680x1050
20:51:19:   Output resolution: 1120x700
20:51:19: ------------------------------------------
20:51:19: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
20:51:19: ------------------------------------------
20:51:19: Audio Format: 48000hz
20:51:19: Playback device Default
20:51:19: ------------------------------------------
20:51:19: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:51:19: Using 5.1 speaker setup
20:51:19: ------------------------------------------
20:51:19: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:51:19: ------------------------------------------
20:51:19: Audio Encoding: AAC
20:51:19:     bitrate: 128
20:51:19: Using bitmap image
20:51:19: Using graphics capture
20:51:19: Scene buffering time set to 400
20:51:19: ------------------------------------------
20:51:19: Video Encoding: x264
20:51:19:     fps: 30
20:51:19:     width: 1120, height: 700
20:51:19:     preset: veryfast
20:51:19:     profile: main
20:51:19:     keyint: 60
20:51:19:     CBR: yes
20:51:19:     CFR: no
20:51:19:     max bitrate: 1600
20:51:19:     buffer size: 1600
20:51:19: ------------------------------------------
20:51:19: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
20:51:19: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
20:51:19: SharedTexCapture hooked
20:51:20: Using RTMP service: Twitch / Justin.tv
20:51:20:   Server selection: rtmp://live-jfk.justin.tv/app
20:51:20:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
20:51:21: Completed handshake with rtmp://live-jfk.justin.tv/app in 310 ms.
20:51:21: SO_SNDBUF was at 8192
20:51:21: SO_SNDBUF is now 65536
20:57:30: Total frames encoded: 11110, total frames duplicated: 0 (0.00%)
20:57:30: Total frames rendered: 11114, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
20:57:30: RTMPPublisher::SocketLoop: Graceful loop exit
20:57:30: Average send payload: 7433 bytes, average send interval: 35 ms
20:57:30: Number of times waited to send: 0, Waited for a total of 0 bytes
20:57:30: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:57:30: Number of bytes sent: 77669454
20:57:30: 
20:57:30: Profiler time results:
20:57:30: 
20:57:30: ==============================================================
20:57:30: video thread frame - [100%] [avg time: 0.6 ms] [children: 22.8%] [unaccounted: 77.2%]
20:57:30: | scene->Preprocess - [0.333%] [avg time: 0.002 ms]
20:57:30: | GPU download and conversion - [22.5%] [avg time: 0.135 ms] [children: 17.3%] [unaccounted: 5.17%]
20:57:30: | | flush - [12.8%] [avg time: 0.077 ms]
20:57:30: | | CopyResource - [4.17%] [avg time: 0.025 ms]
20:57:30: | | conversion to 4:2:0 - [0.333%] [avg time: 0.002 ms]
20:57:30: Convert444Threads - [100%] [avg time: 0.481 ms] [children: 98.8%] [unaccounted: 1.25%]
20:57:30: | Convert444toNV12 - [98.8%] [avg time: 0.475 ms]
20:57:30: encoder thread frame - [100%] [avg time: 0.805 ms]
20:57:30: ==============================================================
20:57:30: 
20:57:30: 
20:57:30: Profiler CPU results:
20:57:30: 
20:57:30: ==============================================================
20:57:30: video thread frame - [cpu time: avg 0.067 ms, total 748.804 ms] [avg calls per frame: 1]
20:57:30: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:57:30: | GPU download and conversion - [cpu time: avg 0.014 ms, total 156.001 ms] [avg calls per frame: 1]
20:57:30: | | flush - [cpu time: avg 0.004 ms, total 46.8 ms] [avg calls per frame: 1]
20:57:30: | | CopyResource - [cpu time: avg 0.004 ms, total 46.8 ms] [avg calls per frame: 1]
20:57:30: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:57:30: Convert444Threads - [cpu time: avg 0.406 ms, total 9016.86 ms] [avg calls per frame: 2]
20:57:30: | Convert444toNV12 - [cpu time: avg 0.4 ms, total 8892.06 ms] [avg calls per frame: 2]
20:57:30: encoder thread frame - [cpu time: avg 0.078 ms, total 873.605 ms] [avg calls per frame: 1]
20:57:30: ==============================================================
20:57:30: 
20:57:30: =====Stream End: 2014-01-07, 20:57:30=================================================
20:57:53: =====Stream Start: 2014-01-07, 20:57:53===============================================
20:57:53:   Multithreaded optimizations: On
20:57:53:   Base resolution: 1680x1050
20:57:53:   Output resolution: 1120x700
20:57:53: ------------------------------------------
20:57:53: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
20:57:53: ------------------------------------------
20:57:53: Audio Format: 48000hz
20:57:53: Playback device Default
20:57:53: ------------------------------------------
20:57:53: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:57:53: Using 5.1 speaker setup
20:57:53: ------------------------------------------
20:57:53: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:57:53: ------------------------------------------
20:57:53: Audio Encoding: AAC
20:57:53:     bitrate: 128
20:57:53: Using bitmap image
20:57:53: Using graphics capture
20:57:53: Scene buffering time set to 400
20:57:53: ------------------------------------------
20:57:53: Video Encoding: x264
20:57:53:     fps: 30
20:57:53:     width: 1120, height: 700
20:57:53:     preset: veryfast
20:57:53:     profile: main
20:57:53:     keyint: 60
20:57:53:     CBR: yes
20:57:53:     CFR: no
20:57:53:     max bitrate: 1400
20:57:53:     buffer size: 1400
20:57:53: ------------------------------------------
20:57:53: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
20:57:53: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
20:57:53: SharedTexCapture hooked
20:57:55: Using RTMP service: Twitch / Justin.tv
20:57:55:   Server selection: rtmp://live-jfk.justin.tv/app
20:57:55:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
20:57:55: Completed handshake with rtmp://live-jfk.justin.tv/app in 242 ms.
20:57:56: SO_SNDBUF was at 8192
20:57:56: SO_SNDBUF is now 65536
22:28:16: RTMPPublisher::SocketLoop: Stalled for 1995 ms to write 193736 bytes (buffer: 0 / 195584), unstable connection?
22:54:51: Total frames encoded: 210508, total frames duplicated: 6 (0.00%)
22:54:51: Total frames rendered: 210512, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
22:54:51: RTMPPublisher::SocketLoop: Graceful loop exit
22:54:51: Average send payload: 6570 bytes, average send interval: 34 ms
22:54:51: Number of times waited to send: 2, Waited for a total of 8194 bytes
22:54:51: Number of b-frames dropped: 25 (0.012%), Number of p-frames dropped: 32 (0.015%), Total 57 (0.027%)
22:54:51: Number of bytes sent: 1345388675
22:54:51: 
22:54:51: Profiler time results:
22:54:51: 
22:54:51: ==============================================================
22:54:51: video thread frame - [100%] [avg time: 0.495 ms] [children: 26.7%] [unaccounted: 73.3%]
22:54:51: | scene->Preprocess - [0.404%] [avg time: 0.002 ms]
22:54:51: | GPU download and conversion - [26.3%] [avg time: 0.13 ms] [children: 21.6%] [unaccounted: 4.65%]
22:54:51: | | flush - [17%] [avg time: 0.084 ms]
22:54:51: | | CopyResource - [4.24%] [avg time: 0.021 ms]
22:54:51: | | conversion to 4:2:0 - [0.404%] [avg time: 0.002 ms]
22:54:51: Convert444Threads - [100%] [avg time: 0.48 ms] [children: 98.5%] [unaccounted: 1.46%]
22:54:51: | Convert444toNV12 - [98.5%] [avg time: 0.473 ms]
22:54:51: encoder thread frame - [100%] [avg time: 0.835 ms]
22:54:51: ==============================================================
22:54:51: 
22:54:51: 
22:54:51: Profiler CPU results:
22:54:51: 
22:54:51: ==============================================================
22:54:51: video thread frame - [cpu time: avg 0.035 ms, total 7378.85 ms] [avg calls per frame: 1]
22:54:51: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:54:51: | GPU download and conversion - [cpu time: avg 0.009 ms, total 1981.21 ms] [avg calls per frame: 1]
22:54:51: | | flush - [cpu time: avg 0.005 ms, total 1107.61 ms] [avg calls per frame: 1]
22:54:51: | | CopyResource - [cpu time: avg 0.001 ms, total 405.604 ms] [avg calls per frame: 1]
22:54:51: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 62.4 ms] [avg calls per frame: 1]
22:54:51: Convert444Threads - [cpu time: avg 0.316 ms, total 133084 ms] [avg calls per frame: 2]
22:54:51: | Convert444toNV12 - [cpu time: avg 0.312 ms, total 131571 ms] [avg calls per frame: 2]
22:54:51: encoder thread frame - [cpu time: avg 0.092 ms, total 19453.3 ms] [avg calls per frame: 1]
22:54:51: ==============================================================
22:54:51: 
22:54:51: =====Stream End: 2014-01-07, 22:54:51=================================================
22:54:58: =====Stream Start: 2014-01-07, 22:54:58===============================================
22:54:58:   Multithreaded optimizations: On
22:54:58:   Base resolution: 1680x1050
22:54:58:   Output resolution: 1120x700
22:54:58: ------------------------------------------
22:54:58: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
22:54:58: ------------------------------------------
22:54:58: Audio Format: 48000hz
22:54:58: Playback device Default
22:54:58: ------------------------------------------
22:54:58: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:54:58: Using 5.1 speaker setup
22:54:58: ------------------------------------------
22:54:58: Using auxilary audio input: Microphone (Realtek High Definition Audio)
22:54:58: ------------------------------------------
22:54:58: Audio Encoding: AAC
22:54:58:     bitrate: 128
22:54:58: Using bitmap image
22:54:58: Using graphics capture
22:54:58: Scene buffering time set to 400
22:54:58: ------------------------------------------
22:54:58: Video Encoding: x264
22:54:58:     fps: 30
22:54:58:     width: 1120, height: 700
22:54:58:     preset: veryfast
22:54:58:     profile: main
22:54:58:     keyint: 60
22:54:58:     CBR: yes
22:54:58:     CFR: no
22:54:58:     max bitrate: 1200
22:54:58:     buffer size: 1200
22:54:58: ------------------------------------------
22:54:58: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 1152000, samples per sec is 48000
22:54:58: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
22:54:58: SharedTexCapture hooked
22:55:00: Using RTMP service: Twitch / Justin.tv
22:55:00:   Server selection: rtmp://live-jfk.justin.tv/app
22:55:00:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
22:55:00: Completed handshake with rtmp://live-jfk.justin.tv/app in 236 ms.
22:55:01: SO_SNDBUF was at 8192
22:55:01: SO_SNDBUF is now 65536
00:13:09: Total frames encoded: 140722, total frames duplicated: 1 (0.00%)
00:13:09: Total frames rendered: 140726, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
00:13:10: RTMPPublisher::SocketLoop: Graceful loop exit
00:13:10: Average send payload: 5542 bytes, average send interval: 33 ms
00:13:10: Number of times waited to send: 2, Waited for a total of 8194 bytes
00:13:10: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:13:10: Number of bytes sent: 781934157
00:13:10: 
00:13:10: Profiler time results:
00:13:10: 
00:13:10: ==============================================================
00:13:10: video thread frame - [100%] [avg time: 0.537 ms] [children: 36.9%] [unaccounted: 63.1%]
00:13:10: | scene->Preprocess - [0.372%] [avg time: 0.002 ms]
00:13:10: | GPU download and conversion - [36.5%] [avg time: 0.196 ms] [children: 31.8%] [unaccounted: 4.66%]
00:13:10: | | flush - [25.7%] [avg time: 0.138 ms]
00:13:10: | | CopyResource - [5.77%] [avg time: 0.031 ms]
00:13:10: | | conversion to 4:2:0 - [0.372%] [avg time: 0.002 ms]
00:13:10: Convert444Threads - [100%] [avg time: 0.479 ms] [children: 98.7%] [unaccounted: 1.25%]
00:13:10: | Convert444toNV12 - [98.7%] [avg time: 0.473 ms]
00:13:10: encoder thread frame - [100%] [avg time: 0.816 ms]
00:13:10: ==============================================================
00:13:10: 
00:13:10: 
00:13:10: Profiler CPU results:
00:13:10: 
00:13:10: ==============================================================
00:13:10: video thread frame - [cpu time: avg 0.03 ms, total 4290.03 ms] [avg calls per frame: 1]
00:13:10: | scene->Preprocess - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
00:13:10: | GPU download and conversion - [cpu time: avg 0.01 ms, total 1497.61 ms] [avg calls per frame: 1]
00:13:10: | | flush - [cpu time: avg 0.004 ms, total 702.006 ms] [avg calls per frame: 1]
00:13:10: | | CopyResource - [cpu time: avg 0.002 ms, total 374.402 ms] [avg calls per frame: 1]
00:13:10: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
00:13:10: Convert444Threads - [cpu time: avg 0.319 ms, total 89903.4 ms] [avg calls per frame: 2]
00:13:10: | Convert444toNV12 - [cpu time: avg 0.316 ms, total 89139 ms] [avg calls per frame: 2]
00:13:10: encoder thread frame - [cpu time: avg 0.073 ms, total 10311.7 ms] [avg calls per frame: 1]
00:13:10: ==============================================================
00:13:10: 
00:13:10: =====Stream End: 2014-01-08, 00:13:10=================================================

If there's anymore info you need, lemme know, thanks.

After asking around, apparently this is happening to other streams too, so is this a twitch thing?
 

Jack0r

The Helping Squad
Yep its a twitch thing. Every single one I meat that tried to stream to hitbox.tv had no problem at all and the viewers could watch it as well. Twitch servers are just not able to deliver the lowest bitrate at times. Their new video system even seemed to have fucked that up a lot more.
 

timoseewho

New Member
Jack0r said:
Yep its a twitch thing. Every single one I meat that tried to stream to hitbox.tv had no problem at all and the viewers could watch it as well. Twitch servers are just not able to deliver the lowest bitrate at times. Their new video system even seemed to have fucked that up a lot more.
Thanks for the reply.
 
Top