Your iGPU/system is overloaded, load reduction is in order. See the link below for suggestions.
Disable Game DVR, this should save some resources.
Avast, I have no idea what it's doing in the background, do you?
You changed audio sources while recording, a clean log without the audio change(s) mid-flight would be better.
23:52:19.563: [qsv encoder: 'simple_video_recording'] settings:
23:52:19.563: codec: H.264
23:52:19.563: rate_control: ICQ
23:52:19.563: ICQ Quality: 23
23:52:19.563: target_usage: TU4
23:52:19.563: profile: high
23:52:19.563: keyint: 0
23:52:19.563: latency: normal
23:52:19.563: b-frames: 3
23:52:19.563: fps_num: 60
23:52:19.563: fps_den: 1
23:52:19.563: width: 1920
23:52:19.563: height: 1080
23:52:19.563: [qsv encoder: 'simple_video_recording'] debug info:
23:52:19.690: surf: Texture
23:52:19.830: m_nSurfNum: 12
23:52:19.836: m_nTaskPool: 4
23:52:19.836: major: 1
23:52:19.836: minor: 34
23:52:19.837: ---------------------------------
23:52:19.838: [FFmpeg aac encoder: 'simple_aac_recording0'] bitrate: 192, channels: 2, channel_layout: stereo, track: 1
23:52:19.838:
23:52:19.887: ==== Recording Start ===============================================
23:52:19.887: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/User/Videos/2025-01-10 23-52-19.mkv'...
00:08:05.276: WASAPI: Default output device changed
00:08:05.360: Device 'Speakers (Realtek(R) Audio)' invalidated. Retrying (source: Desktop Audio)
00:08:05.509: WASAPI: Default input device changed
00:08:05.751: Device 'Microphone Array (Realtek(R) Audio)' invalidated. Retrying (source: Mic/Aux)
00:08:06.949: WASAPI: Device 'Microphone (Razer Kraken V3 X)' [48000 Hz] initialized (source: Mic/Aux)
00:08:06.949: WASAPI: Device 'Speakers (Razer Kraken V3 X)' [48000 Hz] initialized (source: Desktop Audio)
01:37:21.158: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/User/Videos/2025-01-10 23-52-19.mkv' stopped
01:37:21.159: Output 'simple_file_output': stopping
01:37:21.159: Output 'simple_file_output': Total frames output: 288325
01:37:21.159: Output 'simple_file_output': Total drawn frames: 340864 (378076 attempted)
01:37:21.159: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 37212 (9.8%)
01:37:21.161: Video stopped, number of skipped frames due to encoding lag: 285198/288598 (98.8%)
01:37:21.164: ==== Recording Stop ================================================
01:37:27.302: audio_thread(Audio): min=0.02 ms, median=3.332 ms, max=286.254 ms, 99th percentile=48.103 ms
OBS Knowledge Base. Learn best practices to solve encoding performance issues
obsproject.com