Question / Help General info about slow network

linktoheaven

New Member
So this is my network speed



Its nothing special and i know i cant do much with it but i was playing around with OBS and my friend that was watching my test stream noticed that no matter what quality i put up (360p-1080p) it has same spikes. It goes well for 3-4s then 1s spike.

I know my network is slow but it made me wander, how is it possible to have same spikes no matter how bad or good stream is. I was expecting it to work better with lower quality and worse with better but it stayed the same.

P.S. Here is my log file:

18:48:26: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
18:48:26: -------------------------------
18:48:26: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
18:48:26: CPU Speed: 3510MHz
18:48:26: Physical Memory: 4095MB Total, 4095MB Free
18:48:26: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
18:48:26: monitor 1: pos={0, 0}, size={1920, 1080}
18:48:26: Windows Version: 6.1 Build 7600
18:48:26: Aero is Enabled
18:48:26: -------------------------------
18:48:26: OBS Modules:
18:48:26: Base Address Module
18:48:26: 01100000 OBS.exe
18:48:26: 663E0000 OBSApi.dll
18:48:26: 6DB40000 DShowPlugin.dll
18:48:26: 66790000 GraphicsCapture.dll
18:48:26: 66770000 NoiseGate.dll
18:48:26: ------------------------------------------
18:48:26: Adapter 1
18:48:26: Video Adapter: NVIDIA GeForce GTX 660
18:48:26: Video Adapter Dedicated Video Memory: 2091319296
18:48:26: Video Adapter Shared System Memory: 2147479552
18:48:26: =====Stream Start: 2013-05-13, 18:48:26===============================================
18:48:26: Multithreaded optimizations: On
18:48:26: Base resolution: 1920x1080
18:48:26: Output resolution: 1920x1080
18:48:26: ------------------------------------------
18:48:26: Loading up D3D10...
18:48:26: Playback device Default
18:48:26: ------------------------------------------
18:48:26: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:48:26: ------------------------------------------
18:48:26: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
18:48:26: ------------------------------------------
18:48:26: Audio Encoding: AAC
18:48:26: bitrate: 128
18:48:26: ------------------------------------------
18:48:26: Video Encoding: x264
18:48:26: fps: 60
18:48:26: width: 1920, height: 1080
18:48:26: preset: veryfast
18:48:26: CBR: yes
18:48:26: CFR: no
18:48:26: max bitrate: 1000
18:48:26: ------------------------------------------
18:48:42: Using graphics capture
18:48:42: SharedTexCapture hooked
18:49:23: GraphicsCaptureSource::NewCapture: eliminating old capture
18:49:23: SharedTexCapture hooked
18:49:25: GraphicsCaptureSource::NewCapture: eliminating old capture
18:49:25: SharedTexCapture hooked
18:49:27: GraphicsCaptureSource::NewCapture: eliminating old capture
18:49:27: SharedTexCapture hooked
18:50:14: GraphicsCaptureSource::NewCapture: eliminating old capture
18:50:14: SharedTexCapture hooked
18:50:27: GraphicsCaptureSource::NewCapture: eliminating old capture
18:50:27: SharedTexCapture hooked
18:51:02: Total frames rendered: 9337, number of frames that lagged: 4 (0.04%) (it's okay for some frames to lag)
18:51:02: =====Stream End: 2013-05-13, 18:51:02=================================================
18:51:03: =====Stream Start: 2013-05-13, 18:51:03===============================================
18:51:03: Multithreaded optimizations: On
18:51:03: Base resolution: 1920x1080
18:51:03: Output resolution: 1920x1080
18:51:03: ------------------------------------------
18:51:03: Loading up D3D10...
18:51:03: Playback device Default
18:51:03: ------------------------------------------
18:51:03: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:51:03: ------------------------------------------
18:51:03: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
18:51:03: ------------------------------------------
18:51:03: Audio Encoding: AAC
18:51:03: bitrate: 128
18:51:03: Using graphics capture
18:51:03: ------------------------------------------
18:51:03: Video Encoding: x264
18:51:03: fps: 60
18:51:03: width: 1920, height: 1080
18:51:03: preset: veryfast
18:51:03: CBR: yes
18:51:03: CFR: no
18:51:03: max bitrate: 1000
18:51:03: ------------------------------------------
18:51:04: Using RTMP service: Twitch / Justin.tv
18:51:04: Server selection: rtmp://live-lhr.justin.tv/app
18:51:06: librtmp error: rtmp://live-lhr.justin.tv/app:
18:51:06: NetStream.Publish.Rejected (Authentication Failed.)
18:51:06: Connection to rtmp://live-lhr.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.
18:51:06:
18:51:06: rtmp://live-lhr.justin.tv/app:
18:51:06: NetStream.Publish.Rejected (Authentication Failed.)
18:51:06:
18:51:06: Total frames rendered: 179, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
18:51:06: Number of times waited to send: 0, Waited for a total of 0 bytes
18:51:06: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
18:51:06: =====Stream End: 2013-05-13, 18:51:06=================================================
18:53:06: =====Stream Start: 2013-05-13, 18:53:06===============================================
18:53:06: Multithreaded optimizations: On
18:53:06: Base resolution: 1920x1080
18:53:06: Output resolution: 1920x1080
18:53:06: ------------------------------------------
18:53:06: Loading up D3D10...
18:53:06: Playback device Default
18:53:06: ------------------------------------------
18:53:06: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:53:06: ------------------------------------------
18:53:06: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
18:53:06: ------------------------------------------
18:53:06: Audio Encoding: AAC
18:53:06: bitrate: 128
18:53:06: Using graphics capture
18:53:06: ------------------------------------------
18:53:06: Video Encoding: x264
18:53:06: fps: 60
18:53:06: width: 1920, height: 1080
18:53:06: preset: veryfast
18:53:06: CBR: yes
18:53:06: CFR: no
18:53:06: max bitrate: 1000
18:53:06: ------------------------------------------
18:53:08: Using RTMP service: Twitch / Justin.tv
18:53:08: Server selection: rtmp://live-lhr.justin.tv/app
18:53:09: SO_SNDBUF was at 8192
18:53:09: SO_SNDBUF is now 65536
18:53:14: SharedTexCapture hooked
18:56:18: Total frames rendered: 11484, number of frames that lagged: 2 (0.02%) (it's okay for some frames to lag)
18:56:18: RTMPPublisher::SocketLoop: Aborting due to loop exit
18:56:18: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
18:56:18: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
18:56:18: Number of times waited to send: 123, Waited for a total of 343120 bytes
18:56:18: Number of b-frames dropped: 2335 (21%), Number of p-frames dropped: 2127 (19%), Total 4462 (40%)
18:56:18: =====Stream End: 2013-05-13, 18:56:18=================================================
18:57:24: =====Stream Start: 2013-05-13, 18:57:24===============================================
18:57:24: Multithreaded optimizations: On
18:57:24: Base resolution: 1920x1080
18:57:24: Output resolution: 1280x720
18:57:24: ------------------------------------------
18:57:24: Loading up D3D10...
18:57:24: Playback device Default
18:57:24: ------------------------------------------
18:57:24: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:57:24: ------------------------------------------
18:57:24: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
18:57:24: ------------------------------------------
18:57:24: Audio Encoding: AAC
18:57:24: bitrate: 128
18:57:24: Using graphics capture
18:57:24: ------------------------------------------
18:57:24: Video Encoding: x264
18:57:24: fps: 60
18:57:24: width: 1280, height: 720
18:57:24: preset: veryfast
18:57:24: CBR: yes
18:57:24: CFR: no
18:57:24: max bitrate: 1000
18:57:24: ------------------------------------------
18:57:25: SharedTexCapture hooked
18:57:25: Using RTMP service: Twitch / Justin.tv
18:57:25: Server selection: rtmp://live-lhr.justin.tv/app
18:57:27: SO_SNDBUF was at 8192
18:57:27: SO_SNDBUF is now 65536
18:59:34: Total frames rendered: 7799, number of frames that lagged: 2 (0.03%) (it's okay for some frames to lag)
18:59:34: RTMPPublisher::SocketLoop: Aborting due to loop exit
18:59:34: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
18:59:34: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
18:59:34: Number of times waited to send: 77, Waited for a total of 174434 bytes
18:59:34: Number of b-frames dropped: 1486 (20%), Number of p-frames dropped: 1963 (26%), Total 3449 (46%)
18:59:34: =====Stream End: 2013-05-13, 18:59:34=================================================
18:59:44: =====Stream Start: 2013-05-13, 18:59:44===============================================
18:59:44: Multithreaded optimizations: On
18:59:44: Base resolution: 1920x1080
18:59:44: Output resolution: 1096x616
18:59:44: ------------------------------------------
18:59:44: Loading up D3D10...
18:59:44: Playback device Default
18:59:44: ------------------------------------------
18:59:44: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:59:44: ------------------------------------------
18:59:44: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
18:59:44: ------------------------------------------
18:59:44: Audio Encoding: AAC
18:59:44: bitrate: 128
18:59:44: Using graphics capture
18:59:44: ------------------------------------------
18:59:44: Video Encoding: x264
18:59:44: fps: 60
18:59:44: width: 1096, height: 616
18:59:44: preset: veryfast
18:59:44: CBR: yes
18:59:44: CFR: no
18:59:44: max bitrate: 1000
18:59:44: ------------------------------------------
18:59:45: SharedTexCapture hooked
18:59:46: Using RTMP service: Twitch / Justin.tv
18:59:46: Server selection: rtmp://live-lhr.justin.tv/app
18:59:47: SO_SNDBUF was at 8192
18:59:47: SO_SNDBUF is now 65536
19:00:30: Total frames rendered: 2714, number of frames that lagged: 4 (0.15%) (it's okay for some frames to lag)
19:00:30: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:00:30: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:00:30: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:00:30: Number of times waited to send: 25, Waited for a total of 60831 bytes
19:00:30: Number of b-frames dropped: 345 (14%), Number of p-frames dropped: 683 (28%), Total 1028 (42%)
19:00:30: =====Stream End: 2013-05-13, 19:00:30=================================================
19:02:08: =====Stream Start: 2013-05-13, 19:02:08===============================================
19:02:08: Multithreaded optimizations: On
19:02:08: Base resolution: 1920x1080
19:02:08: Output resolution: 1920x1080
19:02:08: ------------------------------------------
19:02:08: Loading up D3D10...
19:02:08: Playback device Default
19:02:08: ------------------------------------------
19:02:08: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:02:08: ------------------------------------------
19:02:08: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
19:02:08: ------------------------------------------
19:02:08: Audio Encoding: AAC
19:02:08: bitrate: 128
19:02:08: Using graphics capture
19:02:08: ------------------------------------------
19:02:08: Video Encoding: x264
19:02:08: fps: 60
19:02:08: width: 1920, height: 1080
19:02:08: preset: veryfast
19:02:08: CBR: yes
19:02:08: CFR: no
19:02:08: max bitrate: 1000
19:02:08: ------------------------------------------
19:02:09: Using RTMP service: Twitch / Justin.tv
19:02:09: Server selection: rtmp://live-lhr.justin.tv/app
19:02:11: SO_SNDBUF was at 8192
19:02:11: SO_SNDBUF is now 65536
19:02:30: Total frames rendered: 1368, number of frames that lagged: 1 (0.07%) (it's okay for some frames to lag)
19:02:30: okay, this is strange
19:02:30: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:02:30: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:02:30: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:02:30: Number of times waited to send: 8, Waited for a total of 16616 bytes
19:02:30: Number of b-frames dropped: 100 (8.8%), Number of p-frames dropped: 97 (8.6%), Total 197 (17%)
19:02:30: =====Stream End: 2013-05-13, 19:02:30=================================================
19:02:56: =====Stream Start: 2013-05-13, 19:02:56===============================================
19:02:56: Multithreaded optimizations: On
19:02:56: Base resolution: 1920x1080
19:02:56: Output resolution: 1920x1080
19:02:56: ------------------------------------------
19:02:56: Loading up D3D10...
19:02:56: Playback device Default
19:02:56: ------------------------------------------
19:02:56: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:02:56: ------------------------------------------
19:02:56: Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
19:02:56: ------------------------------------------
19:02:56: Audio Encoding: AAC
19:02:56: bitrate: 128
19:02:56: Using graphics capture
19:02:56: ------------------------------------------
19:02:56: Video Encoding: x264
19:02:56: fps: 30
19:02:56: width: 1920, height: 1080
19:02:56: preset: veryfast
19:02:56: CBR: yes
19:02:56: CFR: no
19:02:56: max bitrate: 1000
19:02:56: ------------------------------------------
19:02:58: SharedTexCapture hooked
19:02:58: Using RTMP service: Twitch / Justin.tv
19:02:58: Server selection: rtmp://live-lhr.justin.tv/app
19:03:00: SO_SNDBUF was at 8192
19:03:00: SO_SNDBUF is now 65536
19:04:06: Total frames rendered: 2072, number of frames that lagged: 1 (0.05%) (it's okay for some frames to lag)
19:04:06: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:04:06: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:04:06: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:04:06: Number of times waited to send: 46, Waited for a total of 156909 bytes
19:04:06: Number of b-frames dropped: 356 (18%), Number of p-frames dropped: 325 (17%), Total 681 (35%)
19:04:06: =====Stream End: 2013-05-13, 19:04:06=================================================
19:04:19:
19:04:19: Profiler results:
19:04:19:
19:04:19: ==============================================================
19:04:19: frame - [100%] [avg time: 2.264 ms] [avg calls per frame: 1] [children: 79.8%] [unaccounted: 20.2%]
19:04:19: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
19:04:19: | video encoding and uploading - [79.8%] [avg time: 1.806 ms] [avg calls per frame: 1] [children: 78.2%] [unaccounted: 1.55%]
19:04:19: | | CopyResource - [0.663%] [avg time: 0.015 ms] [avg calls per frame: 0]
19:04:19: | | conversion to 4:2:0 - [0.353%] [avg time: 0.008 ms] [avg calls per frame: 0]
19:04:19: | | call to encoder - [76.8%] [avg time: 1.739 ms] [avg calls per frame: 0]
19:04:19: | | sending stuff out - [0.398%] [avg time: 0.009 ms] [avg calls per frame: 0]
19:04:19: ==============================================================
19:04:19:
 

GuardianX

New Member
The way it works is it sends out a bulk of information every so often. That is usually why it seems to spike in waves.
 

Bensam123

Member
Try using CBR as it's more consistent and spikes less.

I don't think you'd be able to stream 1080p or 720p on that connection though, more then likely 480 or 360p. When making a post make sure to post your log file as well so we can see what settings you're using.
 

linktoheaven

New Member
Bensam123 said:
Try using CBR as it's more consistent and spikes less.

I don't think you'd be able to stream 1080p or 720p on that connection though, more then likely 480 or 360p.

I am using CBR and i know i shouldnt be able to stream on 720p-1080p but the consistency of spikes at any quality is what bugs me.
 

Bensam123

Member
Ahhh... good to know...

Have you tried the 'minimize network impact' option buried in broadcast settings? That really helped me. Before that option I would spike about every 5-10s from my normal ping up to 10x it. Your bit rate should be under your cap definitely though and you may even want to leave some breathing room.
 

GuardianX

New Member
linktoheaven said:
Bensam123 said:
Try using CBR as it's more consistent and spikes less.

I don't think you'd be able to stream 1080p or 720p on that connection though, more then likely 480 or 360p.

I am using CBR and i know i shouldnt be able to stream on 720p-1080p but the consistency of spikes at any quality is what bugs me.

The issue is you are streaming above your available max speed (1000 Kbps) for video and have audio set at 128 Kbps bringing your total requirement to 1128 minimum. Alone that is almost 400 Kbps over your available bandwidth.

Code:
Lower your output to:

852 x 480 in the resolution downscaler in the video settings.

Lower your framerate to:

15 - 30 FPS

Lower your max Bitrate (Settings > Encoding) to:

600

and you'll be on a better path.

You WILL NOT be able to stream at 1080p at anything other than MAYBE 1-10 frames per second. Trying to stream at even 720p in a reasonable sense is beyond your bandwidth.
 
Top