Question / Help Connection Issues

CombatTacos

New Member
Hey, I've recently started using OBS and I have a single glaring issue with it, the connection keeps ranging from 0kb/s to about 1.7MB, Anyone know the reason for this? I'm not lagging in the game, nor am I lagging while I watch OBS during a stream, but the connection will drop and rise from red to green.
http://testmy.net/l327X8N.png Speed test.
 

CombatTacos

New Member
Code:
10:27:39: Open Broadcaster Software v0.541b - 64bit ( ^ω^)
10:27:39: -------------------------------
10:27:39: CPU Name: AMD FX(tm)-6100 Six-Core Processor
10:27:39: CPU Speed: 3576MHz
10:27:39: Physical Memory:  16329MB Total, 12495MB Free
10:27:39: stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 6, total cores 3
10:27:39: monitor 1: pos={1920, 0}, size={1024, 768}
10:27:39: monitor 2: pos={0, 0}, size={1920, 1080}
10:27:39: Windows Version: 6.1 Build 7601 S
10:27:39: Aero is Disabled
10:27:39: -------------------------------
10:27:39: OBS Modules:
10:27:39: Base Address     Module
10:27:39: 000000003FB40000 OBS.exe
10:27:39: 00000000DA130000 OBSApi.dll
10:27:39: 00000000EE0D0000 DShowPlugin.dll
10:27:39: 00000000EE0A0000 GraphicsCapture.dll
10:27:39: 00000000EF820000 NoiseGate.dll
10:27:39: 00000000EE500000 PSVPlugin.dll
10:27:39: ------------------------------------------
10:27:39: Adapter 1
10:27:39:   Video Adapter: NVIDIA GeForce GTX 560 
10:27:39:   Video Adapter Dedicated Video Memory: 1026097152
10:27:39:   Video Adapter Shared System Memory: 3220975616
10:27:39: ------------------------------------------
10:27:39: Adapter 2
10:27:39:   Video Adapter: NVIDIA GeForce GTX 560 
10:27:39:   Video Adapter Dedicated Video Memory: 1025966080
10:27:39:   Video Adapter Shared System Memory: 3221106688
10:27:39: =====Stream Start: 2013-07-18, 10:27:39===============================================
10:27:39:   Multithreaded optimizations: On
10:27:39:   Base resolution: 1920x1080
10:27:39:   Output resolution: 1920x1080
10:27:39: ------------------------------------------
10:27:39: Loading up D3D10...
10:27:39: Playback device Default
10:27:39: ------------------------------------------
10:27:39: Using desktop audio input: Speakers (4- Razer Megalodon)
10:27:39: Using 7.1 surround speaker setup
10:27:39: ------------------------------------------
10:27:39: Using auxilary audio input: Headset Microphone (Headset (Afterglow Gamepad for Xbox 360))
10:27:39: ------------------------------------------
10:27:39: Audio Encoding: AAC
10:27:39:     bitrate: 128
10:27:39: Using graphics capture
10:27:40: ------------------------------------------
10:27:40: Video Encoding: x264
10:27:40:     fps: 30
10:27:40:     width: 1920, height: 1080
10:27:40:     preset: veryfast
10:27:40:     CBR: yes
10:27:40:     CFR: no
10:27:40:     max bitrate: 1000
10:27:40: ------------------------------------------
10:27:42: Using RTMP service: Twitch / Justin.tv
10:27:42:   Server selection: rtmp://live.justin.tv/app
10:27:42: librtmp error: rtmp://live.justin.tv/app:
10:27:42: NetStream.Publish.Rejected (Authentication Failed.)
10:27:42: Connection to rtmp://live.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
10:27:42: 
10:27:42: rtmp://live.justin.tv/app:
10:27:42: NetStream.Publish.Rejected (Authentication Failed.)
10:27:42: 
10:27:42: Total frames rendered: 57, number of frames that lagged: 4 (7.02%) (it's okay for some frames to lag)
10:27:42: Number of times waited to send: 0, Waited for a total of 0 bytes
10:27:42: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
10:27:42: =====Stream End: 2013-07-18, 10:27:42=================================================
10:30:42: =====Stream Start: 2013-07-18, 10:30:42===============================================
10:30:42:   Multithreaded optimizations: On
10:30:42:   Base resolution: 1920x1080
10:30:42:   Output resolution: 1920x1080
10:30:42: ------------------------------------------
10:30:42: Loading up D3D10...
10:30:42: Playback device Default
10:30:42: ------------------------------------------
10:30:42: Using desktop audio input: Speakers (4- Razer Megalodon)
10:30:42: Using 7.1 surround speaker setup
10:30:42: ------------------------------------------
10:30:42: Using auxilary audio input: Headset Microphone (Headset (Afterglow Gamepad for Xbox 360))
10:30:42: ------------------------------------------
10:30:42: Audio Encoding: AAC
10:30:42:     bitrate: 128
10:30:42: Using graphics capture
10:30:42: ------------------------------------------
10:30:42: Video Encoding: x264
10:30:42:     fps: 30
10:30:42:     width: 1920, height: 1080
10:30:42:     preset: veryfast
10:30:42:     CBR: yes
10:30:42:     CFR: no
10:30:42:     max bitrate: 1000
10:30:42: ------------------------------------------
10:30:44: Using RTMP service: Twitch / Justin.tv
10:30:44:   Server selection: rtmp://live.justin.tv/app
10:30:45: SO_SNDBUF was at 8192
10:30:45: SO_SNDBUF is now 65536
10:31:09: Total frames rendered: 794, number of frames that lagged: 6 (0.76%) (it's okay for some frames to lag)
10:31:09: okay, this is strange
10:31:09: RTMPPublisher::SocketLoop: Aborting due to loop exit
10:31:09: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
10:31:09: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
10:31:09: Number of times waited to send: 8, Waited for a total of 24882 bytes
10:31:09: Number of b-frames dropped: 73 (11%), Number of p-frames dropped: 72 (11%), Total 145 (21%)
10:31:09: =====Stream End: 2013-07-18, 10:31:09=================================================
10:31:54: =====Stream Start: 2013-07-18, 10:31:54===============================================
10:31:54:   Multithreaded optimizations: On
10:31:54:   Base resolution: 1920x1080
10:31:54:   Output resolution: 1920x1080
10:31:54: ------------------------------------------
10:31:54: Loading up D3D10...
10:31:54: Playback device Default
10:31:54: ------------------------------------------
10:31:54: Using desktop audio input: Speakers (4- Razer Megalodon)
10:31:54: Using 7.1 surround speaker setup
10:31:54: ------------------------------------------
10:31:54: Using auxilary audio input: Headset Microphone (Headset (Afterglow Gamepad for Xbox 360))
10:31:54: ------------------------------------------
10:31:54: Audio Encoding: AAC
10:31:54:     bitrate: 128
10:31:54: Using graphics capture
10:31:54: ------------------------------------------
10:31:54: Video Encoding: x264
10:31:54:     fps: 30
10:31:54:     width: 1920, height: 1080
10:31:54:     preset: veryfast
10:31:54:     CBR: yes
10:31:54:     CFR: no
10:31:54:     max bitrate: 1000
10:31:54: ------------------------------------------
10:31:56: Using RTMP service: Twitch / Justin.tv
10:31:56:   Server selection: rtmp://live.justin.tv/app
10:31:57: SO_SNDBUF was at 8192
10:31:57: SO_SNDBUF is now 65536
10:32:05: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
10:32:05:   New Scene
10:33:34: Using graphics capture
10:33:34: SharedTexCapture hooked
10:34:38: Total frames rendered: 4893, number of frames that lagged: 11 (0.22%) (it's okay for some frames to lag)
10:34:38: RTMPPublisher::SocketLoop: Aborting due to loop exit
10:34:38: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
10:34:38: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
10:34:38: Number of times waited to send: 54, Waited for a total of 191837 bytes
10:34:38: Number of b-frames dropped: 1169 (24%), Number of p-frames dropped: 1125 (24%), Total 2294 (48%)
10:34:38: =====Stream End: 2013-07-18, 10:34:38=================================================
10:34:42: =====Stream Start: 2013-07-18, 10:34:42===============================================
10:34:42:   Multithreaded optimizations: On
10:34:42:   Base resolution: 1920x1080
10:34:42:   Output resolution: 1920x1080
10:34:42: ------------------------------------------
10:34:42: Loading up D3D10...
10:34:42: Playback device {0.0.0.00000000}.{e9b5fe82-3a29-401a-a785-d6bbbbb7e659}
10:34:42: ------------------------------------------
10:34:42: Using desktop audio input: Speakers (4- Razer Megalodon)
10:34:42: Using 7.1 surround speaker setup
10:34:42: ------------------------------------------
10:34:42: Using auxilary audio input: Microphone (4- Razer Megalodon)
10:34:42: ------------------------------------------
10:34:42: Audio Encoding: AAC
10:34:42:     bitrate: 128
10:34:42: Using graphics capture
10:34:42: ------------------------------------------
10:34:42: Video Encoding: x264
10:34:42:     fps: 30
10:34:42:     width: 1920, height: 1080
10:34:42:     preset: veryfast
10:34:42:     CBR: yes
10:34:42:     CFR: no
10:34:42:     max bitrate: 1000
10:34:42: ------------------------------------------
10:34:42: SharedTexCapture hooked
10:34:48: Total frames rendered: 179, number of frames that lagged: 3 (1.68%) (it's okay for some frames to lag)
10:34:48: =====Stream End: 2013-07-18, 10:34:48=================================================
10:34:51: =====Stream Start: 2013-07-18, 10:34:51===============================================
10:34:51:   Multithreaded optimizations: On
10:34:51:   Base resolution: 1920x1080
10:34:51:   Output resolution: 1920x1080
10:34:51: ------------------------------------------
10:34:51: Loading up D3D10...
10:34:51: Playback device {0.0.0.00000000}.{e9b5fe82-3a29-401a-a785-d6bbbbb7e659}
10:34:51: ------------------------------------------
10:34:51: Using desktop audio input: Speakers (4- Razer Megalodon)
10:34:51: Using 7.1 surround speaker setup
10:34:51: ------------------------------------------
10:34:51: Using auxilary audio input: Microphone (4- Razer Megalodon)
10:34:51: ------------------------------------------
10:34:51: Audio Encoding: AAC
10:34:51:     bitrate: 128
10:34:51: Using graphics capture
10:34:51: ------------------------------------------
10:34:51: Video Encoding: x264
10:34:51:     fps: 30
10:34:51:     width: 1920, height: 1080
10:34:51:     preset: veryfast
10:34:51:     CBR: yes
10:34:51:     CFR: no
10:34:51:     max bitrate: 1000
10:34:51: ------------------------------------------
10:34:51: SharedTexCapture hooked
10:34:53: Using RTMP service: Twitch / Justin.tv
10:34:53:   Server selection: rtmp://live.justin.tv/app
10:34:54: SO_SNDBUF was at 8192
10:34:54: SO_SNDBUF is now 65536
10:42:43: Capture window 0x00110684 invalid or changing, terminating capture
10:46:08: SharedTexCapture hooked
10:46:29: GraphicsCaptureSource::NewCapture:  eliminating old capture
10:46:29: SharedTexCapture hooked
10:55:26: GraphicsCaptureSource::NewCapture:  eliminating old capture
10:55:26: SharedTexCapture hooked
10:56:41: GraphicsCaptureSource::NewCapture:  eliminating old capture
10:56:41: SharedTexCapture hooked
10:58:35: GraphicsCaptureSource::NewCapture:  eliminating old capture
10:58:35: SharedTexCapture hooked
10:59:13: GraphicsCaptureSource::NewCapture:  eliminating old capture
10:59:13: SharedTexCapture hooked
11:00:27: GraphicsCaptureSource::NewCapture:  eliminating old capture
11:00:27: SharedTexCapture hooked
11:00:38: GraphicsCaptureSource::NewCapture:  eliminating old capture
11:00:38: SharedTexCapture hooked
11:07:00: Total frames rendered: 57593, number of frames that lagged: 374 (0.65%) (it's okay for some frames to lag)
11:07:00: RTMPPublisher::SocketLoop: Aborting due to bStopping
11:07:00: Number of times waited to send: 490, Waited for a total of 1587544 bytes
11:07:00: Number of b-frames dropped: 11810 (21%), Number of p-frames dropped: 14713 (26%), Total 26523 (46%)
11:07:00: =====Stream End: 2013-07-18, 11:07:00=================================================
11:07:00: 
11:07:00: Profiler results:
11:07:00: 
11:07:00: ==============================================================
11:07:00: frame - [100%] [avg time: 6.125 ms (cpu time: avg 3.536 ms, total 224610 ms)] [avg calls per frame: 1] [children: 51.9%] [unaccounted: 48.1%]
11:07:00: | scene->Preprocess - [0.0163%] [avg time: 0.001 ms (cpu time: avg 0.001 ms, total 93.6 ms)] [avg calls per frame: 0]
11:07:00: | video encoding and uploading - [51.9%] [avg time: 3.177 ms (cpu time: avg 2.848 ms, total 180946 ms)] [avg calls per frame: 1] [children: 50.5%] [unaccounted: 1.36%]
11:07:00: | | CopyResource - [0.327%] [avg time: 0.02 ms (cpu time: avg 0.012 ms, total 811.206 ms)] [avg calls per frame: 0]
11:07:00: | | conversion to 4:2:0 - [0.229%] [avg time: 0.014 ms (cpu time: avg 0.004 ms, total 265.204 ms)] [avg calls per frame: 0]
11:07:00: | | call to encoder - [49.4%] [avg time: 3.027 ms (cpu time: avg 2.789 ms, total 177186 ms)] [avg calls per frame: 0]
11:07:00: | | sending stuff out - [0.539%] [avg time: 0.033 ms (cpu time: avg 0.021 ms, total 1341.61 ms)] [avg calls per frame: 0]
11:07:00: | Convert444Threads - [546%] [avg time: 33.433 ms (cpu time: avg 3.139 ms, total 199416 ms)] [avg calls per frame: 0]
11:07:00: ==============================================================
11:07:00:
 

Kharay

Member
How very odd. You're actually streaming at a bitrate far lower than what your connection is capable of and still you drop quite a considerable portion of your frames. I'd try a different Twitch.tv server for starters, if I were you.
 

CombatTacos

New Member
Hm, What bitrate would you say I should record at? And I tried US West SF, Did that, Then I tried LA, Same thing, Same with the secondary server for LA. Keeps dropping and rising. Hm, I just ran it as admin, I'm only getting 150kb/s but it doesn't seem to be dropping anymore. Staying green.
 

Kharay

Member
That is so weird. Let's just try resetting OBS. Who knows what's up with it for you?... ;)

Click Start, click Run, type: %AppData%\OBS, hit <Enter>

This will open OBS' configuration/log folder. Empty it (without OBS running, obviously).

Open OBS again, it will have reset completely. Set it up again but don't touch any advanced stuff or stuff you don't fully understand. Regarding your bitrate: I don't any reason why you couldn't just stream at CBR @ 2000 Kbps.
 

R1CH

Forum Admin
Developer
Sounds like your connection is unstable. Try running a long upload / download and monitoring the throughput stability.
 
Top