Question / Help Choppy FPS in recordings (NVENC), however smooth in Shadowplay

Oneyedrunk

New Member
Hello
I've tried so many different settings but the result is always the same.
I'm trying to record BF4 footage, in game its smooth 100~ FPS. FPS Loss: With Shadowplay I'm losing about 5 FPS, with OBS about 10 FPS. I don't care either way because I'm still going over 80 FPS at all times.
With Shadowplay the footage is smooth but with OBS there's is some choppiness. My best description is that the result looks like the game was running at 45-60 FPS while recording.

I'm using the NVENC Encoder in OBS, 1920x1200 with no scaling. Using a 6600K with a GTX970 and 16GB RAM.
I have tried CBR with 50k bitrate and all the way down to 30k bitrate. Also tried VBR with the same bitrate and even tried CQP with values of 16-18-20. Preset- I tried Default or High Quality. Profile- I tried High or Main. Two pass encoding- I tried with and without. B-Frames- I tried 0, 2, 3 and 4.
Also in Video options, 60 FPS and Lanczos, however I tried 59.94 FPS and Bilinear\Bicubic but to no avail.

Checking the logs of my recordings, looks like there are "lagged frames due to rendering lag/stalls" ranging from 0.3% and up to 5%. Is this the cause, that I'm losing frames? If so, what is the reason? The thing is, I'm not always losing frames in high GPU\CPU stress conditions, the choppiness even occurs while just running in empty areas.

What baffles me is that using Shadowplay the result is silky smooth, using the same Encoder. I've dropped down and played around with all of the settings, I thought that I would find an option to lose some quality but gain the smooth output that I'm looking for but it didn't happen.

I would appreciate help in this matter.
Thanks in advance,
Daniel.
 

Oneyedrunk

New Member
23:52:27.172: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
23:52:27.173: CPU Speed: 3504MHz
23:52:27.173: Physical Cores: 4, Logical Cores: 4
23:52:27.173: Physical Memory: 16308MB Total, 11441MB Free
23:52:27.173: Windows Version: 10.0 Build 14393 (revision: 222; 64-bit)
23:52:27.173: Running as administrator: false
23:52:27.173: Aero is Enabled (Aero is always on for windows 8 and above)
23:52:27.181: OBS 0.16.2 (64bit, windows)
23:52:27.181: ---------------------------------
23:52:27.181: ---------------------------------
23:52:27.181: audio settings reset:
23:52:27.181: samples per sec: 44100
23:52:27.181: speakers: 2
23:52:27.182: ---------------------------------
23:52:27.182: Initializing D3D11..
23:52:27.182: Available Video Adapters:
23:52:27.184: Adapter 1: NVIDIA GeForce GTX 970
23:52:27.184: Dedicated VRAM: 4256104448
23:52:27.184: Shared VRAM: 4255453184
23:52:27.184: output 1: pos={0, 0}, size={1920, 1200}, attached=true
23:52:27.185: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
23:52:27.207: D3D11 loaded sucessfully, feature level used: 45056
23:52:27.587: ---------------------------------
23:52:27.587: video settings reset:
23:52:27.587: base resolution: 1920x1200
23:52:27.587: output resolution: 1920x1200
23:52:27.587: downscale filter: Lanczos
23:52:27.587: fps: 60/1
23:52:27.587: format: NV12
23:52:27.589: ---------------------------------
23:52:27.590: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
23:52:27.591: [AMF Encoder] Version 1.3.1.0-1.3.0.5
23:52:27.591: [AMF Encoder] <Plugin::AMD::AMF::AMF> Initializing...
23:52:27.591: [AMF Encoder] <Plugin::AMD::AMF::AMF> Loading of 'amfrt64.dll' failed with error code 126.
23:52:27.594: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
23:52:27.595: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
23:52:27.595: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
23:52:27.596: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:52:27.596: [browser_source: 'Version: 1.25.0']
23:52:27.597: NVENC supported
23:52:27.631: Couldn't find VLC installation, VLC video source disabled
23:52:27.778: No blackmagic support
23:52:27.867: ---------------------------------
23:52:27.867: Loaded Modules:
23:52:27.867: win-wasapi.dll
23:52:27.867: win-mf.dll
23:52:27.867: win-dshow.dll
23:52:27.867: win-decklink.dll
23:52:27.867: win-capture.dll
23:52:27.867: vlc-video.dll
23:52:27.867: text-freetype2.dll
23:52:27.867: rtmp-services.dll
23:52:27.867: obs-x264.dll
23:52:27.867: obs-transitions.dll
23:52:27.867: obs-text.dll
23:52:27.867: obs-qsv11.dll
23:52:27.867: obs-outputs.dll
23:52:27.867: obs-filters.dll
23:52:27.867: obs-ffmpeg.dll
23:52:27.867: obs-browser.dll
23:52:27.867: image-source.dll
23:52:27.867: frontend-tools.dll
23:52:27.867: enc-amf.dll
23:52:27.867: coreaudio-encoder.dll
23:52:27.867: ==== Startup complete ===============================================
23:52:27.867: Service '' not found
23:52:27.868: All scene data cleared
23:52:27.868: ------------------------------------------------
23:52:27.888: WASAPI: Device 'SPDIF Interface (3- aune T1_24BIT USB DAC)' initialized
23:52:27.895: Switched to scene 'Game'
23:52:27.895: ------------------------------------------------
23:52:27.895: Loaded scenes:
23:52:27.895: - scene 'Game':
23:52:27.895: - source: 'BF4' (game_capture)
23:52:27.895: - filter: 'Color Correction' (color_filter)
23:52:27.895: ------------------------------------------------
23:52:27.946: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
23:52:28.555: Update check: last known remote version is 0.16.2
23:52:30.510: rtmp-common.c: [initialize_output] Could not find service ''
23:52:30.511: rtmp-common.c: [initialize_output] Could not find service ''
23:52:30.511: rtmp-common.c: [initialize_output] Could not find service ''
23:52:30.512: rtmp-common.c: [initialize_output] Could not find service ''
23:52:30.546: rtmp-common.c: [initialize_output] Could not find service ''
23:52:31.528: rtmp-common.c: [initialize_output] Could not find service ''
23:52:32.359: rtmp-common.c: [initialize_output] Could not find service ''
23:54:13.957: rtmp-common.c: [initialize_output] Could not find service ''
23:54:13.958: rtmp-common.c: [initialize_output] Could not find service ''
23:54:13.959: rtmp-common.c: [initialize_output] Could not find service ''
23:54:13.959: rtmp-common.c: [initialize_output] Could not find service ''
23:54:13.992: rtmp-common.c: [initialize_output] Could not find service ''
23:54:38.895: rtmp-common.c: [initialize_output] Could not find service ''
23:54:39.139: rtmp-common.c: [initialize_output] Could not find service ''
23:54:40.349: Settings changed (general)
23:54:40.349: ------------------------------------------------
23:56:23.096: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
23:56:24.985: rtmp-common.c: [initialize_output] Could not find service ''
23:56:24.985: ---------------------------------
23:56:24.985: [NVENC encoder: 'recording_h264'] settings:
23:56:24.985: rate_control: CQP
23:56:24.985: bitrate: 0
23:56:24.985: cqp: 20
23:56:24.985: keyint: 250
23:56:24.985: preset: hq
23:56:24.985: profile: high
23:56:24.985: level: auto
23:56:24.985: width: 1920
23:56:24.985: height: 1200
23:56:24.985: 2-pass: false
23:56:24.985: GPU: 0
23:56:24.985:
23:56:25.508: [Media Foundation AAC: 'Track1']: encoder created
23:56:25.508: bitrate: 192
23:56:25.508: channels: 2
23:56:25.508: sample rate: 44100
23:56:25.508: bits-per-sample: 16
23:56:25.508:
23:56:25.511: ==== Recording Start ===============================================
23:56:25.512: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Home/Videos/2016-10-17 23-56-24.mp4'...
23:56:26.872: [game-capture: 'BF4'] attempting to hook fullscreen process: bf4.exe
23:56:26.873: [game-capture: 'BF4'] using helper (compatibility hook)
23:56:26.995: [game-capture: 'BF4'] Hooked to process: bf4.exe
23:56:26.995: [game-capture: 'BF4'] (half life scientist) everything.. seems to be in order
23:56:26.995: [game-capture: 'BF4'] Hooked D3D9
23:56:27.000: [game-capture: 'BF4'] Hooked DXGI
23:56:27.011: [game-capture: 'BF4'] d3d11 shared texture capture successful
23:56:27.147: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Home/Videos/2016-10-17 23-56-24.mp4' stopped
23:56:27.147: Output 'adv_file_output': stopping
23:56:27.147: Output 'adv_file_output': Total encoded frames: 97
23:56:27.147: Output 'adv_file_output': Total drawn frames: 98
23:56:27.147: ==== Recording Stop ================================================
23:56:27.275: [game-capture: 'BF4'] ----------------- d3d11 capture freed ----------------
23:56:27.295: [game-capture: 'BF4'] d3d11 shared texture capture successful
23:56:41.160: rtmp-common.c: [initialize_output] Could not find service ''
23:56:41.160: ---------------------------------
23:56:41.160: [NVENC encoder: 'recording_h264'] settings:
23:56:41.160: rate_control: CQP
23:56:41.160: bitrate: 0
23:56:41.160: cqp: 20
23:56:41.160: keyint: 250
23:56:41.160: preset: hq
23:56:41.160: profile: high
23:56:41.160: level: auto
23:56:41.160: width: 1920
23:56:41.160: height: 1200
23:56:41.160: 2-pass: false
23:56:41.160: GPU: 0
23:56:41.160:
23:56:41.436: [Media Foundation AAC: 'Track1']: encoder created
23:56:41.436: bitrate: 192
23:56:41.436: channels: 2
23:56:41.436: sample rate: 44100
23:56:41.436: bits-per-sample: 16
23:56:41.436:
23:56:41.440: ==== Recording Start ===============================================
23:56:41.440: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Home/Videos/2016-10-17 23-56-41.mp4'...
23:56:44.881: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Home/Videos/2016-10-17 23-56-41.mp4' stopped
23:56:44.881: Output 'adv_file_output': stopping
23:56:44.881: Output 'adv_file_output': Total encoded frames: 206
23:56:44.881: Output 'adv_file_output': Total drawn frames: 206
23:56:44.881: ==== Recording Stop ================================================
23:56:48.624: [game-capture: 'BF4'] ----------------- d3d11 capture freed ----------------
23:56:48.655: [game-capture: 'BF4'] d3d11 shared texture capture successful
23:56:48.677: [game-capture: 'BF4'] ----------------- d3d11 capture freed ----------------
23:56:48.714: [game-capture: 'BF4'] d3d11 shared texture capture successful
23:56:57.114: rtmp-common.c: [initialize_output] Could not find service ''
23:56:57.114: ---------------------------------
23:56:57.114: [NVENC encoder: 'recording_h264'] settings:
23:56:57.114: rate_control: CQP
23:56:57.114: bitrate: 0
23:56:57.114: cqp: 20
23:56:57.114: keyint: 250
23:56:57.114: preset: hq
23:56:57.114: profile: high
23:56:57.114: level: auto
23:56:57.114: width: 1920
23:56:57.114: height: 1200
23:56:57.114: 2-pass: false
23:56:57.114: GPU: 0
23:56:57.114:
23:56:57.442: [Media Foundation AAC: 'Track1']: encoder created
23:56:57.442: bitrate: 192
23:56:57.442: channels: 2
23:56:57.442: sample rate: 44100
23:56:57.442: bits-per-sample: 16
23:56:57.442:
23:56:57.446: ==== Recording Start ===============================================
23:56:57.446: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Home/Videos/2016-10-17 23-56-57.mp4'...
23:58:53.339: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Home/Videos/2016-10-17 23-56-57.mp4' stopped
23:58:53.340: Output 'adv_file_output': stopping
23:58:53.340: Output 'adv_file_output': Total encoded frames: 6953
23:58:53.340: Output 'adv_file_output': Total drawn frames: 6954
23:58:53.340: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 84 (1.2%)
23:58:53.340: ==== Recording Stop ================================================
23:58:53.846: [game-capture: 'BF4'] ----------------- d3d11 capture freed ----------------
23:58:53.856: [game-capture: 'BF4'] d3d11 shared texture capture successful
23:59:40.933: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
 
Top