Bug Report High fps in-game but stream shows low fps.

Conviq

New Member
Basically what the title says.

Mainly streaming WoW/LoL


Speedtest: http://www.speedtest.net/result/2399906748.png

Processor: Intel core 2 Quad CPU Q8200 @ 2.33GHz, 2331 Mhz, 4Core(s), 4 Logical Processor(s)

Pretty outdated processor but still.

I've tried so many different stream setting but the closest i get to is 20 fps.

Any help please

grtz
 

Staretta

Member
viewtopic.php?f=6&t=97
Jim said:
The log folder can be accessed in the app via the Settings->Open Log Folder menu item. If you used the installer, you'll also have a link in your start menu folder for the application to open the log folder. You can also access the logs by typing %AppData%\OBS\logs into start/run. Make sure to close OBS before opening your log file.

Then simply paste the contents of your log, and preferrably use the "Code" button option when posting here on the forums. You can also use pastebin.com as well if you wish.
 

Conviq

New Member
Open Broadcaster Software v0.452a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
CPU Speed: 2327MHz
Physical Memory: 4094MB Total, 1848MB Free
stepping id: 7, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce 9600 GT
Video Adapter Dedicated Video Memory: 519634944
Video Adapter Shared System Memory: 1878091776
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech USB Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 25
width: 1280, height: 720
preset: superfast
CBR: no
max bitrate: 1600
buffer size: 1600
quality: 7
------------------------------------------
bufferTime: 4376, outputRateWindowTime: 1000, dropThreshold: 4876
Total frames rendered: 2681, number of frames that lagged: 2560 (95.49%) (it's okay for some frames to lag)
Number of b-frames dropped: 360 (3.5%), Number of p-frames dropped: 235 (2.3%), Total 595 (5.8%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 63.819 ms] [avg calls per frame: 1] [children: 98.5%] [unaccounted: 1.5%]
| scene->Preprocess - [56.9%] [avg time: 36.335 ms] [avg calls per frame: 1]
| video encoding and uploading - [41.6%] [avg time: 26.529 ms] [avg calls per frame: 1] [children: 40.8%] [unaccounted: 0.722%]
| | CopyResource - [33.9%] [avg time: 21.632 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.338%] [avg time: 0.216 ms] [avg calls per frame: 0]
| | call to encoder - [6.51%] [avg time: 4.157 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0987%] [avg time: 0.063 ms] [avg calls per frame: 0]
==============================================================

I have a couple more if u need better ones or whatever.
 

Krazy

Town drunk
You won't be able to stream 720p on that processor, especially without an overclock. You can try using game capture to cut down on some of the frame time, but that GPU isn't super powerful, either. Your best bet is lowering to 480p.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I think that processor should be okay at that FPS, not entirely sure though.

First thing - you're using an old version. Make sure to use the most recent version.

Second, you may be trying to stream your monitor while aero is enabled. You must disable aero in video settings, then restart the app to prevent FPS issues. Or just use window capture, which is better.

Third, your GPU is quite old, and is also contributing to some of the lag.
 

Myiasis

New Member
I have a similar CPU so wanted to post.

I doubt that the CPU is the majority of the issue. I have a Core2 Quad also, but mine is a little faster (3ghz). I can stream at 720/30fps without any issues and only use 60-75% of the cpu. That bit I have left over is about the speed differences in our CPUs. Different games will have different overall impacts of course. Think I was playing Portal 2 with that 60-75% result.

I was looking at your profiler results and comparing them to a log from last night. I streamed like 5 hours or so of Skyrim:

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU    Q9650  @ 3.00GHz
CPU Speed: 3006MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580
  Video Adapter Dedicated Video Memory: 1560739840
  Video Adapter Shared System Memory: 2684235776
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1500
    buffer size: 1500
    quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 1685, outputRateWindowTime: 1000, dropThreshold: 2185
Total frames rendered: 580051, number of frames that lagged: 6669 (1.15%) (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: 7.89 ms] [avg calls per frame: 1] [children: 80.1%] [unaccounted: 19.9%]
| scene->Preprocess - [0.114%] [avg time: 0.009 ms] [avg calls per frame: 1]
| video encoding and uploading - [80%] [avg time: 6.314 ms] [avg calls per frame: 1] [children: 64.7%] [unaccounted: 15.4%]
| | CopyResource - [0.558%] [avg time: 0.044 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.36%] [avg time: 0.265 ms] [avg calls per frame: 0]
| | call to encoder - [59.7%] [avg time: 4.714 ms] [avg calls per frame: 0]
| | sending stuff out - [1%] [avg time: 0.079 ms] [avg calls per frame: 0]
==============================================================

I was using the Game Capture mode. Running Skyrim in borderless window. Haven't tried it full screen. I use 2 monitors and prefer to be able to smoothly tab in and out.

There are some pretty obvious differences in the profiling. Your CopyResource time seems a bit high to me. I know DirectX, and I assume that's a DX resource copy so I would expect that to be a lot faster. But... I don't have any idea how video capture software works. Is that difference in time because of the way the software grabs the frame? Or is that because your older GPU is already being pushed to the max by the game and just doesn't have any free time left over? Your CopyResource time is almost 500 times slower.

Scene preprocess is even worse in comparison at more like 4000 times slower.

Anyway, what I'm getting at is our CPUs and setup are similar enough that I doubt those big differences are related just to your CPU. GPU, probably, but a lot would depend on the capture software and the differences in how it does the work. I assume since my log says "graphics capture" and yours doesn't, that we didn't use the same capture mode.

I suppose your CPU could be totally pegged out, but I would think you would notice that in the game. The game performance would be suffering as well.
 
Top