For recording NVENC, you should use CQP instead of CBR. See
this guide for details.
Encoding lag is just that - the encoder cannot keep up with the task at hand. Since you're using NVENC, it makes sense that only video would be affected. I'm pretty sure that NVENC only encodes your video data, and your audio data is still handled by your CPU.
I tried those settings and I still have my video skipping.
- Rate Control: CQP
- CQP: 18
- Preset: High-Quality
- Profile: high
21:48:32.613: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
21:48:32.613: CPU Speed: 3998MHz
21:48:32.613: Physical Cores: 4, Logical Cores: 8
21:48:32.613: Physical Memory: 16326MB Total, 8832MB Free
21:48:32.613: Windows Version: 10.0 Build 10586 (revision: 589)
21:48:32.613: Running as administrator: false
21:48:32.614: Aero is Enabled (Aero is always on for windows 8 and above)
21:48:32.621: OBS 0.15.4 (64bit, windows)
21:48:32.621: ---------------------------------
21:48:32.622: ---------------------------------
21:48:32.622: audio settings reset:
21:48:32.622: samples per sec: 48000
21:48:32.622: speakers: 2
21:48:32.673: ---------------------------------
21:48:32.673: Initializing D3D11..
21:48:32.673: Available Video Adapters:
21:48:32.674: Adapter 1: NVIDIA GeForce GTX 780 Ti
21:48:32.674: Dedicated VRAM: 3186294784
21:48:32.674: Shared VRAM: 4265025536
21:48:32.674: output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:48:32.676: Loading up D3D11 on adapter NVIDIA GeForce GTX 780 Ti (0)
21:48:33.084: D3D11 loaded sucessfully, feature level used: 45056
21:48:33.481: ---------------------------------
21:48:33.481: video settings reset:
21:48:33.481: base resolution: 1920x1080
21:48:33.481: output resolution: 1920x1080
21:48:33.481: fps: 60/1
21:48:33.481: format: NV12
21:48:33.482: ---------------------------------
21:48:33.537: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:48:36.308: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
21:48:36.333: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
21:48:36.463: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
21:48:36.544: Failed to load 'en-US' text for module: 'obs-browser.dll'
21:48:36.621: NVENC supported
21:48:37.475: Couldn't find VLC installation, VLC video source disabled
21:48:39.809: No blackmagic support
21:48:40.088: ---------------------------------
21:48:40.088: Loaded Modules:
21:48:40.088: win-wasapi.dll
21:48:40.088: win-mf.dll
21:48:40.088: win-dshow.dll
21:48:40.088: win-decklink.dll
21:48:40.088: win-capture.dll
21:48:40.088: vlc-video.dll
21:48:40.088: text-freetype2.dll
21:48:40.088: rtmp-services.dll
21:48:40.088: obs-x264.dll
21:48:40.088: obs-transitions.dll
21:48:40.088: obs-qsv11.dll
21:48:40.088: obs-outputs.dll
21:48:40.088: obs-filters.dll
21:48:40.088: obs-ffmpeg.dll
21:48:40.088: obs-browser.dll
21:48:40.088: image-source.dll
21:48:40.088: coreaudio-encoder.dll
21:48:40.088: ==== Startup complete ===============================================
21:48:40.096: All scene data cleared
21:48:40.096: ------------------------------------------------
21:48:40.118: WASAPI: Device 'Headphones (3- AT2020USB+)' initialized
21:48:40.121: WASAPI: Device 'Microphone (3- AT2020USB+)' initialized
21:48:40.123: Switched to scene 'Scene'
21:48:40.123: ------------------------------------------------
21:48:40.123: Loaded scenes:
21:48:40.123: - scene 'Scene':
21:48:40.123: - source: 'Game Capture' (game_capture)
21:48:40.123: ------------------------------------------------
21:48:40.132: [game-capture: 'Game Capture'] attempting to hook process: Warframe.x64.exe
21:48:40.156: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
21:48:40.200: [game-capture: 'Game Capture'] using helper (compatibility hook)
21:48:40.262: Update check: last known remote version is 0.15.4
21:48:40.628: [game-capture: 'Game Capture'] Hooked to process: Warframe.x64.exe
21:48:40.628: [game-capture: 'Game Capture'] (half life scientist) everything.. seems to be in order
21:48:40.634: [game-capture: 'Game Capture'] Hooked DXGI
21:48:44.265: [game-capture: 'Game Capture'] attempting to hook process: Warframe.x64.exe
21:48:46.047: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
22:09:51.772: Settings changed (outputs)
22:09:51.772: ------------------------------------------------
22:09:57.661: Settings changed (outputs)
22:09:57.661: ------------------------------------------------
22:11:14.193: Settings changed (outputs)
22:11:14.193: ------------------------------------------------
22:11:20.936: Settings changed (outputs)
22:11:20.936: ------------------------------------------------
22:11:44.596: adding 21 milliseconds of audio buffering, total audio buffering is now 64 milliseconds
22:11:44.668: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
22:12:04.301: adding 21 milliseconds of audio buffering, total audio buffering is now 85 milliseconds
22:12:23.687: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
22:12:23.766: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
22:12:25.741: ---------------------------------
22:12:25.742: [NVENC encoder: 'recording_h264'] settings:
22:12:25.742: rate_control: CQP
22:12:25.742: bitrate: 0
22:12:25.742: cqp: 18
22:12:25.742: keyint: 250
22:12:25.742: preset: hq
22:12:25.742: profile: high
22:12:25.742: level: auto
22:12:25.742: width: 1920
22:12:25.742: height: 1080
22:12:25.742: 2-pass: false
22:12:25.742: GPU: 0
22:12:25.742:
22:12:26.242: [Media Foundation AAC: 'Track1']: encoder created
22:12:26.242: bitrate: 160
22:12:26.242: channels: 2
22:12:26.242: sample rate: 48000
22:12:26.242: bits-per-sample: 16
22:12:26.242:
22:12:26.243: [Media Foundation AAC: 'Track2']: encoder created
22:12:26.243: bitrate: 160
22:12:26.243: channels: 2
22:12:26.243: sample rate: 48000
22:12:26.243: bits-per-sample: 16
22:12:26.243:
22:12:26.277: ==== Recording Start ===============================================
22:12:26.277: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/Recording/2016-09-21 22-12-25.mp4'...
22:21:28.682: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Recording/2016-09-21 22-12-25.mp4' stopped
22:21:28.682: Output 'adv_file_output': stopping
22:21:28.682: Output 'adv_file_output': Total encoded frames: 32533
22:21:28.682: Output 'adv_file_output': Total drawn frames: 32545
22:21:28.682: Output 'adv_file_output': Number of skipped frames due to encoding lag: 22138 (68.0%)
22:21:28.682: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 2 (0.0%)
22:21:28.687: ==== Recording Stop ================================================