Question / Help Starting the output failed. Failed to open NVENC codec: Generic error in an external library

bluefrog4

New Member
I used to be able to record fine with OBS but after I updated the video driver, I cannot record with OBS.
I tried changing "Integrated graphics" processor to "High-performance NVIDIA processor" but then the screen inside OBS goes black.
In both cases I get the error message:

obs-error-msg.jpg


Failed to start recording
Starting the output failed. Please check the log for details.
Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.

NVIDIA GeForce 940MX
Nvidia Control Panel Version 8.1.940.0
Driver Version 399.24 Release 9/10/2018

03:56:34.024: CPU Name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
03:56:34.024: CPU Speed: 2712MHz
03:56:34.024: Physical Cores: 2, Logical Cores: 4
03:56:34.024: Physical Memory: 8072MB Total, 2610MB Free
03:56:34.024: Windows Version: 10.0 Build 17134 (revision: 285; 64-bit)
03:56:34.024: Running as administrator: false
03:56:34.024: Aero is Enabled (Aero is always on for windows 8 and above)
03:56:34.024: Windows 10 Gaming Features:
03:56:34.024: Game DVR: On
03:56:34.026: Sec. Software Status:
03:56:34.027: Bitdefender Antivirus Free Antimalware: enabled (AV)
03:56:34.028: Windows Defender Antivirus: disabled (AV)
03:56:34.032: Windows Firewall: enabled (FW)
03:56:34.032: Bitdefender Antivirus Free Antimalware: enabled (ASW)
03:56:34.032: Windows Defender Antivirus: disabled (ASW)
03:56:34.033: Browser Hardware Acceleration: true
03:56:34.033: Portable mode: false
03:56:34.203: OBS 22.0.2 (64-bit, windows)
03:56:34.203: ---------------------------------
03:56:34.204: ---------------------------------
03:56:34.204: audio settings reset:
03:56:34.204: samples per sec: 44100
03:56:34.204: speakers: 2
03:56:34.206: ---------------------------------
03:56:34.206: Initializing D3D11...
03:56:34.206: Available Video Adapters:
03:56:34.210: Adapter 1: Intel(R) HD Graphics 620
03:56:34.210: Dedicated VRAM: 134217728
03:56:34.210: Shared VRAM: 4232329216
03:56:34.210: output 1: pos={0, 0}, size={1920, 1080}, attached=true
03:56:34.210: Adapter 2: NVIDIA GeForce 940MX
03:56:34.210: Dedicated VRAM: 2107703296
03:56:34.210: Shared VRAM: 4232329216
03:56:34.217: Loading up D3D11 on adapter Intel(R) HD Graphics 620 (0)
03:56:34.225: D3D11 loaded successfully, feature level used: 45056
03:56:35.021: ---------------------------------
03:56:35.021: video settings reset:
03:56:35.021: base resolution: 1920x1080
03:56:35.021: output resolution: 1280x720
03:56:35.021: downscale filter: Bicubic
03:56:35.021: fps: 30/1
03:56:35.021: format: NV12
03:56:35.021: YUV mode: 601/Partial
03:56:35.022: Audio monitoring device:
03:56:35.022: name: Default
03:56:35.022: id: default
03:56:35.022: ---------------------------------
03:56:35.024: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
03:56:35.026: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
03:56:35.067: [AMF] AMF Test failed due to one or more errors.
03:56:35.067: Failed to initialize module 'enc-amf.dll'
03:56:35.083: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
03:56:35.084: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
03:56:35.084: (127)
03:56:35.084: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
03:56:35.085: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
03:56:35.086: [obs-browser]: Version 2.1.5
03:56:35.091: [obs-browser]: Blacklisted device detected, disabling browser source hardware acceleration.
03:56:35.094: NVENC supported
03:56:35.121: VLC found, VLC video source enabled
03:56:35.127: No blackmagic support
03:56:35.132: ---------------------------------
03:56:35.132: Loaded Modules:
03:56:35.132: win-wasapi.dll
03:56:35.132: win-mf.dll
03:56:35.132: win-dshow.dll
03:56:35.132: win-decklink.dll
03:56:35.132: win-capture.dll
03:56:35.132: vlc-video.dll
03:56:35.132: text-freetype2.dll
03:56:35.132: rtmp-services.dll
03:56:35.132: obs-x264.dll
03:56:35.132: obs-vst.dll
03:56:35.132: obs-transitions.dll
03:56:35.132: obs-text.dll
03:56:35.132: obs-qsv11.dll
03:56:35.132: obs-outputs.dll
03:56:35.132: obs-filters.dll
03:56:35.132: obs-ffmpeg.dll
03:56:35.132: obs-browser.dll
03:56:35.132: image-source.dll
03:56:35.132: frontend-tools.dll
03:56:35.132: enc-amf.dll
03:56:35.132: coreaudio-encoder.dll
03:56:35.132: ---------------------------------
03:56:35.132: ==== Startup complete ===============================================
03:56:35.133: Service '' not found
03:56:35.136: All scene data cleared
03:56:35.137: ------------------------------------------------
03:56:35.173: WASAPI: Device 'Headset Earphone (Plantronics C320-M)' initialized
03:56:35.193: WASAPI: Device 'Headset Microphone (Plantronics C320-M)' initialized
03:56:35.195: Switched to scene 'Scene'
03:56:35.195: ------------------------------------------------
03:56:35.195: Loaded scenes:
03:56:35.195: - scene 'Scene':
03:56:35.195: - source: 'Desktop Audio' (wasapi_output_capture)
03:56:35.195: - source: 'Display Capture' (monitor_capture)
03:56:35.195: ------------------------------------------------
03:56:35.238: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
03:56:35.314: CalculateFileHash: Failed to open file 'C:\Users\BlueFrog\AppData\Roaming\obs-studio\updates\whatsnew.json':
03:56:35.419: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
03:56:38.002: ---------------------------------
03:56:38.002: [NVENC encoder: 'simple_h264_recording'] settings:
03:56:38.002: rate_control: CQP
03:56:38.002: bitrate: 0
03:56:38.002: cqp: 21
03:56:38.002: keyint: 250
03:56:38.002: preset: hq
03:56:38.002: profile: high
03:56:38.002: level: auto
03:56:38.002: width: 1280
03:56:38.002: height: 720
03:56:38.002: 2-pass: true
03:56:38.002: b-frames: 2
03:56:38.002: GPU: 0
03:56:38.002:
03:56:38.635: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Generic error in an external library
04:04:42.720: ---------------------------------
04:04:42.720: [NVENC encoder: 'simple_h264_recording'] settings:
04:04:42.720: rate_control: CQP
04:04:42.720: bitrate: 0
04:04:42.720: cqp: 21
04:04:42.720: keyint: 250
04:04:42.720: preset: hq
04:04:42.720: profile: high
04:04:42.720: level: auto
04:04:42.720: width: 1280
04:04:42.720: height: 720
04:04:42.720: 2-pass: true
04:04:42.720: b-frames: 2
04:04:42.720: GPU: 0
04:04:42.720:
04:04:42.927: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Generic error in an external library
 
Top