Bug Report [Solved] Feezes then falls behind a LOT, 0 frames dropped

olbpetersson

New Member
Hey!

I've been having a problem with my stream lately. Before, I used to use xsplit and 4500 bitrate to stream (LoL) to UK:s secondary server without any lag. Recently I picked up OBS and tried to stream counter-strike:global offensive, however, my stream freezes and falls behind extremely (unwatchable).

The weird thing is that I have 0 frames dropped. I tried to stream at quality 6 and 1000 bitrate and it still stutters. Another weird thing is that the vods doesnt lag at all (which causes me to think that it is a routing problem). It seems as though the stream begins to lag whenever I launch cs:go. Is this a known problem?

When I try the built in test in xsplit and try to stream at 10k bitrate, the general output is around 7k.

So, what I have been doing to try to fix it (without any success) is:
*Tried to stream in bitrates from 1000-4500 and quality between 6-10. Always 0 dropped frames but always freeze lags on the stream
*Tried several different servers, uk1, uk2, DE, amsterdam, global balancer
*Changed the cpu load balancer from everything from fast to ultrafast
*tried to make cleane scenes, uninstalled and tried different version of OBS
*Streamed in different fps-ranges (25-30)

My specs are: 2500k i5, 8 gig ram, nvidia 670. I use the video game capturer to stream counter-strike. However, I tried to stream it in windowed mode and it lags there as well

1 gigabit internet. Whenever I look at the output from OBS (next to the green box) and streams only the desktop, I am sending between 200-400 kbit.

So I'd be very thankful if somebody could help me out here!
 

Smoshi

Member
Re: Feezes then falls behind a LOT, 0 frames dropped (CSGO)

Could you post your log? Have you tried downscaling your resolution?
 

olbpetersson

New Member
Re: Feezes then falls behind a LOT, 0 frames dropped (CSGO)

Hey!

Ive done-scaled and streamed in 1024x768, same resolution but downscaled x1,5. Also streamed in 1080 and 720.

Here are some of my logs:

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 670
  Video Adapter Dedicated Video Memory: 2091581440
  Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 6
------------------------------------------
bufferTime: 2130, outputRateWindowTime: 1000, dropThreshold: 2630
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Warning -- DShowPlugin: control->Run failed, result = 8007001F
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Warning -- DShowPlugin: control->Run failed, result = 8007001F
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Warning -- DShowPlugin: control->Run failed, result = 8007001F
Total frames rendered: 1228, number of frames that lagged: 7 (0.57%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Warning -- DShowPlugin: control->Run failed, result = 8007001F
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 6
------------------------------------------
bufferTime: 2554, outputRateWindowTime: 1000, dropThreshold: 3054
Total frames rendered: 2903, number of frames that lagged: 12 (0.41%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Warning -- DShowPlugin: control->Run failed, result = 8007001F
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 6
------------------------------------------
Total frames rendered: 2437, number of frames that lagged: 19 (0.78%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 6
------------------------------------------
bufferTime: 1981, outputRateWindowTime: 1000, dropThreshold: 2481
Total frames rendered: 753, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 6
------------------------------------------
bufferTime: 2287, outputRateWindowTime: 1000, dropThreshold: 2787
Total frames rendered: 3150, number of frames that lagged: 5 (0.16%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2700
    buffer size: 2700
    quality: 7
------------------------------------------
bufferTime: 2073, outputRateWindowTime: 1000, dropThreshold: 2573
Total frames rendered: 1167, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2700
    buffer size: 2700
    quality: 7
------------------------------------------
bufferTime: 2082, outputRateWindowTime: 1000, dropThreshold: 2582
Total frames rendered: 929, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2700
    buffer size: 2700
    quality: 7
------------------------------------------
bufferTime: 2003, outputRateWindowTime: 1000, dropThreshold: 2503
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13895527&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Total frames rendered: 690, number of frames that lagged: 5 (0.72%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 28 (1.8%), Number of p-frames dropped: 30 (1.9%), Total 58 (3.7%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C270)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2700
    buffer size: 2700
    quality: 7
------------------------------------------
bufferTime: 2117, outputRateWindowTime: 1000, dropThreshold: 2617
Total frames rendered: 647, number of frames that lagged: 10 (1.55%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 5.011 ms] [avg calls per frame: 1] [children: 77.1%] [unaccounted: 22.9%]
| scene->Preprocess - [27.5%] [avg time: 1.377 ms] [avg calls per frame: 1]
| video encoding and uploading - [49.6%] [avg time: 2.484 ms] [avg calls per frame: 1] [children: 24.6%] [unaccounted: 25%]
| | CopyResource - [1.02%] [avg time: 0.051 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.579%] [avg time: 0.029 ms] [avg calls per frame: 0]
| | call to encoder - [22.8%] [avg time: 1.143 ms] [avg calls per frame: 0]
| | sending stuff out - [0.18%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================

Thanks!
 

olbpetersson

New Member
Re: Feezes then falls behind a LOT, 0 frames dropped (CSGO)

This has been solved. The problem was that a had too much fps in the game which eventually caused my graphic card to get overloaded, which then caused my cpu to overload. I did set the maxfps to 150 and it was solved
 

Bensam123

Member
Re: [Solved] Feezes then falls behind a LOT, 0 frames droppe

WTF... I've never heard of a solution or reasoning like that before as a fix and really shouldn't be a issue... Weird, old source engine is old. (Thinking about this, this is actually a pretty interesting solution that may apply to more then just the source engine)

Something worth noting. Your in game resolution wont effect OBS beyond how it affects your game normally. You can leave that at your default resolution. However, a bit rate of 1000 isn't enough to stream 720p. You'd need to downscale that from native to half (I forgot what res that is). You can keep your game resolution at the default.

The only reason you'd see reducing your in game resolution would result in a better stream is because of those giant black borders that are added to your stream (which then in turn don't use any bandwidth because they're black).

1 Gbit isn't your internet connection speed, that's your lan speed. You can figure out your connection speed by using a speed test, like Speedtest.net. Click on a server that is close if not in the same city as the twitch server you're streaming to. You can then figure out a proper bit rate to set your max bit rate to and also a proper resolution to stream at.
 
Top