Bug Report Major streaming lag

iconiy

New Member
Hey guys!
i Just want to say that I love OBS and think its great!

However, over the last few days I have noticed that I drop massive frames while I am streaming. When I first started using this on Wednesday, I didnt have any trouble at all. But last night and today, I have had major problems with frames dropping on all of the same settings.

I have tried changing this about everything and havent seen any fixes so far. I have updated to the newest verison and it still gives the same issues.

i have attached the log to my lastest try:
Code:
Open Broadcaster Software v0.452a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD FX(tm)-8150 Eight-Core Processor
CPU Speed: 3612MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6900 Series
  Video Adapter Dedicated Video Memory: 2129346560
  Video Adapter Shared System Memory: 3998451712
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
bufferTime: 2012, outputRateWindowTime: 1000, dropThreshold: 2512
Total frames rendered: 8935, number of frames that lagged: 490 (5.48%) (it's okay for some frames to lag)
Number of b-frames dropped: 3540 (17%), Number of p-frames dropped: 3310 (16%), Total 6850 (33%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
bufferTime: 2007, outputRateWindowTime: 1000, dropThreshold: 2507
Total frames rendered: 786, number of frames that lagged: 692 (88.04%) (it's okay for some frames to lag)
Number of b-frames dropped: 127 (6.3%), Number of p-frames dropped: 194 (9.7%), Total 321 (16%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
bufferTime: 2013, outputRateWindowTime: 1000, dropThreshold: 2513
Total frames rendered: 601, number of frames that lagged: 488 (81.20%) (it's okay for some frames to lag)
Number of b-frames dropped: 104 (7.1%), Number of p-frames dropped: 138 (9.4%), Total 242 (17%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
bufferTime: 2015, outputRateWindowTime: 1000, dropThreshold: 2515
Total frames rendered: 1961, number of frames that lagged: 113 (5.76%) (it's okay for some frames to lag)
Number of b-frames dropped: 618 (14%), Number of p-frames dropped: 490 (11%), Total 1108 (25%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
bufferTime: 2011, outputRateWindowTime: 1000, dropThreshold: 2511
Total frames rendered: 8427, number of frames that lagged: 530 (6.29%) (it's okay for some frames to lag)
Number of b-frames dropped: 2573 (13%), Number of p-frames dropped: 2683 (14%), Total 5256 (27%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 23.544 ms] [avg calls per frame: 1] [children: 90.6%] [unaccounted: 9.43%]
| scene->Preprocess - [63.8%] [avg time: 15.031 ms] [avg calls per frame: 1]
| video encoding and uploading - [26.7%] [avg time: 6.293 ms] [avg calls per frame: 1] [children: 10.1%] [unaccounted: 16.6%]
| | CopyResource - [0.0934%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0297%] [avg time: 0.007 ms] [avg calls per frame: 0]
| | call to encoder - [9.85%] [avg time: 2.32 ms] [avg calls per frame: 0]
| | sending stuff out - [0.127%] [avg time: 0.03 ms] [avg calls per frame: 0]
==============================================================

And this is the vod of it in action: http://www.twitch.tv/iconiy/b/346101699


Do you know of any reason why this may be happening? Thanks!
 

iconiy

New Member
I have tried both Los angeles and Los angeles (secondary) as they are the best. But I still have had no luck.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you try it out with the "send buffer" in advanced on? Try setting higher or lower values and see if that makes a difference
 

iconiy

New Member
Ok so I tried it all of the send buffer options on and got basically the same results on all of them.

I also have an upload speed of 5mb so I think I should be fine for this.

Code:
Open Broadcaster Software v0.452a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD FX(tm)-8150 Eight-Core Processor
CPU Speed: 3612MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6900 Series
  Video Adapter Dedicated Video Memory: 2129346560
  Video Adapter Shared System Memory: 3998451712
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
Using Send Buffer Size: 1460
bufferTime: 2298, outputRateWindowTime: 1000, dropThreshold: 2798
Total frames rendered: 2376, number of frames that lagged: 205 (8.63%) (it's okay for some frames to lag)
Number of b-frames dropped: 756 (14%), Number of p-frames dropped: 897 (16%), Total 1653 (30%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
Using Send Buffer Size: 2920
bufferTime: 2115, outputRateWindowTime: 1000, dropThreshold: 2615
Total frames rendered: 3066, number of frames that lagged: 282 (9.20%) (it's okay for some frames to lag)
Number of b-frames dropped: 689 (9.7%), Number of p-frames dropped: 476 (6.7%), Total 1165 (16%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
Using Send Buffer Size: 5840
bufferTime: 2115, outputRateWindowTime: 1000, dropThreshold: 2615
Total frames rendered: 3182, number of frames that lagged: 322 (10.12%) (it's okay for some frames to lag)
Number of b-frames dropped: 769 (10%), Number of p-frames dropped: 479 (6.5%), Total 1248 (17%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: MP3
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3100
    buffer size: 3100
    quality: 10
------------------------------------------
Using Send Buffer Size: 11680
bufferTime: 2429, outputRateWindowTime: 1000, dropThreshold: 2929
Total frames rendered: 2998, number of frames that lagged: 288 (9.61%) (it's okay for some frames to lag)
Number of b-frames dropped: 707 (10%), Number of p-frames dropped: 445 (6.4%), Total 1152 (17%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 28.491 ms] [avg calls per frame: 1] [children: 91.5%] [unaccounted: 8.55%]
| scene->Preprocess - [65.8%] [avg time: 18.755 ms] [avg calls per frame: 1]
| video encoding and uploading - [25.6%] [avg time: 7.301 ms] [avg calls per frame: 1] [children: 11.4%] [unaccounted: 14.2%]
| | CopyResource - [0.00702%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [5.88%] [avg time: 1.674 ms] [avg calls per frame: 0]
| | call to encoder - [5.38%] [avg time: 1.533 ms] [avg calls per frame: 0]
| | sending stuff out - [0.123%] [avg time: 0.035 ms] [avg calls per frame: 0]
==============================================================
 
Top