Bug Report FPS problem

striker035

New Member
When I stream via Xbox I am only getting 46 fps max on a 60 set. To make it stranger I only get 58 fps on my pc. WITH A GTX 680!

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 680
  Video Adapter Dedicated Video Memory: 4232773632
  Video Adapter Shared System Memory: 4017676288
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 2500
    buffer size: 1500
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
------------------------------------------
    device: Blackmagic WDM Capture,
    device id \\?\decklink#avstream#5&3af96ba6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture1,
    chosen type: HDYC, usingFourCC: true, res: 1280x720 - 1280x720, fps: 59.9402-59.9402, fourCC: 'HDYC'

    device audio info - bits per sample: 16, channels: 2, samples per sec: 48000
Using directshow input
Total frames rendered: 2552, number of frames that lagged: 2429 (95.18%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
------------------------------------------
    device: Blackmagic WDM Capture,
    device id \\?\decklink#avstream#5&3af96ba6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture1,
    chosen type: HDYC, usingFourCC: true, res: 1280x720 - 1280x720, fps: 59.9402-59.9402, fourCC: 'HDYC'

    device audio info - bits per sample: 16, channels: 2, samples per sec: 48000
Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 2500
    buffer size: 1500
    quality: 10
------------------------------------------
Total frames rendered: 122, number of frames that lagged: 73 (59.84%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
------------------------------------------
    device: Blackmagic WDM Capture,
    device id \\?\decklink#avstream#5&3af96ba6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture1,
    chosen type: HDYC, usingFourCC: true, res: 1280x720 - 1280x720, fps: 59.9402-59.9402, fourCC: 'HDYC'

    device audio info - bits per sample: 16, channels: 2, samples per sec: 48000
Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 2500
    buffer size: 1500
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
Total frames rendered: 414, number of frames that lagged: 255 (61.59%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 2500
    buffer size: 1500
    quality: 10
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 27130, number of frames that lagged: 10456 (38.54%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 80
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 2500
    buffer size: 1500
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 2825, number of frames that lagged: 2751 (97.38%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 80
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3400
    buffer size: 1500
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 1305, number of frames that lagged: 1236 (94.71%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 80
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 1000
    buffer size: 1500
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 5356, number of frames that lagged: 5215 (97.37%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Astro Chat               )
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 80
    width: 1280, height: 720
    preset: faster
    CBR: no
    max bitrate: 3000
    buffer size: 1500
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 664, number of frames that lagged: 595 (89.61%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 17.204 ms] [avg calls per frame: 1] [children: 93.8%] [unaccounted: 6.17%]
| scene->Preprocess - [0.273%] [avg time: 0.047 ms] [avg calls per frame: 1]
| video encoding and uploading - [93.6%] [avg time: 16.095 ms] [avg calls per frame: 1] [children: 7.2%] [unaccounted: 86.4%]
| | CopyResource - [0.163%] [avg time: 0.028 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0756%] [avg time: 0.013 ms] [avg calls per frame: 0]
| | call to encoder - [6.96%] [avg time: 1.197 ms] [avg calls per frame: 0]
| | sending stuff out - [0.00581%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
Encoding video is actually CPU-bound, not GPU-bound. From what I can see in your log, a lot of frames are lagging when trying to be encoded. According to the profiler, the encoder can't keep up with 60FPS.

Try setting your preset to veryfast...generally you don't need to change from that preset at all, and going from veryfast -> faster introduces much higher load on your CPU. You can also try lowering your frame rate, too, if that doesn't help.

Also, I see you're capturing with a BlackMagic device...which one are you using?
 

Smoshi

Member
I also see that his bitrate and buffer is really low too. Depending on the quality he is trying to achieve, he might need to raise that if he has the upload bandwidth for it.

Also, you only have 4gb of ram? That might cause issues.

http://obsproject.com/estimator
Use that as a guide.
 

striker035

New Member
i have 8gb of ram

i also have a i7 sandy bridge @ 3.4

i have 40 down and 25 up

edit:

I get about 160fps on Borderlands 2 and once i launch OBS it falls to 57
 

Smoshi

Member
That's really weird :S
I'm using a worse setup than you (i3, 8gb ram, radeon hd 6670) and I go from 100fps in smite down to 70 with OBS streaming.

This shouldn't have any effect, but have you tried lowering your in-game graphics to test if maybe that's the problem?
 

striker035

New Member
I have a gtx GeForce 680 FTW my graphical settings should not be the issue.

I also want to point out that i am getting 25 MAX fps with the window capture function on obs.
 

paibox

heros in an halfshel
Please make sure that you do not have a lot of unused global sources in your global sources list.

Even if they're not used in the scene you're currently previewing, they'll still be active and might be causing extra load depending on what they are.
 

striker035

New Member
I have never used Global sources. I have been streaming since The FME era 2009. I have used Wirecast, FME, xsplit and xsplit before it got redone. Never had this kind of fps lag on wirecast or others just OBS.
 
Top