Question / Help Stream FPS problem

LadaB

New Member
Hello, yesterday i downloaded OBS for the first time and there is problem with FPS on stream. In-game FPS are good (60 all time) but stream there is just about 10-20 FPS on 700p quality and 5-10 on 1050p quality.

This FPS drop i have only with Game Capture plugin. With Dxtory there is about 20 stream fps boost but at cost of in-game fps (about 30).

Thank you for help.



Open Broadcaster Software v0.51b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
CPU Speed: 3569MHz
Physical Memory: 12159MB Total, 7064MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 260
Video Adapter Dedicated Video Memory: 911605760
Video Adapter Shared System Memory: 3354996736
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics 3000
Video Adapter Dedicated Video Memory: 67108864
Video Adapter Shared System Memory: 1711276032
=====Stream Start: 2013-04-26, 14:27:28===============================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{665f8cc9-3cee-470b-a116-dfed21a5ae0e}
------------------------------------------
Using desktop audio input: Reproduktory (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: Dxtory Video 1,
device id (null),
chosen type: RGB32, usingFourCC: false, res: 1280x800 - 1280x800, frameIntervals: 166666-166666, fourCC: 00000000
audio device: Disable,
audio device id Disabled,

Using directshow input
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: faster
CBR: no
CFR: no
max bitrate: 5500
buffer size: 5500
quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
Total frames rendered: 3080, number of frames that lagged: 1077 (34.97%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 14, Waited for a total of 42298 bytes
Number of b-frames dropped: 97 (3.4%), Number of p-frames dropped: 178 (6.2%), Total 275 (9.6%)
=====Stream End: 2013-04-26, 14:29:40=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 37.001 ms] [avg calls per frame: 1] [children: 98.1%] [unaccounted: 1.87%]
| scene->Preprocess - [0.00541%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.1%] [avg time: 36.307 ms] [avg calls per frame: 1] [children: 97.9%] [unaccounted: 0.197%]
| | CopyResource - [88.8%] [avg time: 32.841 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0649%] [avg time: 0.024 ms] [avg calls per frame: 0]
| | call to encoder - [8.93%] [avg time: 3.306 ms] [avg calls per frame: 0]
| | sending stuff out - [0.17%] [avg time: 0.063 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
Looks like your GPU is pretty old and is slowing down your Game Capture.

Try lowering your bit rate down to 3000 and raise the x264 preset to veryfast, and lower your frame rate to 30fps.

Also you could try running the game in Windowed Borderless mode and using Monitor capture with Aero disabled, or Window capture with Aero enabled instead of game capture.
 

LadaB

New Member
still low fps...but when im using FFSplit+Dxtory i have smooth stream and smooth game (game and stream both same FPS about 40) so i don't know what differences are between dxtory and game capture...and i have 45-55 stream/ingame FPS with FFSplit+Dxtory and 30-35 stream/ingame FPS with OBS+Dxtory..

But I want to use OBS instead of FFSplit because FFSplit crashes too much..
 

dodgepong

Administrator
Community Helper
Oh wait, I just noticed you are using both game capture and DxTory. You don't need to use DxTory anymore. Just use Game capture. OBS doesn't require the use of DxTory, since Game Capture works really well.

After you remove DxTory, can you post a new log with 30fps/3000 bit rate/veryfast preset?
 

LadaB

New Member
I uninstalled Dxtory then i restarted game and OBS. There is new one:

Open Broadcaster Software v0.51b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
CPU Speed: 3569MHz
Physical Memory: 12159MB Total, 7469MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 260
Video Adapter Dedicated Video Memory: 911605760
Video Adapter Shared System Memory: 3354996736
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics 3000
Video Adapter Dedicated Video Memory: 67108864
Video Adapter Shared System Memory: 1711276032
=====Stream Start: 2013-04-26, 18:13:22===============================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{665f8cc9-3cee-470b-a116-dfed21a5ae0e}
------------------------------------------
Using desktop audio input: Reproduktory (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using Window Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1680, height: 1050
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 703, number of frames that lagged: 568 (80.80%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-26, 18:14:36=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 102.25 ms] [avg calls per frame: 1] [children: 98.9%] [unaccounted: 1.06%]
| scene->Preprocess - [0.000978%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.9%] [avg time: 101.161 ms] [avg calls per frame: 1] [children: 98.9%] [unaccounted: 0.0606%]
| | CopyResource - [96.5%] [avg time: 98.674 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0264%] [avg time: 0.027 ms] [avg calls per frame: 0]
| | call to encoder - [2.22%] [avg time: 2.266 ms] [avg calls per frame: 0]
| | sending stuff out - [0.129%] [avg time: 0.132 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
It's having an insanely difficult time capturing your game...are you sure the game and OBS are running on the nVidia card?
 

dodgepong

Administrator
Community Helper
What game are you capturing? Also, what happens when you reduce your resolution to 720p?
 

hilalpro

Member
Something is causing too much stress on your cpu it looks like, Downscale to 720p then go to advanced>use multi threaded optimizations and set that to high. also set obs.exe to high from task manager. now if you already do, don't watch your stream while streaming. (check the vods after) or play it from another pc.
 

dodgepong

Administrator
Community Helper
hilalpro said:
Something is causing too much stress on your cpu it looks like, Downscale to 720p then go to advanced>use multi threaded optimizations and set that to high. also set obs.exe to high from task manager. now if you already do, don't watch your stream while streaming. (check the vods after) or play it from another pc.
The slowdown is on the GPU, not the CPU. CopyResource is the part of the encoding that is taking the most time (98ms) which indicates a GPU performance problem.

LadaB, you're better off keeping Aero enabled and using Window capture and not using Game Capture at all. Or use DxTory and capture that output, I suppose. Just don't use OBS's game capture...your GPU is much too old for it.
 

AmphGaming

New Member
Yeah man, having the same issue. I streamed last night and the FPS was being indecisive. For the first half or so, it was good, but then it was >5 FPS. I was streaming Overwatch at the time. I'm fetching the log now.
 
Top