Question / Help Reconnecting occasionally

Brutality

New Member
I've been googling this issue and tried all solutions I found but none helped.
My issue is simply that my stream (using OBS of course) DC's and reconnects instantly, which is not super nice. I've attached the log file OBS made and at 00:16:12 the reconnect thing happens.

Catch me while I'm streaming and I can show my OBS settings etc. fast if they can't all be viewed from the log;
http://www.twitch.tv/13Brutality37

Or I'll post any missing information when I get back to the topic ;)

Thanks in advance!

Code:
23:14:08: Open Broadcaster Software v0.552b - 64bit ( ^ω^)
23:14:08: -------------------------------
23:14:08: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
23:14:08: CPU Speed: 3300MHz
23:14:08: Physical Memory:  4063MB Total, 2338MB Free
23:14:08: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:14:08: monitor 1: pos={0, 0}, size={1920, 1200}
23:14:08: Windows Version: 6.1 Build 7601 S
23:14:08: Aero is Disabled
23:14:08: -------------------------------
23:14:08: OBS Modules:
23:14:08: Base Address     Module
23:14:08: 000000003FEC0000 OBS.exe
23:14:08: 00000000E4DF0000 OBSApi.dll
23:14:08: 00000000F5030000 DShowPlugin.dll
23:14:08: 00000000F5150000 GraphicsCapture.dll
23:14:08: 00000000F6400000 NoiseGate.dll
23:14:08: 00000000F55C0000 PSVPlugin.dll
23:14:08: ------------------------------------------
23:14:08: Adapter 1
23:14:08:   Video Adapter: AMD Radeon HD 6900 Series
23:14:08:   Video Adapter Dedicated Video Memory: 4268089344
23:14:08:   Video Adapter Shared System Memory: 1861820416
23:14:08: =====Stream Start: 2013-08-27, 23:14:08===============================================
23:14:08:   Multithreaded optimizations: On
23:14:08:   Base resolution: 1536x960
23:14:08:   Output resolution: 1536x960
23:14:08: ------------------------------------------
23:14:08: Loading up D3D10 on AMD Radeon HD 6900 Series...
23:14:08: Playback device {0.0.0.00000000}.{d60aabf6-62e5-439a-8cea-f62c70446981}
23:14:08: ------------------------------------------
23:14:08: Using desktop audio input: Line 1 (Virtual Audio Cable)
23:14:08: ------------------------------------------
23:14:08: Audio Encoding: AAC
23:14:08:     bitrate: 160
23:14:08: Using text output
23:14:08: Using text output
23:14:08: Using text output
23:14:08: Using text output
23:14:08: Using bitmap image
23:14:08: Using graphics capture
23:14:08: ------------------------------------------
23:14:08: Video Encoding: x264
23:14:08:     fps: 30
23:14:08:     width: 1536, height: 960
23:14:08:     preset: veryfast
23:14:08:     CBR: yes
23:14:08:     CFR: yes
23:14:08:     max bitrate: 1500
23:14:08: ------------------------------------------
23:14:08: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
23:14:10: Using RTMP service: Twitch / Justin.tv
23:14:10:   Server selection: rtmp://live-fra.justin.tv/app
23:14:10:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
23:14:11: SO_SNDBUF was at 8192
23:14:11: SO_SNDBUF is now 65536
23:14:13: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 211968)
23:14:30: SharedTexCapture hooked
23:14:33: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 211968)
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed, result = 88890004
23:39:30: Total frames rendered: 45625, number of late frames: 8 (0.02%) (it's okay for some frames to be late)
23:39:30: Total duplicated frames to ensure constant framerate: 31 (0.07%)
23:39:31: RTMPPublisher::SocketLoop: Graceful loop exit
23:39:31: Number of times waited to send: 0, Waited for a total of 0 bytes
23:39:31: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
23:39:31: 
23:39:31: Profiler results:
23:39:31: 
23:39:31: ==============================================================
23:39:31: frame - [100%] [avg time: 1.557 ms (cpu time: avg 1.335 ms, total 60918.4 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.193%]
23:39:31: | frame preprocessing and rendering - [6.29%] [avg time: 0.098 ms (cpu time: avg 0.056 ms, total 2558.42 ms)] [avg calls per frame: 1] [children: 0.128%] [unaccounted: 6.17%]
23:39:31: | | scene->Preprocess - [0.128%] [avg time: 0.002 ms (cpu time: avg 0.002 ms, total 93.601 ms)] [avg calls per frame: 1]
23:39:31: | video encoding and uploading - [93.5%] [avg time: 1.456 ms (cpu time: avg 1.278 ms, total 58328.8 ms)] [avg calls per frame: 1] [children: 92%] [unaccounted: 1.54%]
23:39:31: | | flush - [11.5%] [avg time: 0.179 ms (cpu time: avg 0.045 ms, total 2059.21 ms)] [avg calls per frame: 1]
23:39:31: | | CopyResource - [1.48%] [avg time: 0.023 ms (cpu time: avg 0.008 ms, total 390.003 ms)] [avg calls per frame: 0]
23:39:31: | | conversion to 4:2:0 - [0.321%] [avg time: 0.005 ms (cpu time: avg 0.002 ms, total 109.2 ms)] [avg calls per frame: 0]
23:39:31: | | call to encoder - [78%] [avg time: 1.214 ms (cpu time: avg 1.196 ms, total 54584.7 ms)] [avg calls per frame: 1]
23:39:31: | | sending stuff out - [0.706%] [avg time: 0.011 ms (cpu time: avg 0.011 ms, total 530.403 ms)] [avg calls per frame: 1]
23:39:31: | Convert444Threads - [4.28e+003%] [avg time: 66.686 ms (cpu time: avg 1.131 ms, total 51620.7 ms)] [avg calls per frame: 1]
23:39:31: ==============================================================
23:39:31: 
23:39:31: =====Stream End: 2013-08-27, 23:39:31=================================================
23:39:32: =====Stream Start: 2013-08-27, 23:39:32===============================================
23:39:32:   Multithreaded optimizations: On
23:39:32:   Base resolution: 1536x960
23:39:32:   Output resolution: 1536x960
23:39:32: ------------------------------------------
23:39:32: Loading up D3D10 on AMD Radeon HD 6900 Series...
23:39:32: Playback device {0.0.0.00000000}.{d60aabf6-62e5-439a-8cea-f62c70446981}
23:39:32: ------------------------------------------
23:39:32: Using desktop audio input: Line 1 (Virtual Audio Cable)
23:39:32: ------------------------------------------
23:39:32: Audio Encoding: AAC
23:39:32:     bitrate: 160
23:39:32: Using text output
23:39:32: Using text output
23:39:32: Using text output
23:39:32: Using text output
23:39:32: Using bitmap image
23:39:32: Using graphics capture
23:39:32: ------------------------------------------
23:39:32: Video Encoding: x264
23:39:32:     fps: 30
23:39:32:     width: 1536, height: 960
23:39:32:     preset: veryfast
23:39:32:     CBR: yes
23:39:32:     CFR: yes
23:39:32:     max bitrate: 1500
23:39:32: ------------------------------------------
23:39:32: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
23:39:32: SharedTexCapture hooked
23:39:34: Using RTMP service: Twitch / Justin.tv
23:39:34:   Server selection: rtmp://live-fra.justin.tv/app
23:39:34:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
23:39:35: SO_SNDBUF was at 8192
23:39:35: SO_SNDBUF is now 65536
23:39:36: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 11949 / 211968)
23:39:38: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 211968)
00:16:12: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
00:16:13: Total frames rendered: 66010, number of late frames: 2 (0.00%) (it's okay for some frames to be late)
00:16:13: Total duplicated frames to ensure constant framerate: 12 (0.02%)
00:16:13: Number of times waited to send: 2, Waited for a total of 8208 bytes
00:16:13: Number of b-frames dropped: 17 (0.026%), Number of p-frames dropped: 22 (0.033%), Total 39 (0.059%)
00:16:13: 
00:16:13: Profiler results:
00:16:13: 
00:16:13: ==============================================================
00:16:13: frame - [100%] [avg time: 1.898 ms (cpu time: avg 1.341 ms, total 88561.8 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.158%]
00:16:13: | frame preprocessing and rendering - [2.79%] [avg time: 0.053 ms (cpu time: avg 0.043 ms, total 2854.82 ms)] [avg calls per frame: 1] [children: 0.105%] [unaccounted: 2.69%]
00:16:13: | | scene->Preprocess - [0.105%] [avg time: 0.002 ms (cpu time: avg 0.001 ms, total 109.201 ms)] [avg calls per frame: 1]
00:16:13: | video encoding and uploading - [97%] [avg time: 1.842 ms (cpu time: avg 1.297 ms, total 85629 ms)] [avg calls per frame: 1] [children: 96.2%] [unaccounted: 0.896%]
00:16:13: | | flush - [25%] [avg time: 0.475 ms (cpu time: avg 0.072 ms, total 4804.83 ms)] [avg calls per frame: 1]
00:16:13: | | CopyResource - [0.527%] [avg time: 0.01 ms (cpu time: avg 0.012 ms, total 811.205 ms)] [avg calls per frame: 0]
00:16:13: | | conversion to 4:2:0 - [2.85%] [avg time: 0.054 ms (cpu time: avg 0.003 ms, total 249.6 ms)] [avg calls per frame: 0]
00:16:13: | | call to encoder - [66.6%] [avg time: 1.264 ms (cpu time: avg 1.186 ms, total 78343.7 ms)] [avg calls per frame: 0]
00:16:13: | | sending stuff out - [1.16%] [avg time: 0.022 ms (cpu time: avg 0.011 ms, total 733.206 ms)] [avg calls per frame: 0]
00:16:13: | Convert444Threads - [3.51e+003%] [avg time: 66.66 ms (cpu time: avg 1.117 ms, total 73741.7 ms)] [avg calls per frame: 1]
00:16:13: ==============================================================
00:16:13: 
00:16:13: =====Stream End: 2013-08-28, 00:16:13=================================================
00:16:23: =====Stream Start: 2013-08-28, 00:16:23===============================================
00:16:23:   Multithreaded optimizations: On
00:16:23:   Base resolution: 1536x960
00:16:23:   Output resolution: 1536x960
00:16:23: ------------------------------------------
00:16:23: Loading up D3D10 on AMD Radeon HD 6900 Series...
00:16:23: Playback device {0.0.0.00000000}.{d60aabf6-62e5-439a-8cea-f62c70446981}
00:16:23: ------------------------------------------
00:16:23: Using desktop audio input: Line 1 (Virtual Audio Cable)
00:16:23: ------------------------------------------
00:16:23: Audio Encoding: AAC
00:16:23:     bitrate: 160
00:16:23: Using text output
00:16:23: Using text output
00:16:23: Using text output
00:16:23: Using text output
00:16:23: Using bitmap image
00:16:23: Using graphics capture
00:16:23: ------------------------------------------
00:16:23: Video Encoding: x264
00:16:23:     fps: 30
00:16:23:     width: 1536, height: 960
00:16:23:     preset: veryfast
00:16:23:     CBR: yes
00:16:23:     CFR: yes
00:16:23:     max bitrate: 1500
00:16:23: ------------------------------------------
00:16:23: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
00:16:23: SharedTexCapture hooked
00:16:25: Using RTMP service: Twitch / Justin.tv
00:16:25:   Server selection: rtmp://live-fra.justin.tv/app
00:16:25:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
00:16:27: SO_SNDBUF was at 8192
00:16:27: SO_SNDBUF is now 65536
00:16:28: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 211968)
00:16:30: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 211968)
00:30:57: Using text output
00:30:57: Using text output
00:31:10: Total frames rendered: 26591, number of late frames: 5 (0.02%) (it's okay for some frames to be late)
00:31:10: Total duplicated frames to ensure constant framerate: 6 (0.02%)
00:31:11: RTMPPublisher::SocketLoop: Graceful loop exit
00:31:11: Number of times waited to send: 0, Waited for a total of 0 bytes
00:31:11: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:31:11: 
00:31:11: Profiler results:
00:31:11: 
00:31:11: ==============================================================
00:31:11: frame - [100%] [avg time: 1.666 ms (cpu time: avg 1.33 ms, total 35381 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.12%]
00:31:11: | frame preprocessing and rendering - [5.82%] [avg time: 0.097 ms (cpu time: avg 0.059 ms, total 1575.61 ms)] [avg calls per frame: 1] [children: 0.18%] [unaccounted: 5.64%]
00:31:11: | | scene->Preprocess - [0.18%] [avg time: 0.003 ms (cpu time: avg 0.002 ms, total 78.001 ms)] [avg calls per frame: 1]
00:31:11: | video encoding and uploading - [94.1%] [avg time: 1.567 ms (cpu time: avg 1.268 ms, total 33727.4 ms)] [avg calls per frame: 1] [children: 92.6%] [unaccounted: 1.5%]
00:31:11: | | flush - [14.5%] [avg time: 0.242 ms (cpu time: avg 0.045 ms, total 1216.81 ms)] [avg calls per frame: 1]
00:31:11: | | CopyResource - [1.86%] [avg time: 0.031 ms (cpu time: avg 0.013 ms, total 358.803 ms)] [avg calls per frame: 0]
00:31:11: | | conversion to 4:2:0 - [0.66%] [avg time: 0.011 ms (cpu time: avg 0.003 ms, total 93.601 ms)] [avg calls per frame: 0]
00:31:11: | | call to encoder - [74.6%] [avg time: 1.243 ms (cpu time: avg 1.189 ms, total 31637 ms)] [avg calls per frame: 0]
00:31:11: | | sending stuff out - [0.9%] [avg time: 0.015 ms (cpu time: avg 0.007 ms, total 202.801 ms)] [avg calls per frame: 0]
00:31:11: | Convert444Threads - [4e+003%] [avg time: 66.646 ms (cpu time: avg 1.05 ms, total 27939.8 ms)] [avg calls per frame: 1]
00:31:11: ==============================================================
00:31:11: 
00:31:11: =====Stream End: 2013-08-28, 00:31:11=================================================


Last game capture log:
2013-08-27, 23:14:29: we're booting up: 
23:14:29: D3D9 Present
23:14:29: (half life scientist) everything..  seems to be in order
23:14:30: D3D9EndScene called
23:14:30: D3DPRESENT_PARAMETERS {
23:14:30: 	BackBufferWidth: 1920
23:14:30: 	BackBufferHeight: 1200
23:14:30: 	BackBufferFormat: D3DFMT_A8R8G8B8
23:14:30: 	BackBufferCount: 1
23:14:30: 	MultiSampleType: D3DMULTISAMPLE_NONE
23:14:30: 	MultiSampleQuality: 0
23:14:30: 	SwapEffect: D3DSWAPEFFECT_DISCARD
23:14:30: 	hDeviceWindow: 1770532
23:14:30: 	Windowed: true
23:14:30: 	EnableAutoDepthStencil: false
23:14:30: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
23:14:30: 	Flags: None
23:14:30: 	FullScreen_RefreshRateInHz: 0
23:14:30: 	PresentationInterval: 0
23:14:30: };
23:14:30: successfully set up d3d9 hooks
23:14:30: D3D9Present called
23:14:30: DoD3D9GPUHook: success
23:14:30: D3DSURFACE_DESC {
23:14:30: 	Format: D3DFMT_A8R8G8B8
23:14:30: 	Type: D3DRTYPE_SURFACE
23:14:30: 	Usage: D3DUSAGE_RENDERTARGET 
23:14:30: 	Pool: D3DPOOL_DEFAULT
23:14:30: 	MultiSampleType: D3DMULTISAMPLE_NONE
23:14:30: 	MultiSampleQuality: 0
23:14:30: 	Width: 1920
23:14:30: 	Height: 1200
23:14:30: };
23:14:30: successfully capturing d3d9 frames via GPU
23:39:30: ---------------------- Cleared D3D9 Capture ----------------------
23:39:31: D3D9EndScene called
23:39:31: D3D9Present called
23:39:32: received restart event, capturing
23:39:32: DoD3D9GPUHook: success
23:39:32: D3DSURFACE_DESC {
23:39:32: 	Format: D3DFMT_A8R8G8B8
23:39:32: 	Type: D3DRTYPE_SURFACE
23:39:32: 	Usage: D3DUSAGE_RENDERTARGET 
23:39:32: 	Pool: D3DPOOL_DEFAULT
23:39:32: 	MultiSampleType: D3DMULTISAMPLE_NONE
23:39:32: 	MultiSampleQuality: 0
23:39:32: 	Width: 1920
23:39:32: 	Height: 1200
23:39:32: };
23:39:32: successfully capturing d3d9 frames via GPU
00:16:13: ---------------------- Cleared D3D9 Capture ----------------------
00:16:13: D3D9EndScene called
00:16:13: D3D9Present called
00:16:23: received restart event, capturing
00:16:23: DoD3D9GPUHook: success
00:16:23: D3DSURFACE_DESC {
00:16:23: 	Format: D3DFMT_A8R8G8B8
00:16:23: 	Type: D3DRTYPE_SURFACE
00:16:23: 	Usage: D3DUSAGE_RENDERTARGET 
00:16:23: 	Pool: D3DPOOL_DEFAULT
00:16:23: 	MultiSampleType: D3DMULTISAMPLE_NONE
00:16:23: 	MultiSampleQuality: 0
00:16:23: 	Width: 1920
00:16:23: 	Height: 1200
00:16:23: };
00:16:23: successfully capturing d3d9 frames via GPU
00:31:10: ---------------------- Cleared D3D9 Capture ----------------------
00:31:11: D3D9EndScene called
00:31:11: D3D9Present called
 

Brutality

New Member
Update: I tested my internet connection with a connection monitor (https://code.google.com/p/internetconnectivitymonitor/) and it didn't fall out during the reconnects, so it's not because I lose internet connection for say 1 nano second etc.

I really have no idea what's making this happen, but perhaps someone can figure it out from the log.
Please tell me if I need to post additional information and how to obtain that information. I'd hate to get fallouts during my giveaway on Sunday so let's figure out how to solve this fast :P
 

dodgepong

Administrator
Community Helper
Try a different Twitch server besides Frankfurt, which is known for not being that great.
 

Brutality

New Member
dodgepong said:
Try a different Twitch server besides Frankfurt, which is known for not being that great.
I've tried all european servers, no difference :/
Thanks for your reply though!
 

Brutality

New Member
viewtopic.php?f=5&t=6827

Seems like I'm not the only one on these forums having this issue.

I believe it started after installing the most recent update, so I've tried download the newest installer and reinstall with that in case it was a patching issue, but I still have the issue.
One thing I am wondering about is why it has the same file name?
I see that I downloaded the OBS installer the first time June 22nd and the file name was "OBS_0_552b_Installer" and if I download the OBS installer today it still has that file name, as if it is the same version O_o
 

Brutality

New Member
Kharay said:
http://sourceforge.net/projects/obsproject/files/?source=navbar

Pick any previous version you feel like trying this with.

Nevermind, I am blind, back in June it was 522 (TWENTY-TWO) and today it is 552 (FIFTY-TWO), silly me :P
 

Kharay

Member
Well, in that case obviously it is unrelated to the update and consequently most likely unrelated to OBS. Which does make sense; Twitch has been very, very twitchy as of late. Which may not necessarily be the explanation you'd like but, well... it is what it is.

Fact of the matter is, I am completely unable to even watch a stream. Although, oddly enough, streaming is just fine for me. Twitch... facepalm.
 
Top