Question / Help Stream is lagging

Crunscher

New Member
Hello everyone,

i got the Problem that the stream is lagging 4 many Users. So the Stream stuck and then go forward 20sec.
I got no Ingame laggs or something like this.

Here the logg:
Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={1920, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5800 Series
  Video Adapter Dedicated Video Memory: 2103107584
  Video Adapter Shared System Memory: 4009304064
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Lautsprecher (ASUS Xonar DX Audio Device)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Mikrofon (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using text output
Using text output
Using text output
Using bitmap image
Using text output
Using bitmap image
Using text output
Using bitmap image
Using bitmap image
Using Monitor Capture
------------------------------------------
    device: Logitech HD Pro Webcam C910,
    device id \\?\usb#vid_046d&pid_0821&mi_02#7&22550b11&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 800x600 - 800x600, fps: 5-30, fourCC: 00000000

Using directshow input
Using text output
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 2000
    quality: 9
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2342, outputRateWindowTime: 1000, dropThreshold: 2842
RTMPPublisher::BufferedSend: Socket buffer is full (273708 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273708 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272513 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276076 / 276480 bytes), waiting to send 444 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275378 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272813 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273116 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273992 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273992 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275328 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (275328 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274817 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274817 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273603 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273603 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273974 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273293 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275683 / 276480 bytes), waiting to send 1833 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275093 / 276480 bytes), waiting to send 3650 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274273 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275534 / 276480 bytes), waiting to send 3109 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276148 / 276480 bytes), waiting to send 458 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275339 / 276480 bytes), waiting to send 2724 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272888 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273125 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275739 / 276480 bytes), waiting to send 2616 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275739 / 276480 bytes), waiting to send 2616 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275954 / 276480 bytes), waiting to send 3011 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275782 / 276480 bytes), waiting to send 2869 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273671 / 276480 bytes), waiting to send 3656 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276336 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275731 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274720 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273612 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272770 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275648 / 276480 bytes), waiting to send 2251 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275648 / 276480 bytes), waiting to send 2251 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272864 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272864 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276060 / 276480 bytes), waiting to send 1286 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276060 / 276480 bytes), waiting to send 1286 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275996 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275996 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272750 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274418 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274724 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274724 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276344 / 276480 bytes), waiting to send 804 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275983 / 276480 bytes), waiting to send 2678 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276454 / 276480 bytes), waiting to send 469 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275242 / 276480 bytes), waiting to send 2458 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275772 / 276480 bytes), waiting to send 3490 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275669 / 276480 bytes), waiting to send 2922 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276058 / 276480 bytes), waiting to send 3487 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275782 / 276480 bytes), waiting to send 4002 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274417 / 276480 bytes), waiting to send 3096 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274912 / 276480 bytes), waiting to send 3177 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274963 / 276480 bytes), waiting to send 3271 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274963 / 276480 bytes), waiting to send 3271 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275922 / 276480 bytes), waiting to send 3694 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275922 / 276480 bytes), waiting to send 3694 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273896 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276106 / 276480 bytes), waiting to send 490 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276419 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276419 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276471 / 276480 bytes), waiting to send 377 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276065 / 276480 bytes), waiting to send 462 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276065 / 276480 bytes), waiting to send 462 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275373 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273466 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273466 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272930 / 276480 bytes), waiting to send 3731 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272930 / 276480 bytes), waiting to send 3731 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273713 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275796 / 276480 bytes), waiting to send 1953 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274294 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276335 / 276480 bytes), waiting to send 488 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275836 / 276480 bytes), waiting to send 2636 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275836 / 276480 bytes), waiting to send 2636 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272574 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272574 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274705 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274705 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275150 / 276480 bytes), waiting to send 2273 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275150 / 276480 bytes), waiting to send 2273 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276098 / 276480 bytes), waiting to send 434 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276002 / 276480 bytes), waiting to send 3064 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276091 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276091 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276035 / 276480 bytes), waiting to send 507 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276035 / 276480 bytes), waiting to send 507 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (273630 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275155 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274802 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (274802 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (272767 / 276480 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276218 / 276480 bytes), waiting to send 464 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276038 / 276480 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275658 / 276480 bytes), waiting to send 2654 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (275658 / 276480 bytes), waiting to send 2654 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276312 / 276480 bytes), waiting to send 435 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276312 / 276480 bytes), waiting to send 435 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (276044 / 276480 bytes), waiting to send 521 bytes
Total frames rendered: 280520, number of frames that lagged: 20 (0.01%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 1627 (0.58%), Number of p-frames dropped: 1313 (0.47%), Total 2940 (1%)
x264: frame I:1138  Avg QP:22.51  size:126603
x264: frame P:86694 Avg QP:24.49  size:  9918
x264: frame B:192650 Avg QP:28.50  size:  1925
x264: consecutive B-frames:  5.7%  5.6%  8.0% 80.8%
x264: mb I  I16..4: 13.7% 17.9% 68.3%
x264: mb P  I16..4:  1.4%  1.4%  1.1%  P16..4: 14.7%  4.0%  2.6%  0.0%  0.0%    skip:74.7%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.9%  1.2%  0.4%  direct: 0.9%  skip:95.4%  L0:34.3% L1:44.0% BI:21.7%
x264: 8x8 transform intra:31.1% inter:28.2%
x264: coded y,uvDC,uvAC intra: 74.5% 68.3% 43.3% inter: 4.0% 3.6% 1.0%
x264: i16 v,h,dc,p: 23% 32% 34% 11%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 17% 35%  4%  7%  5%  6%  5%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 18%  8%  7%  7%  7%  7%  8%
x264: i8c dc,h,v,p: 52% 25% 15%  7%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1175.54
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 10.523 ms] [avg calls per frame: 1] [children: 91.5%] [unaccounted: 8.5%]
| scene->Preprocess - [78.1%] [avg time: 8.222 ms] [avg calls per frame: 1]
| video encoding and uploading - [13.4%] [avg time: 1.407 ms] [avg calls per frame: 1] [children: 12.4%] [unaccounted: 0.988%]
| | CopyResource - [0.209%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.019%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [12%] [avg time: 1.263 ms] [avg calls per frame: 0]
| | sending stuff out - [0.152%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You're dropping frames and having network lag. If you don't feel your bitrate is to blame, then try another server. Otherwise, your bitrate is probably to too high, and you'll probably need to lower it.
 
Top