@PCMan123 please, post your log-file right after the recording attempt failed.
13:38:13.639: CPU Name: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
13:38:13.639: CPU Speed: 3193MHz
13:38:13.639: Physical Cores: 4, Logical Cores: 4
13:38:13.639: Physical Memory: 8152MB Total, 2315MB Free
13:38:13.639: Windows Version: 10.0 Build 17134 (revision: 285; 64-bit)
13:38:13.639: Running as administrator: false
13:38:13.640: Aero is Enabled (Aero is always on for windows 8 and above)
13:38:13.640: Windows 10 Gaming Features:
13:38:13.640: Game Bar: On
13:38:13.640: Game DVR: On
13:38:13.640: Game DVR Background Recording: Off
13:38:13.648: Sec. Software Status:
13:38:13.657: Windows Defender Antivirus: disabled (AV)
13:38:13.657: Norton Security: enabled (AV)
13:38:13.657: Norton Security: enabled (FW)
13:38:13.657: Windows Firewall: disabled (FW)
13:38:13.658: Windows Defender Antivirus: disabled (ASW)
13:38:13.658: Browser Hardware Acceleration: true
13:38:13.658: Portable mode: false
13:38:13.967: OBS 22.0.2 (64-bit, windows)
13:38:13.967: ---------------------------------
13:38:14.009: ---------------------------------
13:38:14.009: audio settings reset:
13:38:14.009: samples per sec: 44100
13:38:14.009: speakers: 2
13:38:14.011: ---------------------------------
13:38:14.011: Initializing D3D11...
13:38:14.011: Available Video Adapters:
13:38:14.019: Adapter 1: AMD Radeon (TM) R7 370 Series
13:38:14.019: Dedicated VRAM: 4274110464
13:38:14.019: Shared VRAM: 4274497536
13:38:14.019: output 1: pos={0, 0}, size={1366, 768}, attached=true
13:38:14.029: Loading up D3D11 on adapter AMD Radeon (TM) R7 370 Series (0)
13:38:14.080: D3D11 loaded successfully, feature level used: 45056
13:38:15.935: ---------------------------------
13:38:15.935: video settings reset:
13:38:15.935: base resolution: 1366x768
13:38:15.935: output resolution: 1092x614
13:38:15.935: downscale filter: Bicubic
13:38:15.935: fps: 30/1
13:38:15.935: format: NV12
13:38:15.935: YUV mode: 601/Partial
13:38:15.938: Audio monitoring device:
13:38:15.938: name: Default
13:38:15.938: id: default
13:38:15.939: ---------------------------------
13:38:15.944: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
13:38:15.946: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
13:38:16.470: [AMF] Version 2.4.2 loaded (Compiled: 1.4.7.0, Runtime: 1.4.9.0, Library: 1;4;9;0;18.30.17.01;201809111419;CL#1604289).
13:38:16.588: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon (TM) R7 370 Series (VEN_1002/DEV_6811/SUB_20151462/REV_0081)':
13:38:16.588: H264/AVC: Supported
13:38:16.588: H265/HEVC: Not Supported
13:38:16.588:
13:38:16.683: [AMF] [Capability Manager] Testing Direct3D 9 Adapter 'AMD Radeon (TM) R7 370 Series [\\.\DISPLAY9] (VEN_1002/DEV_6811/SUB_20151462/REV_0081)':
13:38:16.683: H264/AVC: Supported
13:38:16.683: H265/HEVC: Not Supported
13:38:16.683:
13:38:16.684: [AMF] [H265/HEVC] Not supported by any GPU, disabling...
13:38:16.717: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
13:38:16.718: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
13:38:16.718: (127)
13:38:16.718: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
13:38:16.720: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
13:38:16.722: [obs-browser]: Version 2.1.5
13:38:16.742: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
13:38:16.742: (126)
13:38:17.137: Couldn't find VLC installation, VLC video source disabled
13:38:17.144: No blackmagic support
13:38:17.158: ---------------------------------
13:38:17.159: Loaded Modules:
13:38:17.159: win-wasapi.dll
13:38:17.159: win-mf.dll
13:38:17.159: win-dshow.dll
13:38:17.159: win-decklink.dll
13:38:17.159: win-capture.dll
13:38:17.159: vlc-video.dll
13:38:17.159: text-freetype2.dll
13:38:17.159: rtmp-services.dll
13:38:17.159: obs-x264.dll
13:38:17.159: obs-vst.dll
13:38:17.159: obs-transitions.dll
13:38:17.159: obs-text.dll
13:38:17.159: obs-qsv11.dll
13:38:17.159: obs-outputs.dll
13:38:17.159: obs-filters.dll
13:38:17.159: obs-ffmpeg.dll
13:38:17.159: obs-browser.dll
13:38:17.159: image-source.dll
13:38:17.159: frontend-tools.dll
13:38:17.159: enc-amf.dll
13:38:17.159: coreaudio-encoder.dll
13:38:17.159: ---------------------------------
13:38:17.159: ==== Startup complete ===============================================
13:38:17.160: Service '' not found
13:38:17.165: All scene data cleared
13:38:17.165: ------------------------------------------------
13:38:17.252: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
13:38:17.269: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
13:38:17.289: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
13:38:17.797: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
13:38:18.111: Switched to scene 'Gaming'
13:38:18.119: ------------------------------------------------
13:38:18.119: Loaded scenes:
13:38:18.119: - scene 'Gaming':
13:38:18.119: - source: 'Display Capture' (monitor_capture)
13:38:18.119: - source: 'Game Capture' (game_capture)
13:38:18.119: ------------------------------------------------
13:38:18.258: CalculateFileHash: Failed to open file 'C:\Users\pc\AppData\Roaming\obs-studio\updates\whatsnew.json':