Question / Help In-Game Lag/No Recording Lag

TheHardCroc

New Member
Hey everyone, I figured I should provide minor context before I dive into my issue. I'm new to OBS Studio as a platform, but not recording as a whole. I've spent some time with Dxtory in the past, but have been using Shadowplay for a little over a year now daily. My PC specs are as follows-
  • i5-4690k @3.50GHz
  • EVGA GTX 970 SSC
  • 8GB DDR3 RAM
  • Windows 7 Ultimate 64-Bit
It should also be noted that I'm on the newest version of OBS Studio, OBS 17.0.0, at the time of me posting this. I'm looking to transition to OBS for streaming, but also my recordings. I have two big issues. The "Display Capture" source lags my computer down to a steady 15.00 fps, even if I'm not recording and just have the software sitting open on my second monitor. The second I switch to a "Window Capture" or "Game Capture" scene, I'm perfectly fine on my desktop. There's also no change in CPU or Memory usage according to Task Manager. My second issue is experiencing lag while using the "Window Capture" source. This lag DOES NOT show up on video; however, only on my end while playing the game. This lag feels somewhere between a 10-20 FPS drop. OBS also says it's recording at 60FPS (in the bottom right hand corner). I found this particularly odd, because the exact opposite seems to be fairly common, but I haven't been able to find any information in regards to my issue. Any help would be greatly appreciated, and I'll supply any further info that might be of assistance. My log will be attached below-

Code:
18:46:24.586: CPU Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
18:46:24.586: CPU Speed: 3499MHz
18:46:24.586: Physical Cores: 4, Logical Cores: 4
18:46:24.586: Physical Memory: 8142MB Total, 3026MB Free
18:46:24.586: Windows Version: 6.1 Build 7601 (revision: 19110; 64-bit)
18:46:24.586: Running as administrator: false
18:46:24.586: Aero is Enabled
18:46:24.586: Portable mode: false
18:46:24.597: OBS 17.0.0 (64bit, windows)
18:46:24.597: ---------------------------------
18:46:24.597: ---------------------------------
18:46:24.598: audio settings reset:
18:46:24.598: 	samples per sec: 48000
18:46:24.598: 	speakers:        2
18:46:24.637: ---------------------------------
18:46:24.637: Initializing D3D11..
18:46:24.637: Available Video Adapters: 
18:46:24.640: 	Adapter 1: NVIDIA GeForce GTX 970
18:46:24.640: 	  Dedicated VRAM: 4202364928
18:46:24.640: 	  Shared VRAM:    4000638976
18:46:24.640: 	  output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:46:24.640: 	  output 2: pos={1920, 0}, size={1600, 900}, attached=true
18:46:24.642: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
18:46:25.169: D3D11 loaded sucessfully, feature level used: 45056
18:46:26.093: ---------------------------------
18:46:26.093: video settings reset:
18:46:26.093: 	base resolution:   1920x1080
18:46:26.093: 	output resolution: 1920x1080
18:46:26.093: 	downscale filter:  Lanczos
18:46:26.093: 	fps:               60/1
18:46:26.093: 	format:            NV12
18:46:26.095: ---------------------------------
18:46:26.132: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:46:26.200: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
18:46:26.200: [AMF Encoder] _able to load 'amfrt64.dll', error code 126.
18:46:27.377: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:46:27.410: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:46:27.449: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:46:27.513: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:46:27.513: [browser_source: 'Version: 1.27.0']
18:46:27.659: NVENC supported
18:46:29.292: Couldn't find VLC installation, VLC video source disabled
18:46:29.553: No blackmagic support
18:46:30.114: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
18:46:30.163: ---------------------------------
18:46:30.163:   Loaded Modules:
18:46:30.163:     win-wasapi.dll
18:46:30.163:     win-mf.dll
18:46:30.163:     win-dshow.dll
18:46:30.163:     win-decklink.dll
18:46:30.163:     win-capture.dll
18:46:30.163:     vlc-video.dll
18:46:30.163:     text-freetype2.dll
18:46:30.163:     rtmp-services.dll
18:46:30.163:     obs-x264.dll
18:46:30.163:     obs-transitions.dll
18:46:30.163:     obs-text.dll
18:46:30.163:     obs-qsv11.dll
18:46:30.163:     obs-outputs.dll
18:46:30.163:     obs-filters.dll
18:46:30.163:     obs-ffmpeg.dll
18:46:30.163:     obs-browser.dll
18:46:30.163:     image-source.dll
18:46:30.163:     frontend-tools.dll
18:46:30.163:     enc-amf.dll
18:46:30.163:     coreaudio-encoder.dll
18:46:30.163: ==== Startup complete ===============================================
18:46:30.167: All scene data cleared
18:46:30.167: ------------------------------------------------
18:46:30.207: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
18:46:30.217: WASAPI: Device 'VoiceMeeter Output (VB-Audio VoiceMeeter VAIO)' initialized
18:46:30.265: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
18:46:33.299: Switched to scene 'Recording'
18:46:33.299: ------------------------------------------------
18:46:33.299: Loaded scenes:
18:46:33.299: - scene 'ATL Stream Boiz':
18:46:33.299:     - source: 'Display Capture 1' (monitor_capture)
18:46:33.299: - scene 'Recording':
18:46:33.299:     - source: 'Rocket League' (window_capture)
18:46:33.299:     - source: 'Raft' (game_capture)
18:46:33.299: ------------------------------------------------
18:46:33.518: Update check: last known remote version is 17.0.0
[code]
 

Harold

Active Member
The log doesn't show an actual capture attempt

And you shouldn't use window capture to capture rocket league.
 

TheHardCroc

New Member
The log doesn't show an actual capture attempt

And you shouldn't use window capture to capture rocket league.
Ah, sorry. Was unaware that would be necessary, totally blanked my mind. I'll post a new log with a capture attempt, but what would you recommend recording Rocket League/other games with so I can supply said capture attempt? It doesn't show up in Game Capture, it's stuck as a black screen, and that seems to be a universal issue. It shows up on Display Capture, but with the 15FPS issue, and I've only been able to record it with Window Capture by running it in Windowed Borderless mode. I was under the impression Window Capture was the best, but I could be wrong obviously.
 

Harold

Active Member
For capturing games, game capture is always best and display capture is always worst.

Run obs as admin.
 

TheHardCroc

New Member
Thanks for the feedback :) I ran OBS as admin, and Rocket League showed up in game capture. However, the first time I clicked "Start Recording" OBS froze up and crashed. The second time, it was working for a few seconds but froze up again. Both logs are attached below in order.

Code:
21:40:42.757: CPU Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
21:40:42.757: CPU Speed: 3499MHz
21:40:42.757: Physical Cores: 4, Logical Cores: 4
21:40:42.757: Physical Memory: 8142MB Total, 2229MB Free
21:40:42.757: Windows Version: 6.1 Build 7601 (revision: 19110; 64-bit)
21:40:42.757: Running as administrator: true
21:40:42.757: Aero is Enabled
21:40:42.757: Portable mode: false
21:40:42.768: OBS 17.0.0 (64bit, windows)
21:40:42.768: ---------------------------------
21:40:42.769: ---------------------------------
21:40:42.769: audio settings reset:
21:40:42.769:     samples per sec: 48000
21:40:42.769:     speakers:        2
21:40:42.770: ---------------------------------
21:40:42.770: Initializing D3D11..
21:40:42.770: Available Video Adapters:
21:40:42.772:     Adapter 1: NVIDIA GeForce GTX 970
21:40:42.772:       Dedicated VRAM: 4202364928
21:40:42.772:       Shared VRAM:    4000638976
21:40:42.772:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:40:42.772:       output 2: pos={1920, 0}, size={1600, 900}, attached=true
21:40:42.774: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
21:40:43.216: D3D11 loaded sucessfully, feature level used: 45056
21:40:44.030: ---------------------------------
21:40:44.030: video settings reset:
21:40:44.030:     base resolution:   1920x1080
21:40:44.030:     output resolution: 1920x1080
21:40:44.030:     downscale filter:  Lanczos
21:40:44.030:     fps:               60/1
21:40:44.030:     format:            NV12
21:40:44.031: ---------------------------------
21:40:44.032: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:40:44.033: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
21:40:44.033: [AMF Encoder] Ýable to load 'amfrt64.dll', error code 126.
21:40:44.041: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
21:40:44.041: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
21:40:44.042: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
21:40:44.042: Failed to load 'en-US' text for module: 'obs-browser.dll'
21:40:44.042: [browser_source: 'Version: 1.27.0']
21:40:44.043: NVENC supported
21:40:44.072: Couldn't find VLC installation, VLC video source disabled
21:40:44.083: No blackmagic support
21:40:44.087: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
21:40:44.088: ---------------------------------
21:40:44.088:   Loaded Modules:
21:40:44.088:     win-wasapi.dll
21:40:44.088:     win-mf.dll
21:40:44.088:     win-dshow.dll
21:40:44.088:     win-decklink.dll
21:40:44.088:     win-capture.dll
21:40:44.088:     vlc-video.dll
21:40:44.088:     text-freetype2.dll
21:40:44.088:     rtmp-services.dll
21:40:44.088:     obs-x264.dll
21:40:44.088:     obs-transitions.dll
21:40:44.088:     obs-text.dll
21:40:44.088:     obs-qsv11.dll
21:40:44.088:     obs-outputs.dll
21:40:44.088:     obs-filters.dll
21:40:44.088:     obs-ffmpeg.dll
21:40:44.088:     obs-browser.dll
21:40:44.088:     image-source.dll
21:40:44.088:     frontend-tools.dll
21:40:44.088:     enc-amf.dll
21:40:44.088:     coreaudio-encoder.dll
21:40:44.088: ==== Startup complete ===============================================
21:40:44.090: All scene data cleared
21:40:44.090: ------------------------------------------------
21:40:44.123: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
21:40:44.129: WASAPI: Device 'VoiceMeeter Output (VB-Audio VoiceMeeter VAIO)' initialized
21:40:44.186: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
21:40:46.287: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
21:40:46.686: Switched to scene 'ATL Stream Boiz'
21:40:46.716: ------------------------------------------------
21:40:46.716: Loaded scenes:
21:40:46.716: - scene 'ATL Stream Boiz':
21:40:46.716:     - source: 'Display Capture 1' (monitor_capture)
21:40:46.716: - scene 'Recording':
21:40:46.716:     - source: 'Rocket League' (window_capture)
21:40:46.716:     - source: 'Raft' (game_capture)
21:40:46.716: ------------------------------------------------
21:40:46.934: Update check: last known remote version is 17.0.0
21:40:57.834: User switched to scene 'Recording'
21:41:04.259: User added source 'Game Capture' (game_capture) to scene 'Recording'
21:41:41.173: adding 21 milliseconds of audio buffering, total audio buffering is now 64 milliseconds
21:41:42.869: adding 21 milliseconds of audio buffering, total audio buffering is now 85 milliseconds
21:41:44.131: adding 106 milliseconds of audio buffering, total audio buffering is now 192 milliseconds
21:41:49.183: [game-capture: 'Raft'] attempting to hook fullscreen process: RocketLeague.exe
21:41:49.272: [game-capture: 'Raft'] using helper (compatibility hook)
21:41:49.272: [game-capture: 'Raft'] hook not loaded yet, retrying..
21:41:59.298: [game-capture: 'Game Capture'] attempting to hook fullscreen process: RocketLeague.exe
21:41:59.307: [game-capture: 'Game Capture'] Hooked DXGI
21:41:59.798: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
21:41:59.815: [game-capture: 'Game Capture'] shared texture capture successful
21:42:00.232: [game-capture: 'Raft'] attempting to hook fullscreen process: RocketLeague.exe
21:42:00.233: [game-capture: 'Raft'] Failed to create keepalive window class: 1410
21:42:06.184: ---------------------------------
21:42:06.202: [NVENC encoder: 'recording_h264'] settings:
21:42:06.202:     rate_control: CBR
21:42:06.202:     bitrate:      50000
21:42:06.202:     cqp:          0
21:42:06.202:     keyint:       250
21:42:06.202:     preset:       default
21:42:06.202:     profile:      high
21:42:06.202:     level:        auto
21:42:06.202:     width:        1920
21:42:06.202:     height:       1080
21:42:06.202:     2-pass:       true
21:42:06.202:     b-frames:     2
21:42:06.202:     GPU:          0
21:42:06.202:
21:42:07.071: ---------------------------------
21:42:07.071: [FFmpeg aac encoder: 'Mic'] bitrate: 160, channels: 2
21:42:07.255: ---------------------------------
21:42:07.255: [FFmpeg aac encoder: 'Game Audio'] bitrate: 320, channels: 2
21:42:07.413: ==== Recording Start ===============================================
21:42:07.413: [ffmpeg muxer: 'adv_file_output'] Writing file 'G:/OBS Videos/2017-01-07 21-42-06.mp4'...
[code]
Code:
21:42:25.384: CPU Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
21:42:25.384: CPU Speed: 3499MHz
21:42:25.384: Physical Cores: 4, Logical Cores: 4
21:42:25.385: Physical Memory: 8142MB Total, 3624MB Free
21:42:25.385: Windows Version: 6.1 Build 7601 (revision: 19110; 64-bit)
21:42:25.385: Running as administrator: true
21:42:25.385: Aero is Enabled
21:42:25.385: Portable mode: false
21:42:25.394: OBS 17.0.0 (64bit, windows)
21:42:25.394: ---------------------------------
21:42:25.395: ---------------------------------
21:42:25.395: audio settings reset:
21:42:25.395:     samples per sec: 48000
21:42:25.395:     speakers:        2
21:42:25.395: ---------------------------------
21:42:25.395: Initializing D3D11..
21:42:25.395: Available Video Adapters:
21:42:25.397:     Adapter 1: NVIDIA GeForce GTX 970
21:42:25.397:       Dedicated VRAM: 4202364928
21:42:25.397:       Shared VRAM:    4000638976
21:42:25.397:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:42:25.397:       output 2: pos={1920, 0}, size={1600, 900}, attached=true
21:42:25.399: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
21:42:25.832: D3D11 loaded sucessfully, feature level used: 45056
21:42:26.633: ---------------------------------
21:42:26.633: video settings reset:
21:42:26.633:     base resolution:   1920x1080
21:42:26.633:     output resolution: 1920x1080
21:42:26.633:     downscale filter:  Lanczos
21:42:26.633:     fps:               60/1
21:42:26.633:     format:            NV12
21:42:26.634: ---------------------------------
21:42:26.635: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:42:26.636: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
21:42:26.636: [AMF Encoder] Ýable to load 'amfrt64.dll', error code 126.
21:42:26.644: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
21:42:26.644: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
21:42:26.645: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
21:42:26.645: Failed to load 'en-US' text for module: 'obs-browser.dll'
21:42:26.645: [browser_source: 'Version: 1.27.0']
21:42:26.646: NVENC supported
21:42:26.683: Couldn't find VLC installation, VLC video source disabled
21:42:26.691: No blackmagic support
21:42:26.693: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
21:42:26.694: ---------------------------------
21:42:26.694:   Loaded Modules:
21:42:26.694:     win-wasapi.dll
21:42:26.694:     win-mf.dll
21:42:26.694:     win-dshow.dll
21:42:26.694:     win-decklink.dll
21:42:26.694:     win-capture.dll
21:42:26.694:     vlc-video.dll
21:42:26.694:     text-freetype2.dll
21:42:26.694:     rtmp-services.dll
21:42:26.694:     obs-x264.dll
21:42:26.694:     obs-transitions.dll
21:42:26.694:     obs-text.dll
21:42:26.694:     obs-qsv11.dll
21:42:26.694:     obs-outputs.dll
21:42:26.694:     obs-filters.dll
21:42:26.694:     obs-ffmpeg.dll
21:42:26.694:     obs-browser.dll
21:42:26.694:     image-source.dll
21:42:26.694:     frontend-tools.dll
21:42:26.694:     enc-amf.dll
21:42:26.694:     coreaudio-encoder.dll
21:42:26.694: ==== Startup complete ===============================================
21:42:26.696: All scene data cleared
21:42:26.696: ------------------------------------------------
21:42:26.717: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
21:42:26.724: WASAPI: Device 'VoiceMeeter Output (VB-Audio VoiceMeeter VAIO)' initialized
21:42:26.776: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
21:42:29.260: Switched to scene 'Recording'
21:42:29.260: ------------------------------------------------
21:42:29.260: Loaded scenes:
21:42:29.260: - scene 'ATL Stream Boiz':
21:42:29.260:     - source: 'Display Capture 1' (monitor_capture)
21:42:29.260: - scene 'Recording':
21:42:29.260:     - source: 'Rocket League' (window_capture)
21:42:29.260:     - source: 'Raft' (game_capture)
21:42:29.261:     - source: 'Game Capture' (game_capture)
21:42:29.261: ------------------------------------------------
21:42:29.497: Update check: last known remote version is 17.0.0
21:42:38.630: ---------------------------------
21:42:38.630: [NVENC encoder: 'recording_h264'] settings:
21:42:38.630:     rate_control: CBR
21:42:38.630:     bitrate:      50000
21:42:38.630:     cqp:          0
21:42:38.630:     keyint:       250
21:42:38.630:     preset:       default
21:42:38.630:     profile:      high
21:42:38.630:     level:        auto
21:42:38.630:     width:        1920
21:42:38.630:     height:       1080
21:42:38.630:     2-pass:       true
21:42:38.630:     b-frames:     2
21:42:38.630:     GPU:          0
21:42:38.630:
21:42:38.840: ---------------------------------
21:42:38.840: [FFmpeg aac encoder: 'Mic'] bitrate: 160, channels: 2
21:42:38.841: ---------------------------------
21:42:38.841: [FFmpeg aac encoder: 'Game Audio'] bitrate: 320, channels: 2
21:42:38.844: ==== Recording Start ===============================================
21:42:38.844: [ffmpeg muxer: 'adv_file_output'] Writing file 'G:/OBS Videos/2017-01-07 21-42-38.mp4'...
21:42:41.490: [game-capture: 'Raft'] attempting to hook fullscreen process: RocketLeague.exe
21:42:41.492: [game-capture: 'Game Capture'] attempting to hook fullscreen process: RocketLeague.exe
21:42:41.536: [game-capture: 'Game Capture'] Failed to create keepalive window class: 1410
21:42:41.998: [game-capture: 'Raft'] d3d9 shared texture capture successful
[code]
 

Harold

Active Member
Don't have multiple game captures trying to capture the same game at the same time, even in different scenes.
Saving directly to mp4 is not recommended.

For what you're doing you're better off using simple output mode, indistinguishable recording quality, hardware nvenc recording encoder and flv recording format.
 

TheHardCroc

New Member
Thanks for the continued help. I'm assuming stopping other captures is as easy as hitting the little "eye" symbol to turn them off? Or I suppose it'd be easier to just delete them all together. Also, I've found the hardware nvenc recording encoder and flv recording format settings, but I can't find the simple output mode or indistinguishable recording quality settings. Could you point me towards those please?
 

Harold

Active Member
easier to delete them.

Simple output mode is at the top of settings - output.
The rest is obvious from there.
 

TheHardCroc

New Member
Is it absolutely necessary to use flv recording format and simple output mode? FLV recording format is an issue in itself as it only supports one audio track, thus making it impossible for me to stream with a microphone and game audio to my understanding, plus I'd have to convert all flv files to mp4 before I can edit them. Simple output mode just really limits my further customization with the resulting lack of an audio tab.
 

Harold

Active Member
IT's not absolutely necessary, but it's stupid to save directly to mp4, as ANY interruption that prevents the file from finalizing will ruin the entire recording. Save to MKV if you need multiple audio tracks and use file -> remux recordings to convert to mp4 if your editing software doesn't support mkv.

Use CQP based bitrate selection rather than a fixed bitrate for recording.
 
Top