Bug Report OBS drops to 0 kbp/s

shyo

New Member
Hey. I have a problem with streaming to Twitch.TV servers.

Everytime I stream, after an unspecified amount of time (from experience it has been between 3 and 30 minutes, rarely longer), OBS drops the connection to 0 kbp/s and displays a red bar in the statusbar. It is not my internet connection, as everything else works. I am not on wireless. OBS doesn't seem to catch the error and doesn't reconnect on its own (even though auto-reconnect is checked). I can re-connect manually and it connects normally, until it drops after some time again.

I usually stream gameplay of older, emulated games (NES/SNES era) which run on 60 fps and don't have erratic movement. Aside from the connection issue, everything else works completely fine.

I am grateful for any kind of help or guidance :).

2799736383.png


Error log:

Code:
06:20:10: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
06:20:10: -------------------------------
06:20:10: CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
06:20:10: CPU Speed: 2808MHz
06:20:10: Physical Memory:  4087MB Total, 1289MB Free
06:20:10: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
06:20:10: monitor 1: pos={0, 0}, size={1920, 1080}
06:20:10: monitor 2: pos={-1280, 56}, size={1280, 1024}
06:20:10: Windows Version: 6.1 Build 7601 S
06:20:10: Aero is Disabled
06:20:10: -------------------------------
06:20:10: OBS Modules:
06:20:10: Base Address     Module
06:20:10: 009B0000         OBS.exe
06:20:10: 60520000         OBSApi.dll
06:20:10: 70010000         DShowPlugin.dll
06:20:10: 71AC0000         GraphicsCapture.dll
06:20:10: 73120000         NoiseGate.dll
06:20:10: ------------------------------------------
06:20:10: Adapter 1
06:20:10:   Video Adapter: NVIDIA GeForce GTX 460
06:20:10:   Video Adapter Dedicated Video Memory: 1025966080
06:20:10:   Video Adapter Shared System Memory: 1874358272
06:20:10: ------------------------------------------
06:20:10: Adapter 2
06:20:10:   Video Adapter: NVIDIA GeForce GTX 460
06:20:10:   Video Adapter Dedicated Video Memory: 1026097152
06:20:10:   Video Adapter Shared System Memory: 1874358272
06:20:10: =====Stream Start: 2013-06-27, 06:20:10===============================================
06:20:10:   Multithreaded optimizations: On
06:20:10:   Base resolution: 1920x1080
06:20:10:   Output resolution: 1536x864
06:20:10: ------------------------------------------
06:20:10: Loading up D3D10...
06:20:10: Playback device Default
06:20:10: ------------------------------------------
06:20:10: Using desktop audio input: Speakers (ASUS Xonar DG Audio Device)
06:20:10: ------------------------------------------
06:20:10: Using auxilary audio input: Microphone (3- USB Audio Device)
06:20:11: ------------------------------------------
06:20:11: Audio Encoding: AAC
06:20:11:     bitrate: 128
06:20:11: Using Window Capture
06:20:11: ------------------------------------------
06:20:11: Video Encoding: x264
06:20:11:     fps: 60
06:20:11:     width: 1536, height: 864
06:20:11:     preset: faster
06:20:11:     CBR: no
06:20:11:     CFR: no
06:20:11:     max bitrate: 1200
06:20:11:     buffer size: 1000
06:20:11:     quality: 7
06:20:11: ------------------------------------------
06:20:12: Using RTMP service: Twitch / Justin.tv
06:20:12:   Server selection: rtmp://live-fra.justin.tv/app
06:20:14: SO_SNDBUF was at 8192
06:20:14: SO_SNDBUF is now 65536
06:24:08: Total frames rendered: 13833, number of frames that lagged: 813 (5.88%) (it's okay for some frames to lag)
06:24:08: okay, this is strange
06:24:08: RTMPPublisher::SocketLoop: Aborting due to loop exit
06:24:08: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
06:24:08: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
06:24:08: Number of times waited to send: 2, Waited for a total of 8208 bytes
06:24:08: Number of b-frames dropped: 40 (0.29%), Number of p-frames dropped: 50 (0.37%), Total 90 (0.66%)
06:24:08: =====Stream End: 2013-06-27, 06:24:08=================================================
06:24:14: 
06:24:14: Profiler results:
06:24:14: 
06:24:14: ==============================================================
06:24:14: frame - [100%] [avg time: 8.767 ms] [avg calls per frame: 1] [children: 69.8%] [unaccounted: 30.2%]
06:24:14: | scene->Preprocess - [36.4%] [avg time: 3.193 ms] [avg calls per frame: 1]
06:24:14: | video encoding and uploading - [33.3%] [avg time: 2.922 ms] [avg calls per frame: 1] [children: 32.7%] [unaccounted: 0.639%]
06:24:14: | | CopyResource - [0.627%] [avg time: 0.055 ms] [avg calls per frame: 0]
06:24:14: | | conversion to 4:2:0 - [2.51%] [avg time: 0.22 ms] [avg calls per frame: 0]
06:24:14: | | call to encoder - [29.4%] [avg time: 2.575 ms] [avg calls per frame: 0]
06:24:14: | | sending stuff out - [0.183%] [avg time: 0.016 ms] [avg calls per frame: 0]
06:24:14: ==============================================================
06:24:14:
 

shyo

New Member
I used to have that and switched to Frankfurt to see if it changes anything, the same thing happened. It seems that it sometimes auto-reconnects, though.


This is a log from then (different settings)


Code:
19:31:14: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
19:31:14: -------------------------------
19:31:14: CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
19:31:14: CPU Speed: 2808MHz
19:31:14: Physical Memory:  4087MB Total, 1472MB Free
19:31:14: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
19:31:14: monitor 1: pos={0, 0}, size={1920, 1080}
19:31:14: monitor 2: pos={-1280, 56}, size={1280, 1024}
19:31:14: Windows Version: 6.1 Build 7601 S
19:31:14: Aero is Disabled
19:31:14: -------------------------------
19:31:14: OBS Modules:
19:31:14: Base Address     Module
19:31:14: 00C80000         OBS.exe
19:31:14: 5C900000         OBSApi.dll
19:31:14: 61FA0000         DShowPlugin.dll
19:31:14: 664C0000         GraphicsCapture.dll
19:31:14: 61EF0000         NoiseGate.dll
19:31:14: ------------------------------------------
19:31:14: Adapter 1
19:31:14:   Video Adapter: NVIDIA GeForce GTX 460
19:31:14:   Video Adapter Dedicated Video Memory: 1025966080
19:31:14:   Video Adapter Shared System Memory: 1874358272
19:31:14: ------------------------------------------
19:31:14: Adapter 2
19:31:14:   Video Adapter: NVIDIA GeForce GTX 460
19:31:14:   Video Adapter Dedicated Video Memory: 1026097152
19:31:14:   Video Adapter Shared System Memory: 1874358272
19:31:14: =====Stream Start: 2013-06-14, 19:31:14===============================================
19:31:14:   Multithreaded optimizations: On
19:31:14:   Base resolution: 1920x1080
19:31:14:   Output resolution: 852x480
19:31:14: ------------------------------------------
19:31:15: Loading up D3D10...
19:31:15: Playback device Default
19:31:15: ------------------------------------------
19:31:15: Using desktop audio input: Speakers (ASUS Xonar DG Audio Device)
19:31:15: ------------------------------------------
19:31:15: Using auxilary audio input: Microphone (3- USB Audio Device)
19:31:15: ------------------------------------------
19:31:15: Audio Encoding: AAC
19:31:15:     bitrate: 128
19:31:15: Using Window Capture
19:31:15: ------------------------------------------
19:31:15: Video Encoding: x264
19:31:15:     fps: 60
19:31:15:     width: 852, height: 480
19:31:15:     preset: faster
19:31:15:     CBR: no
19:31:15:     CFR: no
19:31:15:     max bitrate: 1200
19:31:15:     buffer size: 1200
19:31:15:     quality: 7
19:31:15: ------------------------------------------
19:31:15: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
19:31:17: Using RTMP service: Twitch / Justin.tv
19:31:17:   Server selection: rtmp://live-ams.justin.tv/app
19:31:18: SO_SNDBUF was at 8192
19:31:18: SO_SNDBUF is now 65536
19:53:08: Total frames rendered: 78733, number of frames that lagged: 23 (0.03%) (it's okay for some frames to lag)
19:53:08: okay, this is strange
19:53:08: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:53:08: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:53:08: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:53:08: Number of times waited to send: 2, Waited for a total of 8194 bytes
19:53:08: Number of b-frames dropped: 27 (0.034%), Number of p-frames dropped: 71 (0.09%), Total 98 (0.12%)
19:53:08: =====Stream End: 2013-06-14, 19:53:08=================================================
19:53:08: =====Stream Start: 2013-06-14, 19:53:08===============================================
19:53:08:   Multithreaded optimizations: On
19:53:08:   Base resolution: 1920x1080
19:53:08:   Output resolution: 852x480
19:53:08: ------------------------------------------
19:53:08: Loading up D3D10...
19:53:08: Playback device Default
19:53:08: ------------------------------------------
19:53:08: Using desktop audio input: Speakers (ASUS Xonar DG Audio Device)
19:53:08: ------------------------------------------
19:53:08: Using auxilary audio input: Microphone (3- USB Audio Device)
19:53:08: ------------------------------------------
19:53:08: Audio Encoding: AAC
19:53:08:     bitrate: 128
19:53:08: Using Window Capture
19:53:08: ------------------------------------------
19:53:08: Video Encoding: x264
19:53:08:     fps: 60
19:53:08:     width: 852, height: 480
19:53:08:     preset: faster
19:53:08:     CBR: no
19:53:08:     CFR: no
19:53:08:     max bitrate: 1200
19:53:08:     buffer size: 1200
19:53:08:     quality: 7
19:53:08: ------------------------------------------
19:53:08: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
19:53:10: Using RTMP service: Twitch / Justin.tv
19:53:10:   Server selection: rtmp://live-ams.justin.tv/app
19:53:11: SO_SNDBUF was at 8192
19:53:11: SO_SNDBUF is now 65536
19:57:57: Total frames rendered: 17308, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
19:57:57: RTMPPublisher::SocketLoop: Aborting due to bStopping
19:57:57: Number of times waited to send: 0, Waited for a total of 0 bytes
19:57:57: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:57:57: =====Stream End: 2013-06-14, 19:57:57=================================================
19:57:58: 
19:57:58: Profiler results:
19:57:58: 
19:57:58: ==============================================================
19:57:58: frame - [100%] [avg time: 5.331 ms] [avg calls per frame: 1] [children: 48.3%] [unaccounted: 51.7%]
19:57:58: | scene->Preprocess - [34.4%] [avg time: 1.833 ms] [avg calls per frame: 1]
19:57:58: | video encoding and uploading - [13.9%] [avg time: 0.74 ms] [avg calls per frame: 1] [children: 13.5%] [unaccounted: 0.338%]
19:57:58: | | CopyResource - [0.225%] [avg time: 0.012 ms] [avg calls per frame: 0]
19:57:58: | | conversion to 4:2:0 - [0.0563%] [avg time: 0.003 ms] [avg calls per frame: 0]
19:57:58: | | call to encoder - [13.1%] [avg time: 0.698 ms] [avg calls per frame: 0]
19:57:58: | | sending stuff out - [0.169%] [avg time: 0.009 ms] [avg calls per frame: 0]
19:57:58: ==============================================================
19:57:58:




Edit: Streamed on London Server. Still, same thing happens.

Code:
07:58:00: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
07:58:00: -------------------------------
07:58:00: CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
07:58:00: CPU Speed: 2808MHz
07:58:00: Physical Memory:  4087MB Total, 1790MB Free
07:58:00: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 

0, HTT 1, logical cores 4, total cores 4
07:58:00: monitor 1: pos={0, 0}, size={1920, 1080}
07:58:00: monitor 2: pos={-1280, 56}, size={1280, 1024}
07:58:00: Windows Version: 6.1 Build 7601 S
07:58:00: Aero is Disabled
07:58:00: -------------------------------
07:58:00: OBS Modules:
07:58:00: Base Address     Module
07:58:00: 003C0000         OBS.exe
07:58:00: 60420000         OBSApi.dll
07:58:00: 6FF40000         DShowPlugin.dll
07:58:00: 73120000         GraphicsCapture.dll
07:58:00: 71AC0000         NoiseGate.dll
07:58:00: ------------------------------------------
07:58:00: Adapter 1
07:58:00:   Video Adapter: NVIDIA GeForce GTX 460
07:58:00:   Video Adapter Dedicated Video Memory: 1025966080
07:58:00:   Video Adapter Shared System Memory: 1874358272
07:58:00: ------------------------------------------
07:58:00: Adapter 2
07:58:00:   Video Adapter: NVIDIA GeForce GTX 460
07:58:00:   Video Adapter Dedicated Video Memory: 1026097152
07:58:00:   Video Adapter Shared System Memory: 1874358272
07:58:00: =====Stream Start: 2013-06-27, 

07:58:00===============================================
07:58:00:   Multithreaded optimizations: On
07:58:00:   Base resolution: 1920x1080
07:58:00:   Output resolution: 1280x720
07:58:00: ------------------------------------------
07:58:00: Loading up D3D10...
07:58:00: Playback device Default
07:58:00: ------------------------------------------
07:58:00: Using desktop audio input: Speakers (ASUS Xonar DG Audio Device)
07:58:00: ------------------------------------------
07:58:00: Using auxilary audio input: Microphone (3- USB Audio Device)
07:58:00: ------------------------------------------
07:58:00: Audio Encoding: AAC
07:58:00:     bitrate: 128
07:58:00: Using Window Capture
07:58:00: Using Window Capture
07:58:00: Using Window Capture
07:58:00: ------------------------------------------
07:58:00: Video Encoding: x264
07:58:00:     fps: 60
07:58:00:     width: 1280, height: 720
07:58:00:     preset: veryfast
07:58:00:     CBR: no
07:58:00:     CFR: no
07:58:00:     max bitrate: 1200
07:58:00:     buffer size: 1000
07:58:00:     quality: 7
07:58:00: ------------------------------------------
07:58:01: Using RTMP service: Twitch / Justin.tv
07:58:01:   Server selection: rtmp://live-lhr.justin.tv/app
07:58:03: SO_SNDBUF was at 8192
07:58:03: SO_SNDBUF is now 65536
07:58:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
07:58:03:   New Scene
07:58:03: Using Window Capture
08:23:22: Total frames rendered: 91229, number of frames that lagged: 367 

(0.40%) (it's okay for some frames to lag)
08:23:22: okay, this is strange
08:23:22: RTMPPublisher::SocketLoop: Aborting due to loop exit
08:23:22: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
08:23:22: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
08:23:22: Number of times waited to send: 2, Waited for a total of 3862 

bytes
08:23:22: Number of b-frames dropped: 34 (0.037%), Number of p-frames 

dropped: 55 (0.06%), Total 89 (0.098%) 
08:23:22: =====Stream End: 2013-06-27, 

08:23:22=================================================
08:23:25: 
08:23:25: Profiler results:
08:23:25: 
08:23:25: ==============================================================
08:23:25: frame - [100%] [avg time: 7.445 ms] [avg calls per frame: 1] 

[children: 61.1%] [unaccounted: 38.9%]
08:23:25: | scene->Preprocess - [40%] [avg time: 2.981 ms] [avg calls per 

frame: 1]
08:23:25: | video encoding and uploading - [21.1%] [avg time: 1.569 ms] [avg 

calls per frame: 1] [children: 20.9%] [unaccounted: 0.188%]
08:23:25: | | CopyResource - [0.242%] [avg time: 0.018 ms] [avg calls per 

frame: 0]
08:23:25: | | conversion to 4:2:0 - [0.537%] [avg time: 0.04 ms] [avg calls 

per frame: 0]
08:23:25: | | call to encoder - [19.8%] [avg time: 1.477 ms] [avg calls per 

frame: 0]
08:23:25: | | sending stuff out - [0.269%] [avg time: 0.02 ms] [avg calls 

per frame: 0]
08:23:25: ==============================================================
08:23:25:
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It seems to say that you're streaming -- not sure why it would be reporting 0kb/s if you rendered 90k frames and had dropped frames.

If dropping frames is the issue it could honestly be anything.
 

shyo

New Member
It records some frames as dropped as soon as the problem occurs. Just a small handful though, and none before.
 
Top