Question / Help Stream struggles ? Help

Rough

Member
Hi there,
My specs:
i7 3770k @ 4.5Ghz
16Gb TridentX @ 2400Mhz
GTX Titan.

My speedtests:
Local
2705209553.png

Germany,Frankfurt
2705215190.png


My OBS settings:





I was streaming Diablo III and I noticed this in OBS:


Here is the log:
Code:
17:32:36: Open Broadcaster Software v0.51.01b (kamehameha test build) - 64bit ( ^ω^)
17:32:36: -------------------------------
17:32:36: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
17:32:36: CPU Speed: 3500MHz
17:32:36: Physical Memory:  16330MB Total, 12968MB Free
17:32:36: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
17:32:36: monitor 1: pos={0, 0}, size={1920, 1080}
17:32:36: Windows Version: 6.1 Build 7601 S
17:32:36: Aero is Enabled
17:32:36: ------------------------------------------
17:32:36: Adapter 1
17:32:36:   Video Adapter: NVIDIA GeForce GTX TITAN
17:32:36:   Video Adapter Dedicated Video Memory: 2055929856
17:32:36:   Video Adapter Shared System Memory: 3998648320
17:32:36: =====Stream Start: 2013-05-13, 17:32:36===============================================
17:32:36:   Multithreaded optimizations: On
17:32:36:   Base resolution: 1920x1080
17:32:36:   Output resolution: 1280x720
17:32:36: ------------------------------------------
17:32:36: Loading up D3D10...
17:32:36: Playback device Default
17:32:36: ------------------------------------------
17:32:36: Using desktop audio input: Speakers (USB PnP Sound Device)
17:32:36: ------------------------------------------
17:32:36: Audio Encoding: AAC
17:32:36:     bitrate: 96
17:32:36: Using graphics capture
17:32:36: ------------------------------------------
17:32:36: Video Encoding: x264
17:32:36:     fps: 45
17:32:36:     width: 1280, height: 720
17:32:36:     preset: faster
17:32:36:     CBR: no
17:32:36:     CFR: no
17:32:36:     max bitrate: 2800
17:32:36:     buffer size: 2800
17:32:36:     quality: 10
17:32:36: ------------------------------------------
17:32:36: SharedTexCapture hooked
17:32:37: Total frames rendered: 18, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
17:32:37: =====Stream End: 2013-05-13, 17:32:37=================================================
17:32:51: =====Stream Start: 2013-05-13, 17:32:51===============================================
17:32:51:   Multithreaded optimizations: On
17:32:51:   Base resolution: 1920x1080
17:32:51:   Output resolution: 1280x720
17:32:51: ------------------------------------------
17:32:51: Loading up D3D10...
17:32:51: Playback device Default
17:32:51: ------------------------------------------
17:32:51: Using desktop audio input: Speakers (USB PnP Sound Device)
17:32:51: ------------------------------------------
17:32:51: Audio Encoding: AAC
17:32:51:     bitrate: 96
17:32:51: Using graphics capture
17:32:51: ------------------------------------------
17:32:51: Video Encoding: x264
17:32:51:     fps: 45
17:32:51:     width: 1280, height: 720
17:32:51:     preset: faster
17:32:51:     CBR: no
17:32:51:     CFR: no
17:32:51:     max bitrate: 2800
17:32:51:     buffer size: 2800
17:32:51:     quality: 10
17:32:51: ------------------------------------------
17:32:51: SharedTexCapture hooked
17:32:53: Total frames rendered: 83, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
17:32:53: =====Stream End: 2013-05-13, 17:32:53=================================================
17:32:55: Using fixed low latency mode, factor 20
17:32:55: =====Stream Start: 2013-05-13, 17:32:55===============================================
17:32:55:   Multithreaded optimizations: On
17:32:55:   Base resolution: 1920x1080
17:32:55:   Output resolution: 1280x720
17:32:55: ------------------------------------------
17:32:55: Loading up D3D10...
17:32:55: Playback device Default
17:32:55: ------------------------------------------
17:32:55: Using desktop audio input: Speakers (USB PnP Sound Device)
17:32:55: ------------------------------------------
17:32:55: Audio Encoding: AAC
17:32:55:     bitrate: 96
17:32:55: Using graphics capture
17:32:55: ------------------------------------------
17:32:55: Video Encoding: x264
17:32:55:     fps: 45
17:32:55:     width: 1280, height: 720
17:32:55:     preset: faster
17:32:55:     CBR: no
17:32:55:     CFR: no
17:32:55:     max bitrate: 2800
17:32:55:     buffer size: 2800
17:32:55:     quality: 10
17:32:55: ------------------------------------------
17:32:55: SharedTexCapture hooked
17:32:57: Using RTMP service: Twitch / Justin.tv
17:32:57:   Server selection: rtmp://live-fra.justin.tv/app
17:32:58: SO_SNDBUF was at 8192
17:32:58: SO_SNDBUF is now 65536
17:39:06: Total frames rendered: 16702, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
17:39:06: RTMPPublisher::SocketLoop: Aborting due to loop exit
17:39:06: Number of times waited to send: 186, Waited for a total of 657972 bytes
17:39:06: Number of b-frames dropped: 75 (0.45%), Number of p-frames dropped: 46 (0.28%), Total 121 (0.73%)
17:39:06: =====Stream End: 2013-05-13, 17:39:06=================================================
17:39:09: 
17:39:09: Profiler results:
17:39:09: 
17:39:09: ==============================================================
17:39:09: frame - [100%] [avg time: 0.997 ms] [avg calls per frame: 1] [children: 82.9%] [unaccounted: 17.1%]
17:39:09: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
17:39:09: | video encoding and uploading - [82.9%] [avg time: 0.827 ms] [avg calls per frame: 1] [children: 81.4%] [unaccounted: 1.5%]
17:39:09: | | CopyResource - [0.802%] [avg time: 0.008 ms] [avg calls per frame: 0]
17:39:09: | | conversion to 4:2:0 - [0.401%] [avg time: 0.004 ms] [avg calls per frame: 0]
17:39:09: | | call to encoder - [79.1%] [avg time: 0.789 ms] [avg calls per frame: 0]
17:39:09: | | sending stuff out - [1.1%] [avg time: 0.011 ms] [avg calls per frame: 0]
17:39:09: ==============================================================
17:39:09:

It looks like the OBS was struggling with twitch...
Do I need to change anything in the settings?
All suggestions are welcome
 

Krazy

Town drunk
You didn't really drop enough frames to matter. Red doesn't necessarily mean you are dropping frames, it just means you're starting to get into the danger zone. If it stays red consistently, then you have trouble.

Having said that, Frankfurt has a history of being a poor server to stream to. I recommend Amsterdam or London servers if you are streaming in EU.
 

Krazy

Town drunk
You may have to drop bitrate some, you're already riding a bit along the edge at 2800 bitrate with only 3Mbps or so upload. Enabling CBR may also help.
 

Bensam123

Member
If you're using VBR a quality of 10 isn't a great idea. That usually means if you get into a high action scene your bandwidth is going to spike (instead of reducing quality of the image) and as such you'll bump against your cap, your indicator will go red, and you'll get lag in game. Since you're awfully close to your cap as Dodge pointed out, chances are this would be what's causing it.

A quality of 8 would probably help with your original settings, possibly lower or higher. That would take some experimentation.
 

Rough

Member
So I tried original settings but with quality 8.
Code:
16:30:31: Open Broadcaster Software v0.51.01b (kamehameha test build) - 64bit ( ^ω^)
16:30:31: -------------------------------
16:30:31: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
16:30:31: CPU Speed: 3500MHz
16:30:31: Physical Memory:  16330MB Total, 12800MB Free
16:30:31: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
16:30:31: monitor 1: pos={0, 0}, size={1920, 1080}
16:30:31: Windows Version: 6.1 Build 7601 S
16:30:31: Aero is Enabled
16:30:31: ------------------------------------------
16:30:31: Adapter 1
16:30:31:   Video Adapter: NVIDIA GeForce GTX TITAN
16:30:31:   Video Adapter Dedicated Video Memory: 2055929856
16:30:31:   Video Adapter Shared System Memory: 3998648320
16:30:31: =====Stream Start: 2013-05-14, 16:30:31===============================================
16:30:31:   Multithreaded optimizations: On
16:30:31:   Base resolution: 1920x1080
16:30:31:   Output resolution: 1280x720
16:30:31: ------------------------------------------
16:30:31: Loading up D3D10...
16:30:31: Playback device Default
16:30:31: ------------------------------------------
16:30:31: Using desktop audio input: Speakers (USB PnP Sound Device)
16:30:31: ------------------------------------------
16:30:31: Audio Encoding: AAC
16:30:31:     bitrate: 96
16:30:31: Using graphics capture
16:30:31: ------------------------------------------
16:30:31: Video Encoding: x264
16:30:31:     fps: 45
16:30:31:     width: 1280, height: 720
16:30:31:     preset: faster
16:30:31:     CBR: no
16:30:31:     CFR: no
16:30:31:     max bitrate: 2800
16:30:31:     buffer size: 2800
16:30:31:     quality: 8
16:30:31: ------------------------------------------
16:30:31: SharedTexCapture hooked
16:30:32: Total frames rendered: 67, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
16:30:33: =====Stream End: 2013-05-14, 16:30:33=================================================
16:30:58: Using fixed low latency mode, factor 20
16:30:58: =====Stream Start: 2013-05-14, 16:30:58===============================================
16:30:58:   Multithreaded optimizations: On
16:30:58:   Base resolution: 1920x1080
16:30:58:   Output resolution: 1280x720
16:30:58: ------------------------------------------
16:30:58: Loading up D3D10...
16:30:58: Playback device Default
16:30:58: ------------------------------------------
16:30:58: Using desktop audio input: Speakers (USB PnP Sound Device)
16:30:58: ------------------------------------------
16:30:58: Audio Encoding: AAC
16:30:58:     bitrate: 96
16:30:58: Using graphics capture
16:30:58: ------------------------------------------
16:30:58: Video Encoding: x264
16:30:58:     fps: 45
16:30:58:     width: 1280, height: 720
16:30:58:     preset: faster
16:30:58:     CBR: no
16:30:58:     CFR: no
16:30:58:     max bitrate: 2800
16:30:58:     buffer size: 2800
16:30:58:     quality: 8
16:30:58: ------------------------------------------
16:30:58: SharedTexCapture hooked
16:31:00: Using RTMP service: Twitch / Justin.tv
16:31:00:   Server selection: rtmp://live-ams.justin.tv/app
16:31:02: SO_SNDBUF was at 8192
16:31:02: SO_SNDBUF is now 65536
16:33:23: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:33:23:   New Scene
16:33:23: Using bitmap image
16:33:51: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:33:51:   New Scene
16:33:51: Using graphics capture
16:33:51: SharedTexCapture hooked
16:46:20: Total frames rendered: 41464, number of frames that lagged: 1 (0.00%) (it's okay for some frames to lag)
16:46:20: RTMPPublisher::SocketLoop: Aborting due to loop exit
16:46:20: Number of times waited to send: 117, Waited for a total of 411956 bytes
16:46:20: Number of b-frames dropped: 24 (0.058%), Number of p-frames dropped: 0 (0%), Total 24 (0.058%)
16:46:20: =====Stream End: 2013-05-14, 16:46:20=================================================
16:46:38: 
16:46:38: Profiler results:
16:46:38: 
16:46:38: ==============================================================
16:46:38: frame - [100%] [avg time: 1.257 ms] [avg calls per frame: 1] [children: 69.5%] [unaccounted: 30.5%]
16:46:38: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
16:46:38: | video encoding and uploading - [69.5%] [avg time: 0.873 ms] [avg calls per frame: 1] [children: 67.7%] [unaccounted: 1.75%]
16:46:38: | | CopyResource - [0.716%] [avg time: 0.009 ms] [avg calls per frame: 0]
16:46:38: | | conversion to 4:2:0 - [0.159%] [avg time: 0.002 ms] [avg calls per frame: 0]
16:46:38: | | call to encoder - [66%] [avg time: 0.829 ms] [avg calls per frame: 0]
16:46:38: | | sending stuff out - [0.875%] [avg time: 0.011 ms] [avg calls per frame: 0]
16:46:38: ==============================================================
16:46:38:
Stream itself.
http://www.twitch.tv/irs0osooom/b/403411153

I had some frames dropping..
Maybe I should go lower bitrate like 2500 and go CBR on?..
 

Rough

Member
CBR+2500
Code:
16:50:15: Open Broadcaster Software v0.51.01b (kamehameha test build) - 64bit ( ^ω^)
16:50:15: -------------------------------
16:50:15: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
16:50:15: CPU Speed: 3500MHz
16:50:15: Physical Memory:  16330MB Total, 12743MB Free
16:50:15: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
16:50:15: monitor 1: pos={0, 0}, size={1920, 1080}
16:50:15: Windows Version: 6.1 Build 7601 S
16:50:15: Aero is Enabled
16:50:15: ------------------------------------------
16:50:15: Adapter 1
16:50:15:   Video Adapter: NVIDIA GeForce GTX TITAN
16:50:15:   Video Adapter Dedicated Video Memory: 2055929856
16:50:15:   Video Adapter Shared System Memory: 3998648320
16:50:15: =====Stream Start: 2013-05-14, 16:50:15===============================================
16:50:15:   Multithreaded optimizations: On
16:50:15:   Base resolution: 1920x1080
16:50:15:   Output resolution: 1280x720
16:50:15: ------------------------------------------
16:50:15: Loading up D3D10...
16:50:15: Playback device Default
16:50:15: ------------------------------------------
16:50:15: Using desktop audio input: Speakers (USB PnP Sound Device)
16:50:15: ------------------------------------------
16:50:15: Audio Encoding: AAC
16:50:15:     bitrate: 96
16:50:15: Using graphics capture
16:50:15: ------------------------------------------
16:50:15: Video Encoding: x264
16:50:15:     fps: 45
16:50:15:     width: 1280, height: 720
16:50:15:     preset: faster
16:50:15:     CBR: yes
16:50:15:     CFR: no
16:50:15:     max bitrate: 2500
16:50:15: ------------------------------------------
16:50:15: SharedTexCapture hooked
16:50:56: Total frames rendered: 1822, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
16:50:56: =====Stream End: 2013-05-14, 16:50:56=================================================
16:50:57: Using fixed low latency mode, factor 20
16:50:57: =====Stream Start: 2013-05-14, 16:50:57===============================================
16:50:57:   Multithreaded optimizations: On
16:50:57:   Base resolution: 1920x1080
16:50:57:   Output resolution: 1280x720
16:50:57: ------------------------------------------
16:50:57: Loading up D3D10...
16:50:57: Playback device Default
16:50:57: ------------------------------------------
16:50:57: Using desktop audio input: Speakers (USB PnP Sound Device)
16:50:57: ------------------------------------------
16:50:57: Audio Encoding: AAC
16:50:57:     bitrate: 96
16:50:57: Using graphics capture
16:50:57: ------------------------------------------
16:50:57: Video Encoding: x264
16:50:57:     fps: 45
16:50:57:     width: 1280, height: 720
16:50:57:     preset: faster
16:50:57:     CBR: yes
16:50:57:     CFR: no
16:50:57:     max bitrate: 2500
16:50:57: ------------------------------------------
16:50:57: SharedTexCapture hooked
16:50:59: Using RTMP service: Twitch / Justin.tv
16:50:59:   Server selection: rtmp://live-ams.justin.tv/app
16:51:01: SO_SNDBUF was at 8192
16:51:01: SO_SNDBUF is now 65536
16:53:01: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:53:01:   New Scene
16:53:01: Using bitmap image
16:53:12: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:53:12:   New Scene
16:53:12: Using graphics capture
16:53:12: SharedTexCapture hooked
17:10:07: Total frames rendered: 51754, number of frames that lagged: 1 (0.00%) (it's okay for some frames to lag)
17:10:07: RTMPPublisher::SocketLoop: Aborting due to loop exit
17:10:07: Number of times waited to send: 0, Waited for a total of 0 bytes
17:10:07: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:10:07: =====Stream End: 2013-05-14, 17:10:07=================================================
17:12:27: 
17:12:27: Profiler results:
17:12:27: 
17:12:27: ==============================================================
17:12:27: frame - [100%] [avg time: 1.217 ms] [avg calls per frame: 1] [children: 69.6%] [unaccounted: 30.4%]
17:12:27: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
17:12:27: | video encoding and uploading - [69.6%] [avg time: 0.847 ms] [avg calls per frame: 1] [children: 68%] [unaccounted: 1.64%]
17:12:27: | | CopyResource - [0.74%] [avg time: 0.009 ms] [avg calls per frame: 0]
17:12:27: | | conversion to 4:2:0 - [0.164%] [avg time: 0.002 ms] [avg calls per frame: 0]
17:12:27: | | call to encoder - [66.1%] [avg time: 0.805 ms] [avg calls per frame: 0]
17:12:27: | | sending stuff out - [0.904%] [avg time: 0.011 ms] [avg calls per frame: 0]
17:12:27: ==============================================================
17:12:27:

Stream itself
http://www.twitch.tv/irs0osooom/b/403417568
 

dodgepong

Administrator
Community Helper
That VOD looks fine to me, and the log looks good too.

I would recommend using 40 or 48 fps instead of 45 due to the way frame timings work though.
 

Xianahru

Member
Yes, you should do that.
Having a Bitrate and Buffer on 2800 means, that if the encoder wants to, it is able to use 5600 bitrate which you cant support. It will encode on 2800bitrate on average, but that doesn't mean it will not spike.

Using CBR will probably solve your problem.
 

Rough

Member
So.
48 fps,2500 bitrate/buffer size,cbr ON.
Should be working,right ?
I'll start streaming diablo in couple minutes,will post the recording of it with the log.
 

Rough

Member
So,this is with the settings I posted in the previous post.
http://www.twitch.tv/irs0osooom/b/403459705
Log
Code:
19:05:53: Open Broadcaster Software v0.51.01b (kamehameha test build) - 64bit ( ^ω^)
19:05:53: -------------------------------
19:05:53: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
19:05:53: CPU Speed: 3500MHz
19:05:53: Physical Memory:  16330MB Total, 12649MB Free
19:05:53: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:05:53: monitor 1: pos={0, 0}, size={1920, 1080}
19:05:53: Windows Version: 6.1 Build 7601 S
19:05:53: Aero is Enabled
19:05:53: ------------------------------------------
19:05:53: Adapter 1
19:05:53:   Video Adapter: NVIDIA GeForce GTX TITAN
19:05:53:   Video Adapter Dedicated Video Memory: 2055929856
19:05:53:   Video Adapter Shared System Memory: 3998648320
19:05:53: =====Stream Start: 2013-05-14, 19:05:53===============================================
19:05:53:   Multithreaded optimizations: On
19:05:53:   Base resolution: 1920x1080
19:05:53:   Output resolution: 1280x720
19:05:53: ------------------------------------------
19:05:53: Loading up D3D10...
19:05:53: Playback device Default
19:05:53: ------------------------------------------
19:05:53: Using desktop audio input: Speakers (USB PnP Sound Device)
19:05:53: ------------------------------------------
19:05:53: Audio Encoding: AAC
19:05:53:     bitrate: 96
19:05:53: Using graphics capture
19:05:53: ------------------------------------------
19:05:53: Video Encoding: x264
19:05:53:     fps: 48
19:05:53:     width: 1280, height: 720
19:05:53:     preset: faster
19:05:53:     CBR: yes
19:05:53:     CFR: no
19:05:53:     max bitrate: 2500
19:05:53: ------------------------------------------
19:05:53: SharedTexCapture hooked
19:05:56: Total frames rendered: 170, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
19:05:57: =====Stream End: 2013-05-14, 19:05:57=================================================
19:06:11: Using fixed low latency mode, factor 20
19:06:11: =====Stream Start: 2013-05-14, 19:06:11===============================================
19:06:11:   Multithreaded optimizations: On
19:06:11:   Base resolution: 1920x1080
19:06:11:   Output resolution: 1280x720
19:06:11: ------------------------------------------
19:06:11: Loading up D3D10...
19:06:11: Playback device Default
19:06:11: ------------------------------------------
19:06:11: Using desktop audio input: Speakers (USB PnP Sound Device)
19:06:11: ------------------------------------------
19:06:11: Audio Encoding: AAC
19:06:11:     bitrate: 96
19:06:11: Using graphics capture
19:06:11: ------------------------------------------
19:06:11: Video Encoding: x264
19:06:11:     fps: 48
19:06:11:     width: 1280, height: 720
19:06:11:     preset: faster
19:06:11:     CBR: yes
19:06:11:     CFR: no
19:06:11:     max bitrate: 2500
19:06:11: ------------------------------------------
19:06:11: SharedTexCapture hooked
19:06:13: Using RTMP service: Twitch / Justin.tv
19:06:13:   Server selection: rtmp://live-ams.justin.tv/app
19:06:14: SO_SNDBUF was at 8192
19:06:14: SO_SNDBUF is now 65536
20:03:34: Total frames rendered: 165269, number of frames that lagged: 12 (0.01%) (it's okay for some frames to lag)
20:03:34: RTMPPublisher::SocketLoop: Aborting due to loop exit
20:03:34: Number of times waited to send: 0, Waited for a total of 0 bytes
20:03:34: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:03:34: =====Stream End: 2013-05-14, 20:03:34=================================================
20:06:37: 
20:06:37: Profiler results:
20:06:37: 
20:06:37: ==============================================================
20:06:37: frame - [100%] [avg time: 1.164 ms] [avg calls per frame: 1] [children: 70.5%] [unaccounted: 29.5%]
20:06:37: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
20:06:37: | video encoding and uploading - [70.5%] [avg time: 0.821 ms] [avg calls per frame: 1] [children: 68.9%] [unaccounted: 1.63%]
20:06:37: | | CopyResource - [0.773%] [avg time: 0.009 ms] [avg calls per frame: 0]
20:06:37: | | conversion to 4:2:0 - [0.172%] [avg time: 0.002 ms] [avg calls per frame: 0]
20:06:37: | | call to encoder - [67.1%] [avg time: 0.781 ms] [avg calls per frame: 0]
20:06:37: | | sending stuff out - [0.859%] [avg time: 0.01 ms] [avg calls per frame: 0]
20:06:37: ==============================================================
20:06:37:
 
Top