NVEC recording no longer working, please help.

bastiandashoota

New Member
I'v been using OBS Studio for a while now, I've managed to record and stream just fine.
Recently I switched to NVEC as I found out it provides better quality, everything was goin smoothly until today.
I was editing a video earlier today that I just recorded at the time, everything was perfect until I saved the file to edit it later.
Less than an hour ago I tried to open the project back up on Premiere Pro and realized the audio somehow got corrupted, I checked the original source I recorded on OBS and found out that was also corrupted. I later checked back on a few other recordings from today and the audio was messed up in all of them. I launched OBS and recorded a test video, it allowed me to record, the micrphone input was showing activity but it failed to output audio. I checked settings and everything was as it usually is. I restarted my PC, and when I opened OBS Studio back up I got this message;

"Starting the output failed. Please check the log for details"

When I checked the log, this was the errors I found;

02:54:04.121: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
02:54:04.123: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
02:54:04.170: [AMF] AMF Test failed due to one or more errors.
02:54:04.170: Failed to initialize module 'enc-amf.dll'
02:54:04.193: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
02:54:04.194: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
02:54:04.194: (127)
02:54:04.194: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
02:54:04.196: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
02:54:04.198: [obs-browser]: Version 2.1.5
02:54:04.198: [obs-browser]: Blacklisted device detected, disabling browser source hardware acceleration.
02:54:04.203: NVENC supported
02:54:04.230: Couldn't find VLC installation, VLC video source disabled
02:54:04.238: No blackmagic support


also;
02:54:45.538: error: InitializeEncoder failed: invalid param (8)
02:54:45.565: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Invalid argument
02:54:47.818: ==== Shutting down ==================================================


NVEC was working fine for me up until about an hour ago after my files were corrupted, I even tried redowloading the most recent NVIDIA drivers but had no luck.
 

koala

Active Member
Please post the complete log, not a cut version of parts that look interesting to you. You extracted the error message but cut the crucial stuff that leads to the solution.
 

bastiandashoota

New Member
03:20:02.537: CPU Name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
03:20:02.537: CPU Speed: 2808MHz
03:20:02.537: Physical Cores: 4, Logical Cores: 8
03:20:02.537: Physical Memory: 16267MB Total, 10297MB Free
03:20:02.537: Windows Version: 10.0 Build 18362 (revision: 900; 64-bit)
03:20:02.537: Running as administrator: false
03:20:02.537: Aero is Enabled (Aero is always on for windows 8 and above)
03:20:02.537: Windows 10 Gaming Features:
03:20:02.538: Game Bar: On
03:20:02.538: Game DVR: On
03:20:02.538: Game DVR Background Recording: On
03:20:02.539: Sec. Software Status:
03:20:02.542: Windows Defender Antivirus: disabled (AV)
03:20:02.542: Avast Antivirus: temporarily disabled (AV)
03:20:02.545: Windows Firewall: enabled (FW)
03:20:02.545: Browser Hardware Acceleration: true
03:20:02.545: Portable mode: false
03:20:02.643: OBS 22.0.2 (64-bit, windows)
03:20:02.643: ---------------------------------
03:20:02.663: ---------------------------------
03:20:02.663: audio settings reset:
03:20:02.663: samples per sec: 44100
03:20:02.663: speakers: 2
03:20:02.664: ---------------------------------
03:20:02.664: Initializing D3D11...
03:20:02.664: Available Video Adapters:
03:20:02.675: Adapter 1: Intel(R) HD Graphics 630
03:20:02.675: Dedicated VRAM: 134217728
03:20:02.675: Shared VRAM: 4233938944
03:20:02.676: output 1: pos={0, 0}, size={1920, 1080}, attached=true
03:20:02.676: Adapter 2: NVIDIA GeForce GTX 1060
03:20:02.676: Dedicated VRAM: 2051014656
03:20:02.676: Shared VRAM: 4233938944
03:20:02.686: Loading up D3D11 on adapter Intel(R) HD Graphics 630 (0)
03:20:02.698: D3D11 loaded successfully, feature level used: 45056
03:20:03.442: ---------------------------------
03:20:03.442: video settings reset:
03:20:03.442: base resolution: 3840x1080
03:20:03.442: output resolution: 3840x1080
03:20:03.442: downscale filter: Bicubic
03:20:03.442: fps: 30/1
03:20:03.442: format: NV12
03:20:03.442: YUV mode: 601/Partial
03:20:03.443: Audio monitoring device:
03:20:03.443: name: Default
03:20:03.443: id: default
03:20:03.443: ---------------------------------
03:20:03.446: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
03:20:03.448: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
03:20:03.502: [AMF] AMF Test failed due to one or more errors.
03:20:03.502: Failed to initialize module 'enc-amf.dll'
03:20:03.521: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
03:20:03.521: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
03:20:03.521: (127)
03:20:03.521: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
03:20:03.523: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
03:20:03.524: [obs-browser]: Version 2.1.5
03:20:03.524: [obs-browser]: Blacklisted device detected, disabling browser source hardware acceleration.
03:20:03.528: NVENC supported
03:20:03.554: Couldn't find VLC installation, VLC video source disabled
03:20:03.562: No blackmagic support
03:20:03.571: ---------------------------------
03:20:03.571: Loaded Modules:
03:20:03.571: win-wasapi.dll
03:20:03.571: win-mf.dll
03:20:03.571: win-dshow.dll
03:20:03.571: win-decklink.dll
03:20:03.571: win-capture.dll
03:20:03.571: vlc-video.dll
03:20:03.571: text-freetype2.dll
03:20:03.571: rtmp-services.dll
03:20:03.571: obs-x264.dll
03:20:03.571: obs-vst.dll
03:20:03.571: obs-transitions.dll
03:20:03.571: obs-text.dll
03:20:03.571: obs-qsv11.dll
03:20:03.571: obs-outputs.dll
03:20:03.571: obs-filters.dll
03:20:03.571: obs-ffmpeg.dll
03:20:03.571: obs-browser.dll
03:20:03.571: image-source.dll
03:20:03.571: frontend-tools.dll
03:20:03.571: enc-amf.dll
03:20:03.571: coreaudio-encoder.dll
03:20:03.571: ---------------------------------
03:20:03.571: ==== Startup complete ===============================================
03:20:03.575: All scene data cleared
03:20:03.575: ------------------------------------------------
03:20:03.639: WASAPI: Device 'Speakers (Realtek High Definition Audio(SST))' initialized
03:20:03.680: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
03:20:03.790: WASAPI: Device 'Microphone Array (Realtek High Definition Audio(SST))' initialized
03:20:03.791: Failed to open file 'D:/SSS/LimeLight Logo.png': No such file or directory
03:20:03.791: gs_image_file_init: Failed to load file 'D:/SSS/LimeLight Logo.png'
03:20:03.791: [image_source: 'LimeLight Logo'] failed to load texture 'D:/SSS/LimeLight Logo.png'
03:20:03.796: Switched to scene 'Recording'
03:20:03.796: ------------------------------------------------
03:20:03.796: Loaded scenes:
03:20:03.796: - scene 'stream':
03:20:03.796: - source: 'Screen' (monitor_capture)
03:20:03.796: - source: 'webcam' (dshow_input)
03:20:03.796: - source: 'overlay' (browser_source)
03:20:03.796: - source: 'follower goal 2' (browser_source)
03:20:03.796: - source: 'LimeLight Logo' (image_source)
03:20:03.796: - source: 'Chat' (browser_source)
03:20:03.796: - scene 'BRB':
03:20:03.796: - source: 'overlay 2' (browser_source)
03:20:03.796: - source: 'follower goal 2' (browser_source)
03:20:03.796: - scene 'Stream starting soon':
03:20:03.796: - source: 'overlay 1' (browser_source)
03:20:03.796: - source: 'follower goal 2' (browser_source)
03:20:03.796: - scene 'stream ended':
03:20:03.796: - source: 'ovrlay 3' (browser_source)
03:20:03.796: - source: 'follower goal 2' (browser_source)
03:20:03.796: - scene 'Recording':
03:20:03.796: - source: 'Screen' (monitor_capture)
03:20:03.796: - source: 'webcam' (dshow_input)
03:20:03.796: - source: 'webcam overlay' (browser_source)
03:20:03.796: ------------------------------------------------
03:20:03.972: ---------------------------------
03:20:03.972: [DShow Device: 'webcam'] settings updated:
03:20:03.972: video device: HD WebCam
03:20:03.972: video path: \\?\usb#vid_0408&pid_a060&mi_00#6&391c16c1&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
03:20:03.972: resolution: 1280x720
03:20:03.972: fps: 30.00 (interval: 333333)
03:20:03.972: format: MJPEG
03:20:03.976: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
03:20:03.976:
03:20:07.236: ---------------------------------
03:20:07.236: [NVENC encoder: 'recording_h264'] settings:
03:20:07.236: rate_control: VBR
03:20:07.236: bitrate: 6500
03:20:07.236: cqp: 23
03:20:07.236: keyint: 250
03:20:07.236: preset: hp
03:20:07.236: profile: high
03:20:07.236: level: 1.3
03:20:07.236: width: 3840
03:20:07.236: height: 1080
03:20:07.236: 2-pass: true
03:20:07.236: b-frames: 1
03:20:07.236: GPU: 0
03:20:07.236:
03:20:07.421: error: InitializeEncoder failed: invalid param (8)
03:20:07.457: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Invalid argument
03:20:21.792: ==== Shutting down ==================================================
03:20:21.800: Switched to scene '(null)'
03:20:22.068: WASAPI: Device 'Speakers (Realtek High Definition Audio(SST))' Terminated
03:20:22.073: WASAPI: Device 'Microphone Array (Realtek High Definition Audio(SST))' Terminated
03:20:22.093: All scene data cleared
03:20:22.093: ------------------------------------------------
03:20:22.164: Freeing OBS context data
03:20:22.404: [Scripting] Total detached callbacks: 0
03:20:22.410: == Profiler Results =============================
03:20:22.410: run_program_init: 1815.44 ms
03:20:22.410: ┣OBSApp::AppInit: 26.426 ms
03:20:22.410: ┃ ┗OBSApp::InitLocale: 1.476 ms
03:20:22.410: ┗OBSApp::OBSInit: 1772.43 ms
03:20:22.410: ┣obs_startup: 8.19 ms
03:20:22.410: ┗OBSBasic::OBSInit: 1260.95 ms
03:20:22.410: ┣OBSBasic::InitBasicConfig: 0.605 ms
03:20:22.410: ┣OBSBasic::ResetAudio: 0.181 ms
03:20:22.410: ┣OBSBasic::ResetVideo: 779.586 ms
03:20:22.410: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
03:20:22.410: ┣OBSBasic::InitHotkeys: 0.066 ms
03:20:22.410: ┣obs_load_all_modules: 127.509 ms
03:20:22.410: ┃ ┣obs_init_module(coreaudio-encoder.dll): 1.246 ms
03:20:22.410: ┃ ┣obs_init_module(enc-amf.dll): 52.833 ms
03:20:22.410: ┃ ┣obs_init_module(frontend-tools.dll): 3.935 ms
03:20:22.410: ┃ ┣obs_init_module(image-source.dll): 0.004 ms
03:20:22.410: ┃ ┣obs_init_module(obs-browser.dll): 0.431 ms
03:20:22.410: ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.029 ms
03:20:22.410: ┃ ┃ ┗nvenc_check: 0.963 ms
03:20:22.410: ┃ ┣obs_init_module(obs-filters.dll): 0.009 ms
03:20:22.410: ┃ ┣obs_init_module(obs-outputs.dll): 0.006 ms
03:20:22.410: ┃ ┣obs_init_module(obs-qsv11.dll): 12.488 ms
03:20:22.410: ┃ ┣obs_init_module(obs-text.dll): 0.271 ms
03:20:22.410: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
03:20:22.410: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
03:20:22.410: ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
03:20:22.410: ┃ ┣obs_init_module(rtmp-services.dll): 1.621 ms
03:20:22.410: ┃ ┣obs_init_module(text-freetype2.dll): 0.086 ms
03:20:22.410: ┃ ┣obs_init_module(vlc-video.dll): 0.041 ms
03:20:22.410: ┃ ┣obs_init_module(win-capture.dll): 0.099 ms
03:20:22.410: ┃ ┣obs_init_module(win-decklink.dll): 5.825 ms
03:20:22.410: ┃ ┣obs_init_module(win-dshow.dll): 5.755 ms
03:20:22.410: ┃ ┣obs_init_module(win-mf.dll): 0 ms
03:20:22.410: ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
03:20:22.410: ┃ ┗reset_win32_symbol_paths: 0.065 ms
03:20:22.410: ┣OBSBasic::ResetOutputs: 0.526 ms
03:20:22.410: ┣OBSBasic::CreateHotkeys: 0.166 ms
03:20:22.410: ┣OBSBasic::InitService: 1.322 ms
03:20:22.410: ┣OBSBasic::InitPrimitives: 0.404 ms
03:20:22.410: ┗OBSBasic::Load: 229.924 ms
03:20:22.410: obs_hotkey_thread(25 ms): min=0.005 ms, median=0.011 ms, max=0.646 ms, 99th percentile=0.148 ms, 100% below 25 ms
03:20:22.410: audio_thread(Audio): min=0 ms, median=0.033 ms, max=2.377 ms, 99th percentile=0.772 ms
03:20:22.410: obs_graphics_thread(33.3333 ms): min=0.091 ms, median=1.247 ms, max=15.823 ms, 99th percentile=4.711 ms, 100% below 33.333 ms
03:20:22.410: ┣tick_sources: min=0.002 ms, median=0.143 ms, max=7.411 ms, 99th percentile=0.933 ms
03:20:22.410: ┣output_frame: min=0.059 ms, median=0.176 ms, max=8.031 ms, 99th percentile=2.881 ms
03:20:22.410: ┃ ┗gs_context(video->graphics): min=0.058 ms, median=0.175 ms, max=8.03 ms, 99th percentile=2.88 ms
03:20:22.410: ┃ ┣render_video: min=0.013 ms, median=0.119 ms, max=4.01 ms, 99th percentile=2.683 ms
03:20:22.410: ┃ ┃ ┗render_main_texture: min=0.008 ms, median=0.113 ms, max=3.985 ms, 99th percentile=2.674 ms
03:20:22.410: ┃ ┗gs_flush: min=0.021 ms, median=0.048 ms, max=1.344 ms, 99th percentile=0.588 ms
03:20:22.410: ┗render_displays: min=0 ms, median=0.588 ms, max=13.485 ms, 99th percentile=3.258 ms
03:20:22.410: =================================================
03:20:22.410: == Profiler Time Between Calls ==================
03:20:22.410: obs_hotkey_thread(25 ms): min=24.906 ms, median=25.86 ms, max=28.034 ms, 26.1842% within ±2% of 25 ms (0% lower, 73.8158% higher)
03:20:22.410: obs_graphics_thread(33.3333 ms): min=20.721 ms, median=33.333 ms, max=45.941 ms, 94.4643% within ±2% of 33.333 ms (2.67857% lower, 2.85714% higher)
03:20:22.410: =================================================
03:20:22.426: Number of memory leaks: 0
 

koala

Active Member
In the encoding settings, set level from 1.3 to auto.
Update OBS. You're using a very old version.
 
Top