Question / Help Suggestings for recording?

colonel_j2020

New Member
I know this software is designed for streaming and I plan to do that in the near future when I can afford a new desk and a second monitor however I am curious about just recording gameplay right now. I tried with a single monitor and streaming works extremely well compared to xsplit, I just can't see the OBS window at all. It seems that when recording my CPU usage is very close to maxed out or is maxed out which would make sense why it would drop frames(95-100%). Without OBS running my CPU usage is around 45-60% in the game I am playing right now. There is also a little bit of FPS loss in game but isn't nearly as bad as the recorded video. I can't show the video of course since its local but you can see the dropped frames is very high. Is there anything I can do for local recording?


Code:
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Total frames rendered: 4913, number of frames that lagged: 1305 (26.56%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Total frames rendered: 3691, number of frames that lagged: 954 (25.85%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 24.324 ms] [avg calls per frame: 1] [children: 82.7%] [unaccounted: 17.3%]
| scene->Preprocess - [0.127%] [avg time: 0.031 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.6%] [avg time: 20.082 ms] [avg calls per frame: 1] [children: 70.8%] [unaccounted: 11.8%]
| | CopyResource - [0.226%] [avg time: 0.055 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.382%] [avg time: 0.093 ms] [avg calls per frame: 0]
| | call to encoder - [70.1%] [avg time: 17.045 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0863%] [avg time: 0.021 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Repost as a full log file if possible. The issue here is probably the fact that you're trying to encode 1080p. According to the log, it spends almost all its time in the encoder.
 

colonel_j2020

New Member
Here is the full log file. I cut off the first part because those were my stream settings. I quickly stopped and changed settings since I was trying to record instead of stream. I assume the encoding at 1080p is too much to handle since my cpu is basically maxed out. I haven't tried streaming at 1080p though to compare streaming versus local recording.

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
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 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 470
  Video Adapter Dedicated Video Memory: 1293352960
  Video Adapter Shared System Memory: 2952937472
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Microsoft® LifeCam HD-3000,
    device id (null),
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1800
    buffer size: 1800
    quality: 8
------------------------------------------
Total frames rendered: 3040, number of frames that lagged: 10 (0.33%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Microsoft® LifeCam HD-3000,
    device id (null),
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Total frames rendered: 247, number of frames that lagged: 46 (18.62%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Total frames rendered: 4913, number of frames that lagged: 1305 (26.56%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Total frames rendered: 3691, number of frames that lagged: 954 (25.85%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 24.324 ms] [avg calls per frame: 1] [children: 82.7%] [unaccounted: 17.3%]
| scene->Preprocess - [0.127%] [avg time: 0.031 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.6%] [avg time: 20.082 ms] [avg calls per frame: 1] [children: 70.8%] [unaccounted: 11.8%]
| | CopyResource - [0.226%] [avg time: 0.055 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.382%] [avg time: 0.093 ms] [avg calls per frame: 0]
| | call to encoder - [70.1%] [avg time: 17.045 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0863%] [avg time: 0.021 ms] [avg calls per frame: 0]
==============================================================
 

colonel_j2020

New Member
Without recording I get a full 60 fps with no hiccups. When recording I do get some frame drop in game when my cpu hits 100% but its not nearly as significant as the frame drops in the recording. The frame drops in recording are more so losing a couple seconds of video frames completely not a consistent or regulated loss of frames.
 

hilalpro

Member
you should probably overclock your cpu,. you don't really want to lower the preset or frame rate..

since you're using game capture i would suggest doing the following, go to nvidia control panel make sure the gpu is set as a physx processor go to 3d settings of the game (on nvidia control panel) and under maximum pre rounded frames make sure it's 4 frames to shrink the possibility of congestion. now you can set obs.exe on task manager to a high priority and also on obs advanced settings.

this will make it that the fps ingame are lower but it would really minimize the frame lags on obs and if the game stutter it shouldn't show on the video file..
 

colonel_j2020

New Member
I have another log below showing streaming at 720p, recording at 1080p, and recording at 720p. I figured out my problem for the recorded video. The software I was using to watch the recorded video was not working with those recorded videos for some reason. I tried another software and it plays the videos better. There still are a few slowdowns with 1080p recording but with some overclocking I may be able to fix that. I will be content to record at 720p for now and will try some overclocking over the holidays to see if I can get myself recording at 1080p. Thanks for the help everyone.

If anyone is interested here is a copy of the 720p recording uploaded to youtube.

http://www.youtube.com/watch?v=k__h91jz ... e=youtu.be


Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
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 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 470
Video Adapter Dedicated Video Memory: 1293352960
Video Adapter Shared System Memory: 2952937472

Streaming 720p
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 1800
buffer size: 1800
quality: 8
------------------------------------------
bufferTime: 1403, outputRateWindowTime: 1000, dropThreshold: 1903
Total frames rendered: 7215, number of frames that lagged: 41 (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=======================================================================
Recording 1080p
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 8
------------------------------------------
Total frames rendered: 3246, number of frames that lagged: 444 (13.68%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 10.557 ms] [avg calls per frame: 1] [children: 87.4%] [unaccounted: 12.6%]
| scene->Preprocess - [0.114%] [avg time: 0.012 ms] [avg calls per frame: 1]
| video encoding and uploading - [87.3%] [avg time: 9.214 ms] [avg calls per frame: 1] [children: 57.1%] [unaccounted: 30.2%]
| | CopyResource - [0.691%] [avg time: 0.073 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.79%] [avg time: 0.189 ms] [avg calls per frame: 0]
| | call to encoder - [54.2%] [avg time: 5.726 ms] [avg calls per frame: 0]
| | sending stuff out - [0.36%] [avg time: 0.038 ms] [avg calls per frame: 0]
==============================================================

Recording 720p
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 1800
buffer size: 1800
quality: 8
------------------------------------------
Total frames rendered: 9649, number of frames that lagged: 29 (0.30%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 6.448 ms] [avg calls per frame: 1] [children: 84.2%] [unaccounted: 15.8%]
| scene->Preprocess - [0.124%] [avg time: 0.008 ms] [avg calls per frame: 1]
| video encoding and uploading - [84.1%] [avg time: 5.423 ms] [avg calls per frame: 1] [children: 43.1%] [unaccounted: 41%]
| | CopyResource - [0.589%] [avg time: 0.038 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [2.95%] [avg time: 0.19 ms] [avg calls per frame: 0]
| | call to encoder - [39.2%] [avg time: 2.529 ms] [avg calls per frame: 0]
| | sending stuff out - [0.326%] [avg time: 0.021 ms] [avg calls per frame: 0]
==============================================================
 

Krazy

Town drunk
I can guarantee that you will have better performance with 720p. 1080p is pretty intensive, even on high end rigs
 
Top