Question / Help Videos Lagging Yet Have Good Computer

RandomHi

New Member
Hi,

My videos are having lag spikes when I raise the bitrate, yet my computer should be able to handle it. At 1000, I have no problem, but once I go to 4000-12000, I get lag spikes in the videos I have recorded (more noticeable as the bitrate increases). Help would be greatly appreciated!

And, yes, I understand that the lag spikes would go away if I downscaled my resolution or fps, or decreased my bitrate, but I don't want to unless its necessary and I'm pretty sure my computer should be able to record at these settings.

CPU: i7-4770k @ 3.50 Ghz
GPU: AMD Radeon HD 7870, Overclocked
RAM: 16 GB
Hard Drive: Western Digital AV-GP WD20EVDS 2TB

09976dd0f8da2a57f86d7762a14f8c03.png

1c1f1defac1af93a07753a65cc24acd9.png

Log:
Last game capture log:
2015-12-21, 13:16:40: we're booting up:
13:16:40: CaptureThread: attached to process League of Legends.exe
13:16:40: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
13:16:40: D3D9 Present
13:16:40: D3D9EndScene called
13:16:40: D3DPRESENT_PARAMETERS {
13:16:40: BackBufferWidth: 1920
13:16:40: BackBufferHeight: 1080
13:16:40: BackBufferFormat: D3DFMT_X8R8G8B8
13:16:40: BackBufferCount: 1
13:16:40: MultiSampleType: D3DMULTISAMPLE_NONE
13:16:40: MultiSampleQuality: 0
13:16:40: SwapEffect: D3DSWAPEFFECT_DISCARD
13:16:40: hDeviceWindow: 788858
13:16:40: Windowed: true
13:16:40: EnableAutoDepthStencil: false
13:16:40: AutoDepthStencilFormat: D3DFMT_D24S8
13:16:40: Flags: None
13:16:40: FullScreen_RefreshRateInHz: 0
13:16:40: PresentationInterval: 2147483648
13:16:40: };
13:16:40: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
13:16:40: successfully set up d3d9 hooks
13:16:40: D3D9Present called
13:16:40: WARNING: Another hook is already present while trying to hook dxgi.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
13:16:40: DXGI Present
13:16:40: WARNING: Another hook is already present while trying to hook opengl32.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
13:16:40: GL Present
13:16:40: DirectDraw Present
13:16:40: (half life scientist) everything.. seems to be in order
13:16:40: DoD3D9GPUHook: success
13:16:40: D3DSURFACE_DESC {
13:16:40: Format: D3DFMT_X8R8G8B8
13:16:40: Type: D3DRTYPE_SURFACE
13:16:40: Usage: D3DUSAGE_RENDERTARGET
13:16:40: Pool: D3DPOOL_DEFAULT
13:16:40: MultiSampleType: D3DMULTISAMPLE_NONE
13:16:40: MultiSampleQuality: 0
13:16:40: Width: 1920
13:16:40: Height: 1080
13:16:40: };
13:16:40: successfully capturing d3d9 frames via GPU
13:17:05: ---------------------- Cleared D3D9 Capture ----------------------
13:17:05: D3D9EndScene called
13:17:05: D3D9Present called
13:17:24: received restart event, capturing
13:17:24: DoD3D9GPUHook: success
13:17:24: D3DSURFACE_DESC {
13:17:24: Format: D3DFMT_X8R8G8B8
13:17:24: Type: D3DRTYPE_SURFACE
13:17:24: Usage: D3DUSAGE_RENDERTARGET
13:17:24: Pool: D3DPOOL_DEFAULT
13:17:24: MultiSampleType: D3DMULTISAMPLE_NONE
13:17:24: MultiSampleQuality: 0
13:17:24: Width: 1920
13:17:24: Height: 1080
13:17:24: };
13:17:24: successfully capturing d3d9 frames via GPU
13:18:36: ---------------------- Cleared D3D9 Capture ----------------------
13:18:36: D3D9EndScene called
13:18:36: D3D9Present called
 

RandomHi

New Member
The log is incomplete and doesn't contain the part that is useful.

If you're recording, follow https://obsproject.com/forum/threads/how-to-make-high-quality-local-recordings.12600/

Sorry about that.

Here is the full log:

15:05:11: Open Broadcaster Software v0.657b - 64bit ( ^ω^)
15:05:11: -------------------------------
15:05:11: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
15:05:11: CPU Speed: 3499MHz
15:05:11: Physical Memory: 16314MB Total, 10956MB Free
15:05:11: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:05:11: monitor 1: pos={0, 0}, size={1920, 1080}
15:05:11: Windows Version: 6.1 Build 7601 (revision 18229)
15:05:11: Aero is Disabled
15:05:11: -------------------------------
15:05:11: OBS Modules:
15:05:11: Base Address Module
15:05:11: 000000003FD40000 OBS.exe
15:05:11: 00000000F4BD0000 OBSApi.dll
15:05:11: 00000000F4B80000 DShowPlugin.dll
15:05:11: 00000000F4A20000 GraphicsCapture.dll
15:05:11: 00000000F4B20000 NoiseGate.dll
15:05:11: 00000000F4830000 PSVPlugin.dll
15:05:11: 00000000F4800000 scenesw.dll
15:05:11: ------------------------------------------
15:05:11: Adapter 1
15:05:11: Video Adapter: AMD Radeon HD 7800 Series
15:05:11: Video Adapter Dedicated Video Memory: 2115178496
15:05:11: Video Adapter Shared System Memory: 3990163456
15:05:11: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:05:11: =====Stream Start: 2015-12-21, 15:05:11===============================================
15:05:11: Multithreaded optimizations: On
15:05:11: Base resolution: 1920x1080
15:05:11: Output resolution: 1920x1080
15:05:11: ------------------------------------------
15:05:11: Loading up D3D10 on AMD Radeon HD 7800 Series (Adapter 1)...
15:05:11: ------------------------------------------
15:05:11: Audio Format: 48000 Hz
15:05:11: ------------------------------------------
15:05:11: Audio Channels: 2 Ch
15:05:11: Playback device {0.0.0.00000000}.{9f1b534c-0470-4382-914b-a84027d6d7c9}
15:05:11: ------------------------------------------
15:05:11: Using desktop audio input: Speakers (3- Logitech G930 Headset)
15:05:11: Global Audio time adjust: 0
15:05:11: Using 7.1 surround speaker setup
15:05:11: ------------------------------------------
15:05:11: Audio Encoding: AAC
15:05:11: bitrate: 128
15:05:11: Using graphics capture
15:05:11: Trying to hook process: League of Legends.exe
15:05:11: Scene buffering time set to 700
15:05:11: ------------------------------------------
15:05:11: Video Encoding: x264
15:05:11: fps: 60
15:05:11: width: 1920, height: 1080
15:05:11: preset: veryfast
15:05:11: profile: high
15:05:11: keyint: 250
15:05:11: CBR: yes
15:05:11: CFR: yes
15:05:11: max bitrate: 6000
15:05:11: buffer size: 6000
15:05:11: ------------------------------------------
15:05:11: SharedTexCapture hooked
15:06:47: FlushBufferedVideo: Flushing 21 packets over 333 ms
15:06:47: Total frames encoded: 5725, total frames duplicated: 0 (0.00%)
15:06:47: Total frames rendered: 5753, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:06:48:
15:06:48: Profiler time results:
15:06:48:
15:06:48: ==============================================================
15:06:48: video thread frame - [100%] [avg time: 0.499 ms] [children: 33.3%] [unaccounted: 66.7%]
15:06:48: | scene->Preprocess - [0.2%] [avg time: 0.001 ms]
15:06:48: | GPU download and conversion - [33.1%] [avg time: 0.165 ms] [children: 31.1%] [unaccounted: 2%]
15:06:48: | | flush - [29.3%] [avg time: 0.146 ms]
15:06:48: | | CopyResource - [1.4%] [avg time: 0.007 ms]
15:06:48: | | conversion to 4:2:0 - [0.401%] [avg time: 0.002 ms]
15:06:48: Convert444Threads - [100%] [avg time: 0.99 ms] [children: 99.6%] [unaccounted: 0.404%]
15:06:48: | Convert444toNV12 - [99.6%] [avg time: 0.986 ms]
15:06:48: encoder thread frame - [100%] [avg time: 1.658 ms] [children: 0.965%] [unaccounted: 99%]
15:06:48: | sending stuff out - [0.965%] [avg time: 0.016 ms]
15:06:48: ==============================================================
15:06:48:
15:06:48:
15:06:48: Profiler CPU results:
15:06:48:
15:06:48: ==============================================================
15:06:48: video thread frame - [cpu time: avg 0.01 ms, total 62.4 ms] [avg calls per frame: 1]
15:06:48: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:06:48: | GPU download and conversion - [cpu time: avg 0.01 ms, total 62.4 ms] [avg calls per frame: 1]
15:06:48: | | flush - [cpu time: avg 0.01 ms, total 62.4 ms] [avg calls per frame: 1]
15:06:48: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:06:48: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:06:48: Convert444Threads - [cpu time: avg 0.984 ms, total 11232.1 ms] [avg calls per frame: 2]
15:06:48: | Convert444toNV12 - [cpu time: avg 0.984 ms, total 11232.1 ms] [avg calls per frame: 2]
15:06:48: encoder thread frame - [cpu time: avg 1.047 ms, total 5974.84 ms] [avg calls per frame: 1]
15:06:48: | sending stuff out - [cpu time: avg 0.01 ms, total 62.4 ms] [avg calls per frame: 1]
15:06:48: ==============================================================
15:06:48:
15:06:48: =====Stream End: 2015-12-21, 15:06:48=================================================
Last Game Capture Log:
2015-12-21, 14:55:50: we're booting up:
14:55:50: CaptureThread: attached to process League of Legends.exe
14:55:50: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
14:55:50: D3D9 Present
14:55:50: D3D9EndScene called
14:55:50: D3DPRESENT_PARAMETERS {
14:55:50: BackBufferWidth: 1920
14:55:50: BackBufferHeight: 1080
14:55:50: BackBufferFormat: D3DFMT_X8R8G8B8
14:55:50: BackBufferCount: 1
14:55:50: MultiSampleType: D3DMULTISAMPLE_NONE
14:55:50: MultiSampleQuality: 0
14:55:50: SwapEffect: D3DSWAPEFFECT_DISCARD
14:55:50: hDeviceWindow: 3737496
14:55:50: Windowed: true
14:55:50: EnableAutoDepthStencil: false
14:55:50: AutoDepthStencilFormat: D3DFMT_D24S8
14:55:50: Flags: None
14:55:50: FullScreen_RefreshRateInHz: 0
14:55:50: PresentationInterval: 2147483648
14:55:50: };
14:55:50: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
14:55:50: successfully set up d3d9 hooks
14:55:50: D3D9Present called
14:55:50: WARNING: Another hook is already present while trying to hook dxgi.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
14:55:50: DXGI Present
14:55:50: WARNING: Another hook is already present while trying to hook opengl32.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
14:55:50: GL Present
14:55:50: DirectDraw Present
14:55:50: (half life scientist) everything.. seems to be in order
14:55:50: DoD3D9GPUHook: success
14:55:50: D3DSURFACE_DESC {
14:55:50: Format: D3DFMT_X8R8G8B8
14:55:50: Type: D3DRTYPE_SURFACE
14:55:50: Usage: D3DUSAGE_RENDERTARGET
14:55:50: Pool: D3DPOOL_DEFAULT
14:55:50: MultiSampleType: D3DMULTISAMPLE_NONE
14:55:50: MultiSampleQuality: 0
14:55:50: Width: 1920
14:55:50: Height: 1080
14:55:50: };
14:55:50: successfully capturing d3d9 frames via GPU
14:56:19: ---------------------- Cleared D3D9 Capture ----------------------
14:56:19: D3D9EndScene called
14:56:19: D3D9Present called
14:57:02: received restart event, capturing
14:57:02: DoD3D9GPUHook: success
14:57:02: D3DSURFACE_DESC {
14:57:02: Format: D3DFMT_X8R8G8B8
14:57:02: Type: D3DRTYPE_SURFACE
14:57:02: Usage: D3DUSAGE_RENDERTARGET
14:57:02: Pool: D3DPOOL_DEFAULT
14:57:02: MultiSampleType: D3DMULTISAMPLE_NONE
14:57:02: MultiSampleQuality: 0
14:57:02: Width: 1920
14:57:02: Height: 1080
14:57:02: };
14:57:02: successfully capturing d3d9 frames via GPU
14:57:54: ---------------------- Cleared D3D9 Capture ----------------------
14:57:54: D3D9EndScene called
14:57:54: D3D9Present called
14:58:41: received restart event, capturing
14:58:41: DoD3D9GPUHook: success
14:58:42: D3DSURFACE_DESC {
14:58:42: Format: D3DFMT_X8R8G8B8
14:58:42: Type: D3DRTYPE_SURFACE
14:58:42: Usage: D3DUSAGE_RENDERTARGET
14:58:42: Pool: D3DPOOL_DEFAULT
14:58:42: MultiSampleType: D3DMULTISAMPLE_NONE
14:58:42: MultiSampleQuality: 0
14:58:42: Width: 1920
14:58:42: Height: 1080
14:58:42: };
14:58:42: successfully capturing d3d9 frames via GPU
14:59:44: ---------------------- Cleared D3D9 Capture ----------------------
14:59:44: D3D9EndScene called
14:59:44: D3D9Present called
15:05:05: D3D9Reset called
15:05:05: ---------------------- Cleared D3D9 Capture ----------------------
15:05:05: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
15:05:05: successfully set up d3d9 hooks
15:05:05: D3D9EndScene called
15:05:05: D3D9Present called
15:05:11: received restart event, capturing
15:05:11: DoD3D9GPUHook: success
15:05:11: D3DSURFACE_DESC {
15:05:11: Format: D3DFMT_X8R8G8B8
15:05:11: Type: D3DRTYPE_SURFACE
15:05:11: Usage: D3DUSAGE_RENDERTARGET
15:05:11: Pool: D3DPOOL_DEFAULT
15:05:11: MultiSampleType: D3DMULTISAMPLE_NONE
15:05:11: MultiSampleQuality: 0
15:05:11: Width: 1920
15:05:11: Height: 1080
15:05:11: };
15:05:11: successfully capturing d3d9 frames via GPU
15:06:48: ---------------------- Cleared D3D9 Capture ----------------------
15:06:48: D3D9EndScene called
15:06:48: D3D9Present called


Here is a video of what was happening during the log:
 

RandomHi

New Member
Oh wow I just played the video and it seems that the video player I was using was simply unable to play the file smoothly. My bad!
 
Top