Recording is dropping frames randomly, need help with the settings!

TBroz15

New Member
Hey there peeps just first time posting here just for this.

I am recording some Minecraft content, but after checking the recording, there are some random frame drops.
Even my GPU Utilization is just between 30% to 40% and temps are normal while playing lag-free and recording.
Tried to record with a lower bitrate with 60 FPS, the frames are smooth but with crappy quality so its likely not a bitrate problem.

I need some help with the settings, I want to have the best of both worlds for fair file size, good latency, and good quality.

Here is my OBS Settings,
Code:
Common FPS:    60
Rec. Format:   Hybrid MP4
Video Encoder: NVIDIA NVENC HEVC
Audio Encoder: FFmpeg AAC
Audio Track:   1

Rate Control: VBR
Bitrate:      10000 Kbps
Max Bitrate:  50000 Kbps
Keyframe:     2s
Preset:       P6 Slower
Tuning:       Ultra Low Latency
Multipass:    Two Passes (Quarter Res.)
Profile:      main
Max B-frames: 2

No Look-ahead
With Psycho Visual Tuning
Uses GPU 0 which is GTX 1050 ti (w/ Latest Driver Update)

And here is the cut off footage with these settings. Lag starts at 0:15. Don't view it on Onedrive because of compression, download it. Btw, original video was trimmed by VLC. Still, original shows the same frame drops issue.
 

Xsoulsin

Member
 

TBroz15

New Member
Code:
15:43:53.220: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
15:43:53.220: CPU Speed: 4200MHz
15:43:53.220: Physical Cores: 4, Logical Cores: 8
15:43:53.220: Physical Memory: 16323MB Total, 13090MB Free
15:43:53.220: Windows Version: 10.0 Build 19045 (release: 22H2; revision: 5011; 64-bit)
15:43:53.220: Running as administrator: true
15:43:53.220: Windows 10/11 Gaming Features:
15:43:53.220:     Game DVR: On
15:43:53.220:     Game Mode: Probably On (no reg key set)
15:43:53.223: Sec. Software Status:
15:43:53.223:     Microsoft Defender Antivirus: enabled (AV)
15:43:53.224:     Windows Firewall: enabled (FW)
15:43:53.225: Current Date/Time: 2024-10-25, 15:43:53
15:43:53.225: Browser Hardware Acceleration: true
15:43:53.225: Hide OBS windows from screen capture: false
15:43:53.225: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
15:43:53.225: Portable mode: false
15:43:53.678: OBS 30.2.3 (64-bit, windows)
15:43:53.678: ---------------------------------
15:43:53.948: ---------------------------------
15:43:53.948: audio settings reset:
15:43:53.948:     samples per sec: 48000
15:43:53.948:     speakers:        2
15:43:53.948:     max buffering:   960 milliseconds
15:43:53.948:     buffering type:  dynamically increasing
15:43:53.969: ---------------------------------
15:43:53.969: Initializing D3D11...
15:43:53.969: Available Video Adapters:
15:43:53.971:     Adapter 0: NVIDIA GeForce GTX 1050 Ti
15:43:53.971:       Dedicated VRAM: 4198498304 (3.9 GiB)
15:43:53.971:       Shared VRAM:    8558381056 (8.0 GiB)
15:43:53.971:       PCI ID:         10de:1c82
15:43:53.971:       HAGS Status:    Disabled (Default: No, Driver status: Supported)
15:43:53.971:       Driver Version: 32.0.15.6603
15:43:53.971:       output 0:
15:43:53.971:         name=S24F350
15:43:53.971:         pos={0, 0}
15:43:53.971:         size={1920, 1080}
15:43:53.971:         attached=true
15:43:53.971:         refresh=60
15:43:53.971:         bits_per_color=8
15:43:53.971:         space=RGB_FULL_G22_NONE_P709
15:43:53.971:         primaries=[r=(0.650391, 0.333008), g=(0.316406, 0.612305), b=(0.152344, 0.067383), wp=(0.313477, 0.329102)]
15:43:53.971:         relative_gamut_area=[709=1.016589, P3=0.749400, 2020=0.537644]
15:43:53.971:         sdr_white_nits=80
15:43:53.971:         nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
15:43:53.971:         dpi=96 (100%)
15:43:53.971:         id=\\?\DISPLAY#SAM0D20#5&940e5d6&0&UID4353#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
15:43:53.971:         alt_id=\\.\DISPLAY2
15:43:53.972:       output 1:
15:43:53.972:         name=S24F350
15:43:53.972:         pos={1920, 0}
15:43:53.972:         size={1920, 1080}
15:43:53.972:         attached=true
15:43:53.972:         refresh=60
15:43:53.972:         bits_per_color=8
15:43:53.972:         space=RGB_FULL_G22_NONE_P709
15:43:53.972:         primaries=[r=(0.650391, 0.333008), g=(0.316406, 0.612305), b=(0.152344, 0.067383), wp=(0.313477, 0.329102)]
15:43:53.972:         relative_gamut_area=[709=1.016589, P3=0.749400, 2020=0.537644]
15:43:53.972:         sdr_white_nits=80
15:43:53.972:         nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
15:43:53.972:         dpi=96 (100%)
15:43:53.972:         id=\\?\DISPLAY#SAM0D20#5&940e5d6&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
15:43:53.972:         alt_id=\\.\DISPLAY1
15:43:53.972: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 Ti (0)
15:43:54.067: D3D11 loaded successfully, feature level used: b000
15:43:54.067: DXGI increase maximum frame latency success
15:43:54.067: D3D11 GPU priority setup success
15:43:54.713: ---------------------------------
15:43:54.713: video settings reset:
15:43:54.713:     base resolution:   1920x1080
15:43:54.713:     output resolution: 1920x1080
15:43:54.713:     downscale filter:  Bicubic
15:43:54.713:     fps:               60/1
15:43:54.713:     format:            NV12
15:43:54.713:     YUV mode:          Rec. 709/Full
15:43:54.713: NV12 texture support enabled
15:43:54.713: P010 texture support not available
15:43:54.714: Audio monitoring device:
15:43:54.714:     name: Default
15:43:54.714:     id: default
15:43:54.714: ---------------------------------
15:43:54.748: No AJA devices found, skipping loading AJA UI plugin
15:43:54.748: Failed to initialize module 'aja-output-ui.dll'
15:43:54.775: No AJA devices found, skipping loading AJA plugin
15:43:54.775: Failed to initialize module 'aja.dll'
15:43:54.942: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
15:43:54.964: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:43:54.981: Failed to load 'en-US' text for module: 'decklink-captions.dll'
15:43:55.002: Failed to load 'en-US' text for module: 'decklink-output-ui.dll'
15:43:55.025: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
15:43:55.025: Failed to initialize module 'decklink.dll'
15:43:55.159: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
15:43:55.195: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
15:43:55.234: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
15:43:55.281: [obs-browser]: Version 2.23.6
15:43:55.281: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+gc69ad37+chromium-103.0.5060.134 (compiled)
15:43:55.350: NVENC supported
15:43:55.520: [NVENC] AV1 is not supported
15:43:55.550: [noise suppress]: NVIDIA denoiser disabled, redistributable not found or could not be loaded.
15:43:55.550: Failed to get NVVideoEffects.dll version info size
15:43:55.550: [NVIDIA VIDEO FX]: FX disabled, redistributable not found or could not be loaded.
15:43:55.853: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.2 | RPC Version: 1)
15:43:55.853: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
15:43:55.853: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
15:43:55.876: [obs-websocket] [obs_module_load] Module loaded.
15:43:55.941: [rtmp-services plugin] Remote update of URL "https://obsproject.com/obs2_update/rtmp-services/v5/package.json" failed: Could not resolve host: obsproject.com
15:43:56.033: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
15:43:56.071: [win-capture plugin] Remote update of URL "https://obsproject.com/obs2_update/win-capture/v1/package.json" failed: Could not resolve host: obsproject.com
15:43:56.140: ---------------------------------
15:43:56.140:   Loaded Modules:
15:43:56.140:     win-wasapi.dll
15:43:56.140:     win-dshow.dll
15:43:56.140:     win-capture.dll
15:43:56.140:     vlc-video.dll
15:43:56.140:     text-freetype2.dll
15:43:56.140:     rtmp-services.dll
15:43:56.140:     obs-x264.dll
15:43:56.140:     obs-websocket.dll
15:43:56.140:     obs-webrtc.dll
15:43:56.140:     obs-vst.dll
15:43:56.140:     obs-transitions.dll
15:43:56.140:     obs-text.dll
15:43:56.140:     obs-qsv11.dll
15:43:56.140:     obs-outputs.dll
15:43:56.140:     obs-filters.dll
15:43:56.140:     obs-ffmpeg.dll
15:43:56.140:     obs-browser.dll
15:43:56.140:     image-source.dll
15:43:56.140:     frontend-tools.dll
15:43:56.140:     decklink-output-ui.dll
15:43:56.140:     decklink-captions.dll
15:43:56.140:     coreaudio-encoder.dll
15:43:56.140: ---------------------------------
15:43:56.140: ---------------------------------
15:43:56.140: Available Encoders:
15:43:56.140:   Video Encoders:
15:43:56.140:     - ffmpeg_svt_av1 (SVT-AV1)
15:43:56.140:     - ffmpeg_aom_av1 (AOM AV1)
15:43:56.140:     - jim_nvenc (NVIDIA NVENC H.264)
15:43:56.140:     - jim_hevc_nvenc (NVIDIA NVENC HEVC)
15:43:56.140:     - obs_x264 (x264)
15:43:56.140:   Audio Encoders:
15:43:56.140:     - ffmpeg_aac (FFmpeg AAC)
15:43:56.140:     - ffmpeg_opus (FFmpeg Opus)
15:43:56.140:     - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
15:43:56.140:     - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
15:43:56.140:     - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
15:43:56.140:     - ffmpeg_alac (FFmpeg ALAC (24-bit))
15:43:56.140:     - ffmpeg_flac (FFmpeg FLAC (16-bit))
15:43:56.140: ==== Startup complete ===============================================
15:43:56.296: All scene data cleared
15:43:56.296: ------------------------------------------------
15:43:56.322: [win-wasapi: 'Desktop Audio'] update settings:
15:43:56.322:     device id: default
15:43:56.322:     use device timing: 1
15:43:56.323: [Loaded global audio device]: 'Desktop Audio'
15:43:56.325: [duplicator-monitor-capture: 'Display Capture'] update settings:
15:43:56.325:     display: S24F350 (1920x1080)
15:43:56.325:     cursor: true
15:43:56.325:     method: DXGI
15:43:56.325:     id: \\?\DISPLAY#SAM0D20#5&940e5d6&0&UID4353#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
15:43:56.325:     alt_id: \\.\DISPLAY2
15:43:56.325:     setting_id: \\?\DISPLAY#SAM0D20#5&940e5d6&0&UID4353#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
15:43:56.325:     force SDR: false
15:43:56.327: Switched to scene 'Scene'
15:43:56.327: ------------------------------------------------
15:43:56.327: Loaded scenes:
15:43:56.327: - scene 'Scene':
15:43:56.327:     - source: 'Display Capture' (monitor_capture)
15:43:56.327: ------------------------------------------------
15:43:56.367: WASAPI: Device 'Speakers (Realtek High Definition Audio)' [48000 Hz] initialized (source: Desktop Audio)
15:43:56.427: AutoUpdateThread::run: Failed to fetch branches file: Could not resolve host: obsproject.com
15:43:56.431: WhatsNewInfoThread::run: Failed to fetch whatsnew file: Could not resolve host: obsproject.com
15:44:58.120: Max audio buffering reached!
15:44:58.120: adding 960 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: Desktop Audio)
15:44:58.120:
15:58:48.110: [obs-nvenc] Max B-frames setting (2) is more than encoder supports (0).
15:58:48.110: Setting B-frames to 0
15:58:48.110: [obs-nvenc: 'advanced_video_recording'] Ignoring Psycho Visual Tuning request since GPU is not capable
15:58:48.110: [obs-nvenc: 'advanced_video_recording'] settings:
15:58:48.110:     codec:        HEVC
15:58:48.110:     rate_control: VBR
15:58:48.110:     bitrate:      10000
15:58:48.110:     cqp:          25
15:58:48.110:     keyint:       120
15:58:48.110:     preset:       p6
15:58:48.110:     tuning:       ull
15:58:48.110:     multipass:    qres
15:58:48.110:     profile:      main
15:58:48.110:     width:        1920
15:58:48.110:     height:       1080
15:58:48.110:     b-frames:     0
15:58:48.110:     lookahead:    false
15:58:48.110:     psycho_aq:    true
15:58:48.110:
15:58:48.159: ---------------------------------
15:58:48.160: [FFmpeg aac encoder: 'Track1'] bitrate: 192, channels: 2, channel_layout: stereo
15:58:48.160:
15:58:48.204: ==== Recording Start ===============================================
15:58:48.204: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/user/Videos/2024-10-25 15-58-48.mp4'...
16:09:00.975: Virtual output started
16:09:00.978: ==== Virtual Camera Start ==========================================
16:09:00.978: Starting Virtual Camera output to Program
16:09:01.910: Virtual output stopping
16:09:01.919: Output 'virtualcam_output': stopping
16:09:01.919: Output 'virtualcam_output': Total frames output: 54
16:09:01.919: Output 'virtualcam_output': Total drawn frames: 56
16:09:01.919: ==== Virtual Camera Stop ===========================================
16:09:01.920: Virtual output stopped
16:09:02.615: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/user/Videos/2024-10-25 15-58-48.mp4' stopped
16:09:02.615: Output 'adv_file_output': stopping
16:09:02.615: Output 'adv_file_output': Total frames output: 36801
16:09:02.615: Output 'adv_file_output': Total drawn frames: 36864
16:09:02.616: ==== Recording Stop ================================================
16:09:06.865:   OpenType support missing for "Open Sans", script 11
16:09:06.865:   OpenType support missing for "Arial", script 11
16:09:06.866:   OpenType support missing for "Tahoma", script 11
16:09:06.868:   OpenType support missing for "MS UI Gothic", script 11
16:09:06.870:   OpenType support missing for "SimSun", script 11
16:09:06.876:   OpenType support missing for "Segoe UI Emoji", script 11
16:09:06.877:   OpenType support missing for "Segoe UI Symbol", script 11
16:09:06.883:   OpenType support missing for "Open Sans", script 12
16:09:06.884:   OpenType support missing for "Arial", script 12
16:09:06.884:   OpenType support missing for "Tahoma", script 12
16:09:06.884:   OpenType support missing for "MS UI Gothic", script 12
16:09:06.884:   OpenType support missing for "SimSun", script 12
16:09:06.885:   OpenType support missing for "Segoe UI Emoji", script 12
16:09:06.885:   OpenType support missing for "Segoe UI Symbol", script 12
16:09:06.886:   OpenType support missing for "Open Sans", script 16
16:09:06.886:   OpenType support missing for "Arial", script 16
16:09:06.887:   OpenType support missing for "Tahoma", script 16
16:09:06.887:   OpenType support missing for "MS UI Gothic", script 16
16:09:06.887:   OpenType support missing for "SimSun", script 16
16:09:06.887:   OpenType support missing for "Segoe UI Emoji", script 16
16:09:06.888:   OpenType support missing for "Segoe UI Symbol", script 16
16:09:06.889:   OpenType support missing for "Open Sans", script 20
16:09:06.889:   OpenType support missing for "Arial", script 20
16:09:06.890:   OpenType support missing for "Tahoma", script 20
16:09:06.890:   OpenType support missing for "MS UI Gothic", script 20
16:09:06.890:   OpenType support missing for "SimSun", script 20
16:09:06.890:   OpenType support missing for "Segoe UI Emoji", script 20
16:09:06.891:   OpenType support missing for "Segoe UI Symbol", script 20
16:10:38.813: Source Desktop Audio audio is lagging (over by 48380.14 ms) at max audio buffering. Restarting source audio.
16:11:37.199: Settings changed (outputs)
16:11:37.199: ------------------------------------------------
 

TBroz15

New Member
Update, I tried to use 31.0.0 Beta 2 with the new NVIDIA NVENC HEVC encoder, and it kinda fixed the lag. Not sure if its completely resolved, but I rarely see some frame drops.
 
Top