Question / Help Lots of FPS drop in game while streaming.

nerox

New Member
Pretty much whenever I stream, my FPS in game drops from 60 to 20 and even worse at points. My laptop is about a year old now and doesn't have much on it. It's not some fancy gaming laptop but it's pretty good. Is it possible that without having to upgrade my PC specs, that I can stream without dropping frames in game.
Also, I tried lowering the graphics to very low but it didn't make much of a difference.
 

nerox

New Member
Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
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 2
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics Family
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using bitmap image
------------------------------------------
    device: CyberLink Webcam Splitter,
    device id \\?\root#media#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 800x600 - 800x600, fps: 5-15, fourCC: 'YUY2'

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 2182, number of frames that lagged: 2142 (98.17%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
bufferTime: 1743, outputRateWindowTime: 1000, dropThreshold: 2243
RTMPPublisher::BufferedSend: Buffer is full (142329 / 144384 bytes), waiting to send 3994 bytes
RTMPPublisher::BufferedSend: Buffer is full (142329 / 144384 bytes), waiting to send 3994 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
Total frames rendered: 27508, number of frames that lagged: 24652 (89.62%) (it's okay for some frames to lag)
Number of b-frames dropped: 4 (0.0042%), Number of p-frames dropped: 0 (0%), Total 4 (0.0042%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 307, number of frames that lagged: 239 (77.85%) (it's okay for some frames to lag)
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: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 3143, number of frames that lagged: 2305 (73.34%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 0, number of frames that lagged: 0 (-1.#J%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: External Mic (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
bufferTime: 1636, outputRateWindowTime: 1000, dropThreshold: 2136
Using bitmap image
Total frames rendered: 85048, number of frames that lagged: 73794 (86.77%) (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: 55.532 ms] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.926%]
| scene->Preprocess - [77.4%] [avg time: 43.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [21.6%] [avg time: 12.015 ms] [avg calls per frame: 1] [children: 5.88%] [unaccounted: 15.8%]
| | CopyResource - [0.167%] [avg time: 0.093 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.018%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | call to encoder - [5.62%] [avg time: 3.121 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0774%] [avg time: 0.043 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.
 

Kharay

Member
Video Adapter: Intel(R) HD Graphics Family
It's not exactly the most potent GPU.

Which is why

Total frames rendered: 85048, number of frames that lagged: 73794 (86.77%) (it's okay for some frames to lag)

What you could consider is toning down the graphics setting dramatically. Give your CPU and GPU some breathing room. What game are you trying to stream?
 

Kharay

Member
There is a proper way to set up the scene for LoL. Monitor Capture is not the most effective way to do it. What you'll want to do is use a scene switcher ( viewtopic.php?f=11&t=1785 ) and set up 2 scenes. One Game Capture for LoL's main screen/menu screen and another Game Capture for its game screen. Then you can simply set up the scene switcher to switch automatically between the 2.
 

nerox

New Member
Kinda confused on how I get that scene switcher working, I unzipped it but am a bit confused with what to do with the files.
 

nerox

New Member
Here's the log of my desktop upstairs, what would I have to add/replace to the PC in order to stream with Medium Quality in game and no FPS lag.
Code:
08:16:36: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
08:16:36: -------------------------------
08:16:36: CPU Name: Intel(R) Core(TM)2 Quad CPU    Q8300  @ 2.50GHz
08:16:36: CPU Speed: 2493MHz
08:16:36: Physical Memory:  4095MB Total, 1944MB Free
08:16:36: stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
08:16:36: monitor 1: pos={0, 0}, size={2048, 1152}
08:16:36: Windows Version: 6.1 Build 7601 S
08:16:36: Aero is Disabled
08:16:36: -------------------------------
08:16:36: OBS Modules:
08:16:36: Base Address     Module
08:16:36: 00010000         OBS.exe
08:16:36: 54400000         OBSApi.dll
08:16:36: 58430000         DShowPlugin.dll
08:16:36: 60420000         GraphicsCapture.dll
08:16:36: 5EF80000         NoiseGate.dll
08:16:36: 541D0000         PSVPlugin.dll
08:16:36: ------------------------------------------
08:16:36: Adapter 1
08:16:36:   Video Adapter: AMD Radeon HD7700 Series
08:16:36:   Video Adapter Dedicated Video Memory: 1053925376
08:16:36:   Video Adapter Shared System Memory: 2951833600
08:16:36: =====Stream Start: 2013-07-18, 08:16:36===============================================
08:16:36:   Multithreaded optimizations: On
08:16:36:   Base resolution: 2048x1152
08:16:36:   Output resolution: 2048x1152
08:16:36: ------------------------------------------
08:16:36: Loading up D3D10...
08:16:36: Playback device Default
08:16:36: ------------------------------------------
08:16:36: Using desktop audio input: Speakers (High Definition Audio Device)
08:16:37: ------------------------------------------
08:16:37: Using auxilary audio input: Microphone Array (2- Monitor Webcam)
08:16:37: ------------------------------------------
08:16:37: Audio Encoding: AAC
08:16:37:     bitrate: 128
08:16:37: ------------------------------------------
08:16:37: Video Encoding: x264
08:16:37:     fps: 30
08:16:37:     width: 2048, height: 1152
08:16:37:     preset: veryfast
08:16:37:     CBR: yes
08:16:37:     CFR: no
08:16:37:     max bitrate: 1000
08:16:37: ------------------------------------------
08:16:38: Connection to (null) failed: No server specified to connect to
08:16:38: Total frames rendered: 51, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
08:16:38: Number of times waited to send: 0, Waited for a total of 0 bytes
08:16:38: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
08:16:39: =====Stream End: 2013-07-18, 08:16:39=================================================
08:18:09: =====Stream Start: 2013-07-18, 08:18:09===============================================
08:18:09:   Multithreaded optimizations: On
08:18:09:   Base resolution: 2048x1152
08:18:09:   Output resolution: 2048x1152
08:18:09: ------------------------------------------
08:18:09: Loading up D3D10...
08:18:09: Playback device Default
08:18:09: ------------------------------------------
08:18:09: Using desktop audio input: Speakers (High Definition Audio Device)
08:18:09: ------------------------------------------
08:18:09: Using auxilary audio input: Microphone Array (2- Monitor Webcam)
08:18:09: ------------------------------------------
08:18:09: Audio Encoding: AAC
08:18:09:     bitrate: 128
08:18:09: ------------------------------------------
08:18:09: Video Encoding: x264
08:18:09:     fps: 30
08:18:09:     width: 2048, height: 1152
08:18:09:     preset: veryfast
08:18:09:     CBR: yes
08:18:09:     CFR: no
08:18:09:     max bitrate: 1000
08:18:09: ------------------------------------------
08:18:11: Connection to (null) failed: No server specified to connect to
08:18:11: Total frames rendered: 51, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
08:18:11: Number of times waited to send: 0, Waited for a total of 0 bytes
08:18:11: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
08:18:11: =====Stream End: 2013-07-18, 08:18:11=================================================
08:20:07: =====Stream Start: 2013-07-18, 08:20:07===============================================
08:20:07:   Multithreaded optimizations: On
08:20:07:   Base resolution: 2048x1152
08:20:07:   Output resolution: 2048x1152
08:20:07: ------------------------------------------
08:20:07: Loading up D3D10...
08:20:07: Playback device Default
08:20:07: ------------------------------------------
08:20:07: Using desktop audio input: Speakers (High Definition Audio Device)
08:20:07: ------------------------------------------
08:20:07: Using auxilary audio input: Microphone Array (2- Monitor Webcam)
08:20:07: ------------------------------------------
08:20:07: Audio Encoding: AAC
08:20:07:     bitrate: 128
08:20:07: Using Monitor Capture
08:20:07: ------------------------------------------
08:20:07: Video Encoding: x264
08:20:07:     fps: 30
08:20:07:     width: 2048, height: 1152
08:20:07:     preset: veryfast
08:20:07:     CBR: yes
08:20:07:     CFR: no
08:20:07:     max bitrate: 1000
08:20:07: ------------------------------------------
08:20:09: Using RTMP service: Twitch / Justin.tv
08:20:09:   Server selection: rtmp://live-jfk.justin.tv/app
08:20:12: SO_SNDBUF was at 261360
08:20:12: SO_SNDBUF is now 65536
08:20:36: Using text output
08:22:54: Total frames rendered: 4637, number of frames that lagged: 1098 (23.68%) (it's okay for some frames to lag)
08:22:54: RTMPPublisher::SocketLoop: Aborting due to bStopping
08:22:54: Number of times waited to send: 0, Waited for a total of 0 bytes
08:22:54: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
08:22:55: =====Stream End: 2013-07-18, 08:22:55=================================================
08:23:45: 
08:23:45: Profiler results:
08:23:45: 
08:23:45: ==============================================================
08:23:45: frame - [100%] [avg time: 29.628 ms (cpu time: avg 23.681 ms, total 112227 ms)] [avg calls per frame: 1] [children: 91.3%] [unaccounted: 8.71%]
08:23:45: | scene->Preprocess - [51.7%] [avg time: 15.311 ms (cpu time: avg 11.873 ms, total 56269.6 ms)] [avg calls per frame: 1]
08:23:45: | video encoding and uploading - [39.6%] [avg time: 11.737 ms (cpu time: avg 10.507 ms, total 49795.5 ms)] [avg calls per frame: 1] [children: 39.4%] [unaccounted: 0.176%]
08:23:45: | | CopyResource - [0.0675%] [avg time: 0.02 ms (cpu time: avg 0.023 ms, total 109.2 ms)] [avg calls per frame: 0]
08:23:45: | | conversion to 4:2:0 - [0.392%] [avg time: 0.116 ms (cpu time: avg 0.009 ms, total 46.8 ms)] [avg calls per frame: 0]
08:23:45: | | call to encoder - [38.8%] [avg time: 11.502 ms (cpu time: avg 10.395 ms, total 49265.1 ms)] [avg calls per frame: 0]
08:23:45: | | sending stuff out - [0.159%] [avg time: 0.047 ms (cpu time: avg 0.042 ms, total 202.8 ms)] [avg calls per frame: 0]
08:23:45: | Convert444Threads - [241%] [avg time: 71.323 ms (cpu time: avg 11.067 ms, total 52447.5 ms)] [avg calls per frame: 1]
08:23:45: ==============================================================
08:23:45:
 

Kharay

Member
And, again, Monitor Capture. I explained to you how to set up a proper LoL stream using 2 scenes. Now, get to it!
 
Top