Question / Help Issues with the NVENC H.264 encoder when recording

Varnsen

New Member
Hi! Decided to give OBS a real shot today after I started getting static issues with ShadowPlay and my new microphone setup. I've done a bunch of testing, and if I can get OBS to work perfectly this should fit all my needs perfectly.

When I try to record with NVENC H.264, I get this error:
mvZ9dIO.png


Having a bit of a tinker, switching to x264 as the recording encoder, recording for a bit, then switching to NVENC again solves the issue for that recording, but as soon as I close out of OBS again I have to setup my recording profile again.

Any idea how to fix this? My GPUs a little old, but it should work with the NVENC encoder, shadowplay works perfectly and I think my GPU was one of the first to support it?
I currently have NVIDIA GeForce GTX 680 * 2 in SLI. GPU drivers are up to date on 382.05

Looking through the log pasted below I seem to be missing a few .dlls, not sure if they're vitally important for what I want to be using.

Any help?


Code:
18:12:10.802: CPU Name: Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
18:12:10.802: CPU Speed: 4125MHz
18:12:10.802: Physical Cores: 6, Logical Cores: 12
18:12:10.802: Physical Memory: 65476MB Total, 51522MB Free
18:12:10.802: Windows Version: 10.0 Build 14393 (revision: 1198; 64-bit)
18:12:10.802: Running as administrator: false
18:12:10.802: Aero is Enabled (Aero is always on for windows 8 and above)
18:12:10.803: Portable mode: false
18:12:10.813: OBS 18.0.1 (64bit, windows)
18:12:10.813: ---------------------------------
18:12:10.814: ---------------------------------
18:12:10.814: audio settings reset:
18:12:10.814:     samples per sec: 48000
18:12:10.814:     speakers:        2
18:12:10.815: ---------------------------------
18:12:10.815: Initializing D3D11..
18:12:10.815: Available Video Adapters:
18:12:10.817:     Adapter 1: NVIDIA GeForce GTX 680
18:12:10.817:       Dedicated VRAM: 2050686976
18:12:10.817:       Shared VRAM:    4263907328
18:12:10.817:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:12:10.817:       output 2: pos={-1920, -120}, size={1920, 1200}, attached=true
18:12:10.817:       output 3: pos={1920, 0}, size={1920, 1080}, attached=true
18:12:10.819: Loading up D3D11 on adapter NVIDIA GeForce GTX 680 (0)
18:12:10.848: D3D11 loaded sucessfully, feature level used: 45056
18:12:11.460: ---------------------------------
18:12:11.460: video settings reset:
18:12:11.460:     base resolution:   1920x1080
18:12:11.460:     output resolution: 1920x1080
18:12:11.460:     downscale filter:  Bicubic
18:12:11.460:     fps:               60000/1001
18:12:11.460:     format:            NV12
18:12:11.462: Audio monitoring device:
18:12:11.462:     name: Default
18:12:11.462:     id: default
18:12:11.462: ---------------------------------
18:12:11.463: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:12:11.467: [CoreAudio encoder]: Adding CoreAudio AAC encoder
18:12:11.468: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
18:12:11.473: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:12:11.474: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:12:11.474: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:12:11.474: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:12:11.474: [browser_source: 'Version: 1.29.0']
18:12:11.475: NVENC supported
18:12:11.521: Couldn't find VLC installation, VLC video source disabled
18:12:11.524: No blackmagic support
18:12:11.554: ---------------------------------
18:12:11.554:   Loaded Modules:
18:12:11.554:     win-wasapi.dll
18:12:11.554:     win-mf.dll
18:12:11.554:     win-dshow.dll
18:12:11.554:     win-decklink.dll
18:12:11.554:     win-capture.dll
18:12:11.554:     vlc-video.dll
18:12:11.554:     text-freetype2.dll
18:12:11.554:     rtmp-services.dll
18:12:11.554:     obs-x264.dll
18:12:11.554:     obs-vst.dll
18:12:11.554:     obs-transitions.dll
18:12:11.554:     obs-text.dll
18:12:11.554:     obs-qsv11.dll
18:12:11.554:     obs-outputs.dll
18:12:11.554:     obs-filters.dll
18:12:11.554:     obs-ffmpeg.dll
18:12:11.554:     obs-browser.dll
18:12:11.554:     image-source.dll
18:12:11.554:     frontend-tools.dll
18:12:11.554:     enc-amf.dll
18:12:11.554:     coreaudio-encoder.dll
18:12:11.554: ==== Startup complete ===============================================
18:12:11.560: Service '' not found
18:12:11.561: Switched to Preview/Program mode
18:12:11.561: ------------------------------------------------
18:12:11.562: All scene data cleared
18:12:11.562: ------------------------------------------------
18:12:11.579: WASAPI: Device 'Speakers (2- Sennheiser 3D G4ME1)' initialized
18:12:11.582: WASAPI: Device 'Focusrite USB (Focusrite USB Audio)' initialized
18:12:11.586: Switched to scene 'Desktop'
18:12:11.588: ------------------------------------------------
18:12:11.588: Loaded scenes:
18:12:11.588: - scene 'Scene':
18:12:11.588: - scene 'Desktop':
18:12:11.588:     - source: 'Main Monitor' (monitor_capture)
18:12:11.588: ------------------------------------------------
18:12:11.589: CalculateFileHash: Failed to open file 'C:\Users\Matthew\AppData\Roaming\obs-studio\updates\manifest.json': 2
18:12:11.618: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
18:12:11.865: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
18:12:16.226: rtmp-common.c: [initialize_output] Could not find service ''
18:12:16.227: ---------------------------------
18:12:16.227: [NVENC encoder: 'recording_h264'] settings:
18:12:16.227:     rate_control: CBR
18:12:16.227:     bitrate:      30000
18:12:16.227:     cqp:          0
18:12:16.227:     keyint:       250
18:12:16.227:     preset:       hp
18:12:16.227:     profile:      baseline
18:12:16.227:     level:        auto
18:12:16.227:     width:        1920
18:12:16.227:     height:       1080
18:12:16.227:     2-pass:       true
18:12:16.227:     b-frames:     2
18:12:16.227:     GPU:          0
18:12:16.227:
18:12:16.473: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Generic error in an external library

Edit:

Here is the log file when I do get NVENC working after I use x264 for a bit.
 
Last edited:
Top