Question / Help Starting the output failed: NVENC encoder

kokowang

Member
Trying to start a recording or stream using the NVENC encoder does not work.

Attempted (failed) fixes:
>Reinstall Geforce drivers
>Uninstall Geforce drivers using Display Driver Uninstaller in Safe mode and install fresh drivers
>Uninstall OBS and clear user settings, then reinstall OBS
>Tried both 32bit and 64bit versions
>Swapping out the GPU with a spare that also has NVENC

Specs:
i7 8700k
EVGA GTX 1060 6GB SSC
Nvidia GTX 1070
Windows 10 Version 1803 Build 17134

Notes:
NVENC works in FFMPEG (command line)
NVENC works in electron apps such as parsec
NVENC has worked in the past on this computer on OBS on this OS
No other programs installed that has any potential to interfere with OBS as far as I can tell
x264 encoding works fine
Custom FFMPEG Output with NVENC in OBS does not work (see below)
Code:
17:58:00.281: Failed to open video codec: Function not implemented
17:58:00.281: ffmpeg_data_init failed
17:58:00.281: ==== Recording Stop ================================================


Logs:
Code:
17:50:27.941: CPU Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
17:50:27.941: CPU Speed: 3696MHz
17:50:27.941: Physical Cores: 6, Logical Cores: 12
17:50:27.941: Physical Memory: 16308MB Total, 13390MB Free
17:50:27.941: Windows Version: 10.0 Build 17134 (revision: 165; 64-bit)
17:50:27.941: Running as administrator: false
17:50:27.941: Aero is Enabled (Aero is always on for windows 8 and above)
17:50:27.941: Windows 10 Gaming Features:
17:50:27.941:     Game Bar: Off
17:50:27.941:     Game DVR: Off
17:50:27.941:     Game DVR Background Recording: Off
17:50:27.942: Sec. Software Status:
17:50:27.943:     Windows Defender Antivirus: disabled (AV)
17:50:27.944:     Windows Firewall: disabled (FW)
17:50:27.944:     Windows Defender Antivirus: disabled (ASW)
17:50:27.944: Portable mode: false
17:50:28.006: OBS 21.1.2 (64bit, windows)
17:50:28.006: ---------------------------------
17:50:28.013: ---------------------------------
17:50:28.013: audio settings reset:
17:50:28.013:     samples per sec: 44100
17:50:28.013:     speakers:        2
17:50:28.014: ---------------------------------
17:50:28.014: Initializing D3D11...
17:50:28.014: Available Video Adapters:
17:50:28.015:     Adapter 1: NVIDIA GeForce GTX 1060 6GB
17:50:28.015:       Dedicated VRAM: 2102067200
17:50:28.015:       Shared VRAM:    4255242240
17:50:28.015:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:50:28.015:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
17:50:28.016: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
17:50:28.026: D3D11 loaded successfully, feature level used: 45056
17:50:28.490: ---------------------------------
17:50:28.490: video settings reset:
17:50:28.490:     base resolution:   1920x1080
17:50:28.490:     output resolution: 1280x720
17:50:28.490:     downscale filter:  Bicubic
17:50:28.490:     fps:               30/1
17:50:28.490:     format:            NV12
17:50:28.490:     YUV mode:          601/Partial
17:50:28.491: Audio monitoring device:
17:50:28.491:     name: Default
17:50:28.491:     id: default
17:50:28.491: ---------------------------------
17:50:28.491: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
17:50:28.494: [CoreAudio encoder]: Adding CoreAudio AAC encoder
17:50:28.507: [AMF] AMF Test failed due to one or more errors.
17:50:28.507: Failed to initialize module 'enc-amf.dll'
17:50:28.512: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
17:50:28.512: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
17:50:28.512:  (127)
17:50:28.512: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
17:50:28.513: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
17:50:28.513: [browser_source: 'Version: 1.31.0']
17:50:28.514: NVENC supported
17:50:28.556: Couldn't find VLC installation, VLC video source disabled
17:50:28.557: No blackmagic support
17:50:28.558: ---------------------------------
17:50:28.558:   Loaded Modules:
17:50:28.558:     win-wasapi.dll
17:50:28.558:     win-mf.dll
17:50:28.558:     win-dshow.dll
17:50:28.558:     win-decklink.dll
17:50:28.558:     win-capture.dll
17:50:28.558:     vlc-video.dll
17:50:28.558:     text-freetype2.dll
17:50:28.558:     rtmp-services.dll
17:50:28.558:     obs-x264.dll
17:50:28.558:     obs-vst.dll
17:50:28.558:     obs-transitions.dll
17:50:28.558:     obs-text.dll
17:50:28.558:     obs-qsv11.dll
17:50:28.558:     obs-outputs.dll
17:50:28.558:     obs-filters.dll
17:50:28.558:     obs-ffmpeg.dll
17:50:28.558:     obs-browser.dll
17:50:28.558:     image-source.dll
17:50:28.558:     frontend-tools.dll
17:50:28.558:     enc-amf.dll
17:50:28.558:     coreaudio-encoder.dll
17:50:28.558: ---------------------------------
17:50:28.558: ==== Startup complete ===============================================
17:50:28.562: Service '' not found
17:50:28.564: All scene data cleared
17:50:28.564: ------------------------------------------------
17:50:28.629: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
17:50:28.804: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
17:50:28.804: Switched to scene 'Scene'
17:50:28.804: ------------------------------------------------
17:50:28.804: Loaded scenes:
17:50:28.804: - scene 'Scene':
17:50:28.804: ------------------------------------------------
17:50:28.811: adding 139 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
17:50:42.083: Settings changed (outputs)
17:50:42.083: ------------------------------------------------
17:50:43.724: ---------------------------------
17:50:43.725: [NVENC encoder: 'simple_h264_stream'] settings:
17:50:43.725:     rate_control: CBR
17:50:43.725:     bitrate:      2500
17:50:43.725:     cqp:          0
17:50:43.725:     keyint:       250
17:50:43.725:     preset:       default
17:50:43.725:     profile:      main
17:50:43.725:     level:        auto
17:50:43.725:     width:        1280
17:50:43.725:     height:       720
17:50:43.725:     2-pass:       true
17:50:43.725:     b-frames:     2
17:50:43.725:     GPU:          0
17:50:43.725:
17:50:43.726: [NVENC encoder: 'simple_h264_stream'] Failed to open NVENC codec: Function not implemented
 
Last edited:
Top