So this is a old problem, but it came back to haunt me with the latest few versions. It appears as though other people are having problems on Twitch as they randomly disconnect and reconnect too. The stream operates perfectly fine up to about the 3 hour mark, after which it will randomly disconnect and reconnect again, operating as if nothing happened.
Random users on Twitch are claiming things like 'ddos' which is entirely retarded, but it's what they're going with. Looking at the OBS logs I get this error every time.
"05:02:33: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054"
It'd be nice if you guys looked into this more as you lose a lot of viewers when this happens and it's fairly common as I've seen it happen to a lot of the big streamers while watching their streams.
Last nights log below, it happened two times.
No, it's not because I'm using the latest alpha. It happened before that. I can copy and paste older logs if necessary.
Random users on Twitch are claiming things like 'ddos' which is entirely retarded, but it's what they're going with. Looking at the OBS logs I get this error every time.
"05:02:33: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054"
It'd be nice if you guys looked into this more as you lose a lot of viewers when this happens and it's fairly common as I've seen it happen to a lot of the big streamers while watching their streams.
Last nights log below, it happened two times.
Code:
21:59:22: Open Broadcaster Software v0.52.07b aquaman build - 32bit (´・ω・`)
21:59:22: -------------------------------
21:59:22: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
21:59:22: CPU Speed: 4013MHz
21:59:22: Physical Memory: 4095MB Total, 4095MB Free
21:59:22: stepping id: 0, model 2, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
21:59:22: monitor 1: pos={0, 0}, size={1920, 1080}
21:59:22: monitor 2: pos={-1680, 0}, size={1680, 1050}
21:59:22: Windows Version: 6.1 Build 7601 S
21:59:22: Aero is Disabled
21:59:22: -------------------------------
21:59:22: OBS Modules:
21:59:22: Base Address Module
21:59:22: 012D0000 OBS.exe
21:59:22: 5E2A0000 OBSApi.dll
21:59:22: 5E830000 DShowPlugin.dll
21:59:22: 5EA40000 GraphicsCapture.dll
21:59:22: 5E810000 NoiseGate.dll
21:59:22: 5E800000 PSVPlugin.dll
21:59:22: ------------------------------------------
21:59:22: Adapter 1
21:59:22: Video Adapter: AMD Radeon HD 7800 Series
21:59:22: Video Adapter Dedicated Video Memory: 2120425472
21:59:22: Video Adapter Shared System Memory: 2174476288
21:59:22: =====Stream Start: 2013-06-29, 21:59:22===============================================
21:59:22: Multithreaded optimizations: On
21:59:22: Base resolution: 1920x1080
21:59:22: Output resolution: 1280x720
21:59:22: ------------------------------------------
21:59:22: Loading up D3D10...
21:59:22: Playback device Default
21:59:22: ------------------------------------------
21:59:22: Using desktop audio input: Speakers (Auzentech X-Fi Forte)
21:59:22: Using 7.1 surround speaker setup
21:59:22: ------------------------------------------
21:59:22: Using auxilary audio input: Line 2 (Virtual Audio Cable)
21:59:22: ------------------------------------------
21:59:22: Audio Encoding: AAC
21:59:22: bitrate: 192
21:59:22: Using graphics capture
21:59:22: ------------------------------------------
21:59:22: Video Encoding: x264
21:59:22: fps: 30
21:59:22: width: 1280, height: 720
21:59:22: preset: veryfast
21:59:22: CBR: no
21:59:22: CFR: no
21:59:22: max bitrate: 3100
21:59:22: buffer size: 5000
21:59:22: quality: 8
21:59:22: ------------------------------------------
21:59:23: SharedTexCapture hooked
21:59:43: SharedTexCapture hooked
22:00:33: Total frames rendered: 2112, number of frames that lagged: 1 (0.05%) (it's okay for some frames to lag)
22:00:33: =====Stream End: 2013-06-29, 22:00:33=================================================
22:00:40: Using automatic low latency mode
22:00:40: =====Stream Start: 2013-06-29, 22:00:40===============================================
22:00:40: Multithreaded optimizations: On
22:00:40: Base resolution: 1920x1080
22:00:40: Output resolution: 1280x720
22:00:40: ------------------------------------------
22:00:40: Loading up D3D10...
22:00:40: Playback device Default
22:00:40: ------------------------------------------
22:00:40: Using desktop audio input: Speakers (Auzentech X-Fi Forte)
22:00:40: Using 7.1 surround speaker setup
22:00:40: ------------------------------------------
22:00:40: Using auxilary audio input: Line 2 (Virtual Audio Cable)
22:00:40: ------------------------------------------
22:00:40: Audio Encoding: AAC
22:00:40: bitrate: 192
22:00:40: Using graphics capture
22:00:40: ------------------------------------------
22:00:40: Video Encoding: x264
22:00:40: fps: 30
22:00:40: width: 1280, height: 720
22:00:40: preset: veryfast
22:00:40: CBR: no
22:00:40: CFR: no
22:00:40: max bitrate: 3100
22:00:40: buffer size: 5000
22:00:40: quality: 8
22:00:40: ------------------------------------------
22:00:40: SharedTexCapture hooked
22:00:42: Using RTMP service: Twitch / Justin.tv
22:00:42: Server selection: rtmp://live-ord.justin.tv/app
22:00:43: SO_SNDBUF was at 8192
22:00:43: SO_SNDBUF is now 65536
22:01:16: GraphicsCaptureSource::NewCapture: eliminating old capture
22:01:16: SharedTexCapture hooked
01:27:44: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
01:27:44: Total frames rendered: 372666, number of frames that lagged: 1 (0.00%) (it's okay for some frames to lag)
01:27:44: librtmp error: WriteN, RTMP send error 10054 (79 bytes)
01:27:44: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
01:27:44: Number of times waited to send: 0, Waited for a total of 0 bytes
01:27:44: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:27:44: =====Stream End: 2013-06-30, 01:27:44=================================================
01:27:49: Using automatic low latency mode
01:27:49: =====Stream Start: 2013-06-30, 01:27:49===============================================
01:27:49: Multithreaded optimizations: On
01:27:49: Base resolution: 1920x1080
01:27:49: Output resolution: 1280x720
01:27:49: ------------------------------------------
01:27:49: Loading up D3D10...
01:27:49: Playback device Default
01:27:49: ------------------------------------------
01:27:49: Using desktop audio input: Speakers (Auzentech X-Fi Forte)
01:27:49: Using 7.1 surround speaker setup
01:27:49: ------------------------------------------
01:27:49: Using auxilary audio input: Line 2 (Virtual Audio Cable)
01:27:49: ------------------------------------------
01:27:49: Audio Encoding: AAC
01:27:49: bitrate: 192
01:27:49: Using graphics capture
01:27:50: ------------------------------------------
01:27:50: Video Encoding: x264
01:27:50: fps: 30
01:27:50: width: 1280, height: 720
01:27:50: preset: veryfast
01:27:50: CBR: no
01:27:50: CFR: no
01:27:50: max bitrate: 3100
01:27:50: buffer size: 5000
01:27:50: quality: 8
01:27:50: ------------------------------------------
01:27:50: SharedTexCapture hooked
01:27:51: Using RTMP service: Twitch / Justin.tv
01:27:51: Server selection: rtmp://live-ord.justin.tv/app
01:27:52: SO_SNDBUF was at 8192
01:27:52: SO_SNDBUF is now 65536
04:10:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:10:03: New Scene
04:10:03: Using Monitor Capture
04:11:00: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:11:00: New Scene
04:11:00: Using graphics capture
04:11:00: SharedTexCapture hooked
04:20:14: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:20:14: New Scene
04:20:14: Using Monitor Capture
04:23:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
04:23:03: New Scene
04:23:03: Using graphics capture
04:23:03: SharedTexCapture hooked
04:23:33: GraphicsCaptureSource::NewCapture: eliminating old capture
04:23:33: SharedTexCapture hooked
04:47:37: GraphicsCaptureSource::NewCapture: eliminating old capture
04:47:37: SharedTexCapture hooked
04:50:07: Capture window 0x005F04A6 invalid or changing, terminating capture
04:50:55: SharedTexCapture hooked
04:51:11: GraphicsCaptureSource::NewCapture: eliminating old capture
04:51:11: SharedTexCapture hooked
05:02:33: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
05:02:33: Total frames rendered: 386284, number of frames that lagged: 351 (0.09%) (it's okay for some frames to lag)
05:02:33: librtmp error: WriteN, RTMP send error 10054 (79 bytes)
05:02:33: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
05:02:33: Number of times waited to send: 0, Waited for a total of 0 bytes
05:02:33: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
05:02:33: =====Stream End: 2013-06-30, 05:02:33=================================================
05:02:38: Using automatic low latency mode
05:02:38: =====Stream Start: 2013-06-30, 05:02:38===============================================
05:02:38: Multithreaded optimizations: On
05:02:38: Base resolution: 1920x1080
05:02:38: Output resolution: 1280x720
05:02:38: ------------------------------------------
05:02:38: Loading up D3D10...
05:02:39: Playback device Default
05:02:39: ------------------------------------------
05:02:39: Using desktop audio input: Speakers (Auzentech X-Fi Forte)
05:02:39: Using 7.1 surround speaker setup
05:02:39: ------------------------------------------
05:02:39: Using auxilary audio input: Line 2 (Virtual Audio Cable)
05:02:39: ------------------------------------------
05:02:39: Audio Encoding: AAC
05:02:39: bitrate: 192
05:02:39: Using graphics capture
05:02:39: ------------------------------------------
05:02:39: Video Encoding: x264
05:02:39: fps: 30
05:02:39: width: 1280, height: 720
05:02:39: preset: veryfast
05:02:39: CBR: no
05:02:39: CFR: no
05:02:39: max bitrate: 3100
05:02:39: buffer size: 5000
05:02:39: quality: 8
05:02:39: ------------------------------------------
05:02:39: SharedTexCapture hooked
05:02:41: Using RTMP service: Twitch / Justin.tv
05:02:41: Server selection: rtmp://live-ord.justin.tv/app
05:02:41: SO_SNDBUF was at 8192
05:02:41: SO_SNDBUF is now 65536
05:42:37: Total frames rendered: 71941, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
05:42:37: RTMPPublisher::SocketLoop: Aborting due to bStopping
05:42:37: Number of times waited to send: 0, Waited for a total of 0 bytes
05:42:37: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
05:42:37: =====Stream End: 2013-06-30, 05:42:37=================================================
05:42:56:
05:42:56: Profiler results:
05:42:56:
05:42:56: ==============================================================
05:42:56: frame - [100%] [avg time: 2.242 ms (cpu time: avg 2.002 ms, total 1.66832e+006 ms)] [avg calls per frame: 1] [children: 78.6%] [unaccounted: 21.4%]
05:42:56: | scene->Preprocess - [3.79%] [avg time: 0.085 ms (cpu time: avg 0.052 ms, total 44117.1 ms)] [avg calls per frame: 1]
05:42:56: | video encoding and uploading - [74.8%] [avg time: 1.677 ms (cpu time: avg 1.626 ms, total 1.35488e+006 ms)] [avg calls per frame: 1] [children: 72.7%] [unaccounted: 2.14%]
05:42:56: | | CopyResource - [0.491%] [avg time: 0.011 ms (cpu time: avg 0.01 ms, total 9094.86 ms)] [avg calls per frame: 0]
05:42:56: | | conversion to 4:2:0 - [0.401%] [avg time: 0.009 ms (cpu time: avg 0.008 ms, total 7441.25 ms)] [avg calls per frame: 0]
05:42:56: | | call to encoder - [70.5%] [avg time: 1.58 ms (cpu time: avg 1.558 ms, total 1.29802e+006 ms)] [avg calls per frame: 0]
05:42:56: | | sending stuff out - [1.29%] [avg time: 0.029 ms (cpu time: avg 0.026 ms, total 21777.7 ms)] [avg calls per frame: 0]
05:42:56: | Convert444Threads - [2.97e+003%] [avg time: 66.681 ms (cpu time: avg 1.263 ms, total 1.05215e+006 ms)] [avg calls per frame: 1]
05:42:56: ==============================================================
05:42:56:
No, it's not because I'm using the latest alpha. It happened before that. I can copy and paste older logs if necessary.