OBS Dropping Frames During Recording

woundkong

New Member
For the past 9 months, I've been trying to resolve an issue where both OBS and Shadowplay drop frames randomly throughout the recording, whether it's recording the desktop or playing a game, despite everything running smoothly at 60 FPS. This problem occurs consistently in every recording and across 2 different PC setups.

• OBS Logs: https://obsproject.com/logs/Oybdp0mSjZivHK6L
• Footage of the Issue: https://youtu.be/kGC_HKCAiU8


RTX 4090 | Intel i9-10850K | RAM 32GB | Monitor: Dell S2417DG

What I've noticed:
• No encoding lag or dropped frames are reported by OBS, but the final recordings always show frame drops/ stuttering at random times.

• It happens in every recording and even happens when idling in OBS without recording anything.

• The issue occurs both when trying to screen capturing directly with Shadowplay and OBS, or when using a capture card to record gameplay from consoles (Xbox Series/PS5) via OBS.

• The same frame drop issue persists across two different desktop setups using OBS and Shadowplay.

• The only software that works for me without issues is ReCentral 4 or Elgato Capture, which require a capture card and does not have the frame drop problem.

Things I've tried:
• Updating Nvidia Drivers
• Disabling G-Sync
• Tested recording to an HDD and SSD
• Limiting Framerate to 60FPS in Nvidia CP for games, while also matching the monitors refresh rate to 60FPS.
• Running OBS as Administrator
• Updating BIOS
• Reinstalling Windows 10 and 11
• Turned off GPU scheduling
• Tried multiple capture cards
• Changed OBS priority to High.

OBS Log:
08:49:53.555: CPU Name: Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz
08:49:53.555: CPU Speed: 3600MHz
08:49:53.555: Physical Cores: 10, Logical Cores: 20
08:49:53.555: Physical Memory: 32685MB Total, 23092MB Free
08:49:53.555: Windows Version: 10.0 Build 22631 (release: 23H2; revision: 4112; 64-bit)
08:49:53.555: Running as administrator: true
08:49:53.555: Windows 10/11 Gaming Features:
08:49:53.555: Game Bar: On
08:49:53.555: Game DVR: On
08:49:53.555: Game DVR Background Recording: Off
08:49:53.555: Game Mode: Probably On (no reg key set)
08:49:53.557: Sec. Software Status:
08:49:53.558: Microsoft Defender Antivirus: enabled (AV)
08:49:53.558: Windows Firewall: enabled (FW)
08:49:53.559: Current Date/Time: 2024-09-01, 08:49:53
08:49:53.559: Browser Hardware Acceleration: true
08:49:53.559: Hide OBS windows from screen capture: false
08:49:53.559: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
08:49:53.559: Portable mode: false
08:49:53.753: OBS 30.2.3 (64-bit, windows)
08:49:53.753: ---------------------------------
08:49:53.754: ---------------------------------
08:49:53.754: audio settings reset:
08:49:53.754: samples per sec: 48000
08:49:53.754: speakers: 2
08:49:53.754: max buffering: 960 milliseconds
08:49:53.754: buffering type: dynamically increasing
08:49:53.756: ---------------------------------
08:49:53.756: Initializing D3D11...
08:49:53.756: Available Video Adapters:
08:49:53.763: Adapter 0: NVIDIA GeForce RTX 4090
08:49:53.763: Dedicated VRAM: 25314721792 (23.6 GiB)
08:49:53.763: Shared VRAM: 17136746496 (16.0 GiB)
08:49:53.763: PCI ID: 10de:2684
08:49:53.763: HAGS Status: Disabled (Default: No, Driver status: Supported)
08:49:53.763: Driver Version: 32.0.15.6094
08:49:53.763: output 0:
08:49:53.763: name=Dell S2417DG
08:49:53.763: pos={0, 0}
08:49:53.763: size={2560, 1440}
08:49:53.763: attached=true
08:49:53.763: refresh=59
08:49:53.763: bits_per_color=8
08:49:53.763: space=RGB_FULL_G22_NONE_P709
08:49:53.763: primaries=[r=(0.639648, 0.330078), g=(0.299805, 0.599609), b=(0.150391, 0.059570), wp=(0.312500, 0.329102)]
08:49:53.763: relative_gamut_area=[709=0.998664, P3=0.736186, 2020=0.528164]
08:49:53.763: sdr_white_nits=80
08:49:53.763: nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
08:49:53.763: dpi=120 (125%)
08:49:53.763: id=\\?\DISPLAY#DELA0E7#5&37da47fb&0&UID4353#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
08:49:53.763: alt_id=\\.\DISPLAY1
08:49:53.764: Loading up D3D11 on adapter NVIDIA GeForce RTX 4090 (0)
08:49:53.852: D3D11 loaded successfully, feature level used: b000
08:49:53.852: DXGI increase maximum frame latency success
08:49:53.852: D3D11 GPU priority setup success
08:49:53.939: ---------------------------------
08:49:53.939: video settings reset:
08:49:53.939: base resolution: 2560x1440
08:49:53.939: output resolution: 2560x1440
08:49:53.939: downscale filter: Bicubic
08:49:53.939: fps: 60/1
08:49:53.939: format: NV12
08:49:53.939: YUV mode: Rec. 709/Partial
08:49:53.939: NV12 texture support enabled
08:49:53.939: P010 texture support not available
08:49:53.941: Audio monitoring device:
08:49:53.941: name: Default
08:49:53.941: id: default
08:49:53.941: ---------------------------------
08:49:53.943: No AJA devices found, skipping loading AJA UI plugin
08:49:53.943: Failed to initialize module 'aja-output-ui.dll'
08:49:53.945: No AJA devices found, skipping loading AJA plugin
08:49:53.945: Failed to initialize module 'aja.dll'
08:49:53.945: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
08:49:53.947: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
08:49:53.948: Failed to load 'en-US' text for module: 'decklink-captions.dll'
08:49:53.949: Failed to load 'en-US' text for module: 'decklink-output-ui.dll'
08:49:53.951: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
08:49:53.951: Failed to initialize module 'decklink.dll'
08:49:53.960: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
08:49:53.961: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
08:49:53.961: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
08:49:53.974: [obs-browser]: Version 2.23.6
08:49:53.974: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+gc69ad37+chromium-103.0.5060.134 (compiled)
08:49:53.978: NVENC supported
08:49:54.130: [noise suppress]: NVIDIA denoiser disabled, redistributable not found or could not be loaded.
08:49:54.130: Failed to get NVVideoEffects.dll version info size
08:49:54.131: [NVIDIA VIDEO FX]: FX disabled, redistributable not found or could not be loaded.
08:49:54.179: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.2 | RPC Version: 1)
08:49:54.179: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
08:49:54.179: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
08:49:54.189: [obs-websocket] [obs_module_load] Module loaded.
08:49:54.202: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
08:49:54.216: ---------------------------------
08:49:54.216: Loaded Modules:
08:49:54.216: win-wasapi.dll
08:49:54.216: win-dshow.dll
08:49:54.216: win-capture.dll
08:49:54.216: vlc-video.dll
08:49:54.216: text-freetype2.dll
08:49:54.216: rtmp-services.dll
08:49:54.216: obs-x264.dll
08:49:54.216: obs-websocket.dll
08:49:54.216: obs-webrtc.dll
08:49:54.216: obs-vst.dll
08:49:54.216: obs-transitions.dll
08:49:54.216: obs-text.dll
08:49:54.216: obs-qsv11.dll
08:49:54.216: obs-outputs.dll
08:49:54.216: obs-filters.dll
08:49:54.216: obs-ffmpeg.dll
08:49:54.216: obs-browser.dll
08:49:54.216: image-source.dll
08:49:54.216: frontend-tools.dll
08:49:54.216: decklink-output-ui.dll
08:49:54.216: decklink-captions.dll
08:49:54.216: coreaudio-encoder.dll
08:49:54.216: ---------------------------------
08:49:54.216: ---------------------------------
08:49:54.216: Available Encoders:
08:49:54.216: Video Encoders:
08:49:54.216: - ffmpeg_svt_av1 (SVT-AV1)
08:49:54.216: - ffmpeg_aom_av1 (AOM AV1)
08:49:54.216: - jim_nvenc (NVIDIA NVENC H.264)
08:49:54.216: - jim_hevc_nvenc (NVIDIA NVENC HEVC)
08:49:54.216: - jim_av1_nvenc (NVIDIA NVENC AV1)
08:49:54.216: - obs_x264 (x264)
08:49:54.216: Audio Encoders:
08:49:54.216: - ffmpeg_aac (FFmpeg AAC)
08:49:54.216: - ffmpeg_opus (FFmpeg Opus)
08:49:54.216: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
08:49:54.216: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
08:49:54.216: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
08:49:54.216: - ffmpeg_alac (FFmpeg ALAC (24-bit))
08:49:54.216: - ffmpeg_flac (FFmpeg FLAC (16-bit))
08:49:54.216: ==== Startup complete ===============================================
08:49:54.268: All scene data cleared
08:49:54.268: ------------------------------------------------
08:49:54.270: [win-wasapi: 'Desktop Audio'] update settings:
08:49:54.270: device id: default
08:49:54.270: use device timing: 1
08:49:54.270: [Loaded global audio device]: 'Desktop Audio'
08:49:54.290: WASAPI: Device 'Dell S2417DG (NVIDIA High Definition Audio)' [48000 Hz] initialized (source: Desktop Audio)
08:49:55.049: Switched to scene 'Screen Capture'
08:49:55.049: ------------------------------------------------
08:49:55.049: Loaded scenes:
08:49:55.049: - scene 'Scene':
08:49:55.049: - scene 'Screen Capture':
08:49:55.049: - source: 'Game Capture' (game_capture)
08:49:55.049: ------------------------------------------------
08:50:39.634: [obs-nvenc: 'advanced_video_recording'] settings:
08:50:39.634: codec: H264
08:50:39.634: rate_control: CQP
08:50:39.634: bitrate: 0
08:50:39.634: cqp: 23
08:50:39.634: keyint: 250
08:50:39.634: preset: p3
08:50:39.634: tuning: hq
08:50:39.634: multipass: qres
08:50:39.634: profile: high
08:50:39.634: width: 2560
08:50:39.634: height: 1440
08:50:39.634: b-frames: 2
08:50:39.634: lookahead: false
08:50:39.634: psycho_aq: false
08:50:39.634:
08:50:39.703: ---------------------------------
08:50:39.703: [FFmpeg aac encoder: 'Track1'] bitrate: 192, channels: 2, channel_layout: stereo
08:50:39.703:
08:50:39.718: ==== Recording Start ===============================================
08:50:39.718: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Recordings/2024-09-01 08-50-39.mkv'...
08:50:41.427: [game-capture: 'Game Capture'] attempting to hook fullscreen process: Spyro-Win64-Shipping.exe
08:50:41.436: [game-capture: 'Game Capture'] DXGI_SWAP_CHAIN_DESC:
08:50:41.436: BufferDesc.Width: 2560
08:50:41.436: BufferDesc.Height: 1440
08:50:41.436: BufferDesc.RefreshRate.Numerator: 0
08:50:41.436: BufferDesc.RefreshRate.Denominator: 0
08:50:41.436: BufferDesc.Format: 28
08:50:41.436: BufferDesc.ScanlineOrdering: 0
08:50:41.436: BufferDesc.Scaling: 0
08:50:41.436: SampleDesc.Count: 1
08:50:41.436: SampleDesc.Quality: 0
08:50:41.436: BufferUsage: 48
08:50:41.436: BufferCount: 1
08:50:41.436: Windowed: 1
08:50:41.436: SwapEffect: 0
08:50:41.436: Flags: 2
08:50:41.436: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
08:50:41.443: [game-capture: 'Game Capture'] shared texture capture successful
08:51:25.962: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Recordings/2024-09-01 08-50-39.mkv' stopped
08:51:25.962: Output 'adv_file_output': stopping
08:51:25.962: Output 'adv_file_output': Total frames output: 2762
08:51:25.962: Output 'adv_file_output': Total drawn frames: 2775
08:51:25.963: ==== Recording Stop ================================================
08:52:18.281: OpenType support missing for "Open Sans", script 11
08:52:18.281: OpenType support missing for "Arial", script 11
08:52:18.282: OpenType support missing for "Tahoma", script 11
08:52:18.283: OpenType support missing for "MS UI Gothic", script 11
08:52:18.284: OpenType support missing for "SimSun", script 11
08:52:18.284: OpenType support missing for "Segoe UI Emoji", script 11
08:52:18.284: OpenType support missing for "Segoe UI Symbol", script 11
08:52:18.285: OpenType support missing for "Open Sans", script 12
08:52:18.285: OpenType support missing for "Arial", script 12
08:52:18.286: OpenType support missing for "Tahoma", script 12
08:52:18.286: OpenType support missing for "MS UI Gothic", script 12
08:52:18.286: OpenType support missing for "SimSun", script 12
08:52:18.286: OpenType support missing for "Segoe UI Emoji", script 12
08:52:18.287: OpenType support missing for "Segoe UI Symbol", script 12
08:52:18.287: OpenType support missing for "Open Sans", script 16
08:52:18.287: OpenType support missing for "Arial", script 16
08:52:18.287: OpenType support missing for "Tahoma", script 16
08:52:18.287: OpenType support missing for "MS UI Gothic", script 16
08:52:18.287: OpenType support missing for "SimSun", script 16
08:52:18.288: OpenType support missing for "Segoe UI Emoji", script 16
08:52:18.288: OpenType support missing for "Segoe UI Symbol", script 16
08:52:18.288: OpenType support missing for "Open Sans", script 20
08:52:18.288: OpenType support missing for "Arial", script 20
08:52:18.288: OpenType support missing for "Tahoma", script 20
08:52:18.289: OpenType support missing for "MS UI Gothic", script 20
08:52:18.289: OpenType support missing for "SimSun", script 20
08:52:18.289: OpenType support missing for "Segoe UI Emoji", script 20
08:52:18.289: OpenType support missing for "Segoe UI Symbol", script 20
08:52:49.502: [obs-nvenc: 'advanced_video_recording'] settings:
08:52:49.502: codec: H264
08:52:49.502: rate_control: CQP
08:52:49.502: bitrate: 0
08:52:49.502: cqp: 23
08:52:49.502: keyint: 250
08:52:49.502: preset: p3
08:52:49.502: tuning: hq
08:52:49.502: multipass: qres
08:52:49.502: profile: high
08:52:49.502: width: 2560
08:52:49.502: height: 1440
08:52:49.502: b-frames: 2
08:52:49.502: lookahead: false
08:52:49.502: psycho_aq: false
08:52:49.502:
08:52:49.572: ---------------------------------
08:52:49.573: [FFmpeg aac encoder: 'Track1'] bitrate: 192, channels: 2, channel_layout: stereo
08:52:49.573:
08:52:49.585: ==== Recording Start ===============================================
08:52:49.585: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Recordings/2024-09-01 08-52-49.mkv'...
08:53:36.797: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Recordings/2024-09-01 08-52-49.mkv' stopped
08:53:36.797: Output 'adv_file_output': stopping
08:53:36.797: Output 'adv_file_output': Total frames output: 2820
08:53:36.797: Output 'adv_file_output': Total drawn frames: 2833
08:53:36.797: ==== Recording Stop ===========
 

qhobbes

Active Member
"Limiting Framerate to 60FPS in Nvidia CP for games, while also matching the monitors refresh rate to 60FPS."
Your log file clearly indicates you don't have a 60 Hz monitor:
08:49:53.763: refresh=59

Is that exactly 59, 59.94, 59.951 (like mine, thanks Apple) or something else? You can check by going to Windows Settings, System, Display, Advanced display settings. Those are Win10 steps, should hopefully be similar in Win11.

You should enable V/G-sync and set the output to match your monitor's refresh rate (not 60) .
 
Top