Question / Help Disconnects every 6 seconds

Darkjuda

New Member
Hi,

My name is Alex and I have a problem.
Each time I try to stream on Twitch, I get disconnections every 6-8 seconds, regardless the server I'm using and my connection is not the problem.
I have 0 frame drops and I stream at 2500 or 3000 kbps for a 4500 kpbs upload connection.

No real lag, obs seams to upload fine, but when I watch the stream, it keeps disconnecting and reconnecting every time!

No firewall problem, I'm connected on ethernet to my netgear modem and I don't have any antivirus (always active, I mean).

What could be the problem?

Thanks.
 

Darkjuda

New Member
Code:
04:04:08: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
04:04:08: -------------------------------
04:04:08: CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
04:04:08: CPU Speed: 2808MHz
04:04:08: Physical Memory:  4094MB Total, 2730MB Free
04:04:08: stepping id: 5, model 30, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
04:04:08: monitor 1: pos={0, 0}, size={1680, 1050}
04:04:08: monitor 2: pos={-1440, 0}, size={1440, 900}
04:04:08: Windows Version: 6.1 Build 7600 
04:04:08: Aero is Disabled
04:04:08: -------------------------------
04:04:08: OBS Modules:
04:04:08: Base Address     Module
04:04:08: 00D80000         OBS.exe
04:04:08: 55200000         OBSApi.dll
04:04:08: 62F30000         DShowPlugin.dll
04:04:08: 71420000         GraphicsCapture.dll
04:04:08: 72670000         NoiseGate.dll
04:04:08: 63640000         PSVPlugin.dll
04:04:08: ------------------------------------------
04:04:08: Adapter 1
04:04:08:   Video Adapter: NVIDIA GeForce GTX 560 
04:04:08:   Video Adapter Dedicated Video Memory: 1024917504
04:04:08:   Video Adapter Shared System Memory: 1878028288
04:04:08:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
04:04:08:   Video Adapter Output 2: pos={-1440, 0}, size={1440, 900}, attached=true
04:04:08: Incompatible modules (pre-D3D) detected.
04:04:10: Using fixed low latency mode, factor 20
04:04:10: =====Stream Start: 2014-01-16, 04:04:10===============================================
04:04:10:   Multithreaded optimizations: On
04:04:10:   Base resolution: 1680x1050
04:04:10:   Output resolution: 1680x1050
04:04:10: ------------------------------------------
04:04:10: Loading up D3D10 on NVIDIA GeForce GTX 560 (Adapter 1)...
04:04:11: ------------------------------------------
04:04:11: Audio Format: 48000hz
04:04:11: Playback device {0.0.0.00000000}.{a0ce5569-00cf-4ea0-bbf7-e594015d6dae}
04:04:11: ------------------------------------------
04:04:11: Using desktop audio input: Haut-parleurs (VIA High Definition Audio)
04:04:11: ------------------------------------------
04:04:11: Using auxilary audio input: Microphone (VIA High Definition Audio)
04:04:11: ------------------------------------------
04:04:11: Audio Encoding: AAC
04:04:11:     bitrate: 128
04:04:11: Using text output
04:04:11: Using bitmap image
04:04:11: Scene buffering time set to 700
04:04:11: ------------------------------------------
04:04:11: Video Encoding: x264
04:04:11:     fps: 30
04:04:11:     width: 1680, height: 1050
04:04:11:     preset: veryfast
04:04:11:     profile: main
04:04:11:     keyint: 60
04:04:11:     CBR: yes
04:04:11:     CFR: yes
04:04:11:     max bitrate: 3500
04:04:11:     buffer size: 3500
04:04:11: ------------------------------------------
04:04:11: MMDeviceAudioSource: Frequency for device 'Haut-parleurs (VIA High Definition Audio)' is 384000, samples per sec is 48000
04:04:11: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
04:04:14: Using RTMP service: Twitch / Justin.tv
04:04:14:   Server selection: rtmp://live-ams.justin.tv/app
04:04:14:   Interface: Carte réseau Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet (NDIS 6.20) (ethernet, 100 mbps)
04:04:14: Completed handshake with rtmp://live-ams.justin.tv/app in 378 ms.
04:04:15: SO_SNDBUF was at 8192
04:04:15: SO_SNDBUF is now 65536
04:04:23: Total frames encoded: 337, total frames duplicated: 0 (0.00%)
04:04:23: Total frames rendered: 339, number of late frames: 1 (0.29%) (it's okay for some frames to be late)
04:04:23: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
04:04:23: Average send payload: 23523 bytes, average send interval: 51 ms
04:04:23: Number of times waited to send: 0, Waited for a total of 0 bytes
04:04:23: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
04:04:23: Number of bytes sent: 3434365
04:04:23: 
04:04:23: Profiler time results:
04:04:23: 
04:04:23: ==============================================================
04:04:23: video thread frame - [100%] [avg time: 1.819 ms] [children: 39.3%] [unaccounted: 60.7%]
04:04:23: | scene->Preprocess - [16.6%] [avg time: 0.302 ms]
04:04:23: | GPU download and conversion - [22.7%] [avg time: 0.413 ms] [children: 20.2%] [unaccounted: 2.53%]
04:04:23: | | flush - [18.2%] [avg time: 0.331 ms]
04:04:23: | | CopyResource - [1.37%] [avg time: 0.025 ms]
04:04:23: | | conversion to 4:2:0 - [0.605%] [avg time: 0.011 ms]
04:04:23: Convert444Threads - [100%] [avg time: 1.424 ms] [children: 99.6%] [unaccounted: 0.351%]
04:04:23: | Convert444toNV12 - [99.6%] [avg time: 1.419 ms]
04:04:23: encoder thread frame - [100%] [avg time: 2 ms]
04:04:23: ==============================================================
04:04:23: 
04:04:23: 
04:04:23: Profiler CPU results:
04:04:23: 
04:04:23: ==============================================================
04:04:23: video thread frame - [cpu time: avg 1.012 ms, total 343.202 ms] [avg calls per frame: 1]
04:04:23: | scene->Preprocess - [cpu time: avg 0.046 ms, total 15.6 ms] [avg calls per frame: 1]
04:04:23: | GPU download and conversion - [cpu time: avg 0.138 ms, total 46.801 ms] [avg calls per frame: 1]
04:04:23: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
04:04:23: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
04:04:23: | | conversion to 4:2:0 - [cpu time: avg 0.098 ms, total 31.2 ms] [avg calls per frame: 1]
04:04:23: Convert444Threads - [cpu time: avg 1.377 ms, total 873.605 ms] [avg calls per frame: 2]
04:04:23: | Convert444toNV12 - [cpu time: avg 1.377 ms, total 873.605 ms] [avg calls per frame: 2]
04:04:23: encoder thread frame - [cpu time: avg 1.629 ms, total 514.803 ms] [avg calls per frame: 1]
04:04:23: ==============================================================
04:04:23: 
04:04:23: =====Stream End: 2014-01-16, 04:04:23=================================================
04:04:24: Incompatible modules (pre-D3D) detected.
04:04:25: Using fixed low latency mode, factor 20
04:04:25: =====Stream Start: 2014-01-16, 04:04:25===============================================
04:04:25:   Multithreaded optimizations: On
04:04:25:   Base resolution: 1680x1050
04:04:25:   Output resolution: 1680x1050
04:04:25: ------------------------------------------
04:04:25: Loading up D3D10 on NVIDIA GeForce GTX 560 (Adapter 1)...
04:04:25: ------------------------------------------
04:04:25: Audio Format: 48000hz
04:04:25: Playback device {0.0.0.00000000}.{a0ce5569-00cf-4ea0-bbf7-e594015d6dae}
04:04:25: ------------------------------------------
04:04:25: Using desktop audio input: Haut-parleurs (VIA High Definition Audio)
04:04:25: ------------------------------------------
04:04:25: Using auxilary audio input: Microphone (VIA High Definition Audio)
04:04:25: ------------------------------------------
04:04:25: Audio Encoding: AAC
04:04:25:     bitrate: 128
04:04:25: Using text output
04:04:25: Using bitmap image
04:04:25: Scene buffering time set to 700
04:04:25: ------------------------------------------
04:04:25: Video Encoding: x264
04:04:25:     fps: 30
04:04:25:     width: 1680, height: 1050
04:04:25:     preset: veryfast
04:04:25:     profile: main
04:04:25:     keyint: 60
04:04:25:     CBR: yes
04:04:25:     CFR: yes
04:04:25:     max bitrate: 3500
04:04:25:     buffer size: 3500
04:04:25: ------------------------------------------
04:04:25: MMDeviceAudioSource: Frequency for device 'Haut-parleurs (VIA High Definition Audio)' is 384000, samples per sec is 48000
04:04:25: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
04:04:28: Using RTMP service: Twitch / Justin.tv
04:04:28:   Server selection: rtmp://live-ams.justin.tv/app
04:04:28:   Interface: Carte réseau Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet (NDIS 6.20) (ethernet, 100 mbps)
04:04:28: Completed handshake with rtmp://live-ams.justin.tv/app in 375 ms.
04:04:29: SO_SNDBUF was at 8192
04:04:29: SO_SNDBUF is now 65536
04:07:38: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:07:38:   New Scene
04:07:38: Using Monitor Capture
04:09:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:09:47:   New Scene
04:09:47: Using graphics capture
04:10:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:10:04:   New Scene
04:10:04: Using Window Capture
04:10:09: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:10:09:   New Scene
04:10:09: Using graphics capture
04:10:50: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:10:50:   New Scene
04:10:51: Using Window Capture
04:11:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:11:46:   New Scene
04:11:46: Using graphics capture
04:11:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:11:47:   New Scene
04:11:47: Using Window Capture
04:20:52: Total frames encoded: 29557, total frames duplicated: 751 (2.54%)
04:20:52: Total frames rendered: 29222, number of late frames: 44 (0.15%) (it's okay for some frames to be late)
04:20:52: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
04:20:52: Average send payload: 22749 bytes, average send interval: 50 ms
04:20:52: Number of times waited to send: 0, Waited for a total of 0 bytes
04:20:52: Number of b-frames dropped: 2 (0.0068%), Number of p-frames dropped: 0 (0%), Total 2 (0.0068%)
04:20:52: Number of bytes sent: 446035463
04:20:52: 
04:20:52: Profiler time results:
04:20:52: 
04:20:52: ==============================================================
04:20:52: video thread frame - [100%] [avg time: 6.172 ms] [children: 82.5%] [unaccounted: 17.5%]
04:20:52: | scene->Preprocess - [56.3%] [avg time: 3.472 ms]
04:20:52: | GPU download and conversion - [26.2%] [avg time: 1.617 ms] [children: 2.46%] [unaccounted: 23.7%]
04:20:52: | | flush - [1.85%] [avg time: 0.114 ms]
04:20:52: | | CopyResource - [0.373%] [avg time: 0.023 ms]
04:20:52: | | conversion to 4:2:0 - [0.243%] [avg time: 0.015 ms]
04:20:52: Convert444Threads - [100%] [avg time: 1.537 ms] [children: 99.5%] [unaccounted: 0.455%]
04:20:52: | Convert444toNV12 - [99.5%] [avg time: 1.53 ms]
04:20:52: encoder thread frame - [100%] [avg time: 2.379 ms]
04:20:52: ==============================================================
04:20:52: 
04:20:52: 
04:20:52: Profiler CPU results:
04:20:52: 
04:20:52: ==============================================================
04:20:52: video thread frame - [cpu time: avg 2.214 ms, total 64709.2 ms] [avg calls per frame: 1]
04:20:52: | scene->Preprocess - [cpu time: avg 1.521 ms, total 44460.3 ms] [avg calls per frame: 1]
04:20:52: | GPU download and conversion - [cpu time: avg 0.082 ms, total 2402.41 ms] [avg calls per frame: 1]
04:20:52: | | flush - [cpu time: avg 0.053 ms, total 1575.61 ms] [avg calls per frame: 1]
04:20:52: | | CopyResource - [cpu time: avg 0.01 ms, total 312.002 ms] [avg calls per frame: 1]
04:20:52: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 78 ms] [avg calls per frame: 1]
04:20:52: Convert444Threads - [cpu time: avg 1.522 ms, total 88905 ms] [avg calls per frame: 2]
04:20:52: | Convert444toNV12 - [cpu time: avg 1.521 ms, total 88827 ms] [avg calls per frame: 2]
04:20:52: encoder thread frame - [cpu time: avg 1.729 ms, total 51090.3 ms] [avg calls per frame: 1]
04:20:52: ==============================================================
04:20:52: 
04:20:52: =====Stream End: 2014-01-16, 04:20:52=================================================
04:20:54: Incompatible modules (pre-D3D) detected.


Last game capture log:
2014-01-16, 04:10:30: we're booting up: 
04:10:30: CaptureThread: attached to process Steam.exe
04:10:31: D3D9 Present
04:10:32: NV Capture available
04:10:32: FBO available
04:10:32: GL Present
04:10:32: (half life scientist) everything..  seems to be in order
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Your first session definitely didn't last long, though your second session says you were connected for 15 minutes. I'm not entirely sure why you are disconnecting, but I'm glad you at least tested directly connecting to the modem.

It's actually difficult to help with network issues because they have way too many variables involved. Your network, firewalls, network drivers, network card, your neighborhood connection, your ISP, the server, the routing to the server, and even your network cables are all variables. What you have to do is narrow down the variables as much as you can to determine the cause. That's honestly the best troubleshooting I can give, and I know it's not really ideal, but there's really not much else we can do usually.

If you haven't, make sure to read viewtopic.php?f=5&t=8870 -- It's a thread we set up about the topic as well, though I already outlined most of the variables for you.
 
Top