Question / Help 25mb/s Upload, but still lags

Jahmech

New Member
I have recently started trying to stream again using OBS, which in the past has worked fine for me and given me a solid 30 fps that was easy to watch. However, this time (i had to reformat+reinstall) OBS is now lagging annoyingly bad when I try to stream. I used the OBS Settings Estimator and am using 4 Quality, 25 fps, 4000kb/ps bit-rate, GameCapture, and a server which is a half hour drive from my house.



I have:
-Windows 7, 64 bit
-AMD A6-3600 APU 2.10 GHz, quad core
-Nvidia GT630
-6GB RAM
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
My sincerest apologies, but I need to move this to the help/questions forum -- I need to try to keep the bugs forum with crashes and bug reports, though I can understand that you might feel it's a bug, and it very well could be.

Post a log file if possible and we'll take a look at it and see what's up
 

Jahmech

New Member
Here's one of my recent logs:

Code:
Open Broadcaster Software v0.50b - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD A6-3600 APU with Radeon(tm) HD Graphics
CPU Speed: 2096MHz
Physical Memory:  4095MB Total, 3206MB Free
stepping id: 0, model 1, family 15, type 0, extmodel 8, extfamily 1, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 630
  Video Adapter Dedicated Video Memory: 2096562176
  Video Adapter Shared System Memory: 2147037184
=====Stream Start: 2013-04-30, 00:28:00===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1500
    buffer size: 1500
    quality: 6
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 7444, number of frames that lagged: 65 (0.87%) (it's okay for some frames to lag)
Total duplicated frames: 203 (2.73%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 24, Waited for a total of 89303 bytes
Number of b-frames dropped: 302 (4.1%), Number of p-frames dropped: 365 (5%), Total 667 (9.1%)
=====Stream End: 2013-04-30, 00:32:09=================================================
=====Stream Start: 2013-04-30, 00:32:18===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 2000
    quality: 6
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
Total frames rendered: 28110, number of frames that lagged: 160 (0.57%) (it's okay for some frames to lag)
Total duplicated frames: 416 (1.48%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 217, Waited for a total of 729912 bytes
Number of b-frames dropped: 2775 (9.9%), Number of p-frames dropped: 3864 (14%), Total 6639 (24%)
=====Stream End: 2013-04-30, 00:47:58=================================================
------------------------------------------
=====Stream Start: 2013-04-30, 00:48:17===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 2000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 5534, number of frames that lagged: 5 (0.09%) (it's okay for some frames to lag)
Total duplicated frames: 9 (0.16%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 9, Waited for a total of 31759 bytes
Number of b-frames dropped: 68 (1.3%), Number of p-frames dropped: 77 (1.4%), Total 145 (2.7%)
=====Stream End: 2013-04-30, 00:51:59=================================================
=====Stream Start: 2013-04-30, 00:52:00===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 2436, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Total duplicated frames: 1 (0.04%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 13, Waited for a total of 45871 bytes
Number of b-frames dropped: 63 (2.7%), Number of p-frames dropped: 84 (3.6%), Total 147 (6.3%)
=====Stream End: 2013-04-30, 00:53:38=================================================
=====Stream Start: 2013-04-30, 00:53:40===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 2500
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 5668, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
Total duplicated frames: 1 (0.02%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 56, Waited for a total of 188825 bytes
Number of b-frames dropped: 468 (8.4%), Number of p-frames dropped: 638 (11%), Total 1106 (20%)
=====Stream End: 2013-04-30, 00:57:27=================================================
=====Stream Start: 2013-04-30, 00:57:37===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 4000
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
Total frames rendered: 1427, number of frames that lagged: 1 (0.07%) (it's okay for some frames to lag)
Total duplicated frames: 2 (0.14%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 31, Waited for a total of 114520 bytes
Number of b-frames dropped: 241 (18%), Number of p-frames dropped: 336 (26%), Total 577 (44%)
=====Stream End: 2013-04-30, 00:58:34=================================================
=====Stream Start: 2013-04-30, 00:58:35===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 20000
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
------------------------------------------
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
Total frames rendered: 1574, number of frames that lagged: 6 (0.38%) (it's okay for some frames to lag)
Total duplicated frames: 18 (1.14%)
okay, this is strange
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 10, Waited for a total of 40970 bytes
Number of b-frames dropped: 542 (37%), Number of p-frames dropped: 660 (45%), Total 1202 (82%)
=====Stream End: 2013-04-30, 00:59:39=================================================
------------------------------------------
------------------------------------------
------------------------------------------
=====Stream Start: 2013-04-30, 01:00:36===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 6
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 2653, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 3, Waited for a total of 5564 bytes
Number of b-frames dropped: 19 (0.75%), Number of p-frames dropped: 31 (1.2%), Total 50 (2%)
=====Stream End: 2013-04-30, 01:02:23=================================================
------------------------------------------
=====Stream Start: 2013-04-30, 01:02:54===============================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Logitech USB Headset)
------------------------------------------
Using auxilary audio input: Microphone (Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1064, height: 600
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 4
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 5146, number of frames that lagged: 2 (0.04%) (it's okay for some frames to lag)
Total duplicated frames: 27 (0.52%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-30, 01:06:20=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.437 ms] [avg calls per frame: 1] [children: 72.6%] [unaccounted: 27.4%]
| scene->Preprocess - [0.0676%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [72.5%] [avg time: 3.217 ms] [avg calls per frame: 1] [children: 69.3%] [unaccounted: 3.18%]
| | CopyResource - [4.19%] [avg time: 0.186 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.56%] [avg time: 0.158 ms] [avg calls per frame: 0]
| | call to encoder - [60%] [avg time: 2.66 ms] [avg calls per frame: 0]
| | sending stuff out - [1.62%] [avg time: 0.072 ms] [avg calls per frame: 0]
==============================================================



---Also, something extremely weird/infuriating. I did the speed test on testmy.net, and got 9mbps Download and 1.6mbps upload. Then I did it on speedof.me and got 55mpbs download and 2mbps upload.....How could it be so extremely far off from the speed test????? And is THAT accurate? And the only program I was using that required network during there was skype, and obviously Google chrome.
 

hilalpro

Member
Change the Ingest server to a different one (something also fairly close) if that doesn't help Run a little program called shaper probe a post the results.
 

Jahmech

New Member
Ran Shaper probe. I didn't see any server options so I just ran the program. Again I had skype in the background, and not much else.

DiffProbe release. January 2012. Build 1008.
Shaper Detection Module.

Connected to server 80.239.168.215.

Estimating capacity:
Upstream: 149 Kbps.
Downstream: 92494 Kbps.

The measurement will take upto 19.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: No shaper detected.
Median received rate: 149 Kbps.

Downstream: Burst size: 504-2275 KB;
Shaping rate: 17640 Kbps.

For more information, visit: http://www.cc.gatech.edu/~partha/diffprobe


On a different note, do you think it's more likely my internet or is it a setting I have with OBS. Or maybe even a Hardware issue.
 

dodgepong

Administrator
Community Helper
Upstream: 149 Kbps.
Ummmmmmm that's bad.

There has to be something wrong with your internet connection...your upload speeds are horrendous. Either there's something on your own network hogging upload traffic, or there's a problem with your ISP.

But your download speeds are great! :/
 

Jahmech

New Member
I ran ShaperProbe again with NO other programs (that I could tell) using network on. Closed skype, browser, any games, and the results I got still showed my Upload about 400kbps where my Down was still around the same.

Could it be a router issue? I'm not sure what to do if it's a hardware issue on my end, but i'm not sure seeing as how sometimes it's high and sometimes it's insanely low. Also it makes no sense how my download could be so high but my upload so extremely low.
 

hilalpro

Member
Try bypassing the router and connect directly to the modem see if that helps. there's a weak/throttled signal somewhere.
 

Jahmech

New Member
BREAKTHROUGH!

Ok so I got a new motherboard that came with this annoying software called Network Genie (MSI motherboard)

Apperantly it set both OBS and ShaperProbe to LOW bandwidth priority.

I set shaperprobe to high priority manually and got these results:
Upstream: No shaper detected.
Median received rate: 38378 Kbps.

Downstream: No shaper detected.
Median received rate: 58352 Kbps.




And since Speedtest.net is a flash program inside my browser (which was set to high priority) i can see why it gave me better speeds than a program that's not browser based.

So I guess the question now is should I uninstall Network Genie, or keep it and just set OBS to high priority?
 

dodgepong

Administrator
Community Helper
If it were me, I would uninstall Network Genie. But you can decide what you want to do.

Glad to hear you found the problem. I'll keep that in mind as a potential problem-causer for future troubleshooting.
 

hilalpro

Member
You don't need to shape your connection unless you're doing something that should heavily and negatively effect other tcp connections on your computer.
 
Top