Question / Help OBS runs in background - Unable to load 'amfrt64.dll', error code 126.

Beachdancer

New Member
OBSD worked for a day, but now runs without appearing on the screen. Windows 10 may have updated since OBS worked and so may have changed something.

In Task Manager I can see OBS as a background process but not as an App.


On clicking to run the software, a window opens for a moment and dissapears without really opening.

Yesterday it was working, then windows updated.


The log says

22:59:17.378: ---------------------------------
22:59:17.427: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:59:17.468: [AMF Encoder] Version 1.4.2.3
22:59:17.468: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:59:17.468: [AMF Encoder] Uncaught Exception: Unable to load 'amfrt64.dll', error code 126.
22:59:18.013: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:59:18.070: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:59:18.169: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:59:18.223: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:59:18.223: [browser_source: 'Version: 1.26.0']
22:59:19.080: NVENC supported
22:59:21.140: Couldn't find VLC installation, VLC video source disabled
22:59:21.302: No blackmagic support
22:59:22.969: ---------------------------------





The full log is here:

23:46:14.008: CPU Name: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
23:46:14.008: CPU Speed: 3592MHz
23:46:14.008: Physical Cores: 4, Logical Cores: 8
23:46:14.008: Physical Memory: 2047MB Total, 2047MB Free (NOTE: 2 or 4 gigs max is normal for 32bit programs)
23:46:14.008: Windows Version: 10.0 Build 10586 (revision: 589; 64-bit)
23:46:14.008: Running as administrator: true
23:46:14.008: Aero is Enabled (Aero is always on for windows 8 and above)
23:46:14.008: Portable mode: false
23:46:14.016: OBS 0.16.6 (windows)
23:46:14.016: ---------------------------------
23:46:14.017: ---------------------------------
23:46:14.017: audio settings reset:
23:46:14.017: samples per sec: 44100
23:46:14.017: speakers: 2
23:46:14.018: ---------------------------------
23:46:14.018: Initializing D3D11..
23:46:14.018: Available Video Adapters:
23:46:14.019: Adapter 1: NVIDIA Quadro K2000
23:46:14.019: Dedicated VRAM: 2115698688
23:46:14.019: Shared VRAM: 2179203072
23:46:14.019: output 1: pos={0, 0}, size={2560, 1440}, attached=true
23:46:14.019: output 2: pos={2560, 0}, size={1024, 1280}, attached=true
23:46:14.021: Loading up D3D11 on adapter NVIDIA Quadro K2000 (0)
23:46:14.038: D3D11 loaded sucessfully, feature level used: 45056
23:46:14.490: ---------------------------------
23:46:14.490: video settings reset:
23:46:14.490: base resolution: 2560x1440
23:46:14.490: output resolution: 1280x720
23:46:14.490: downscale filter: Bicubic
23:46:14.490: fps: 25/1
23:46:14.490: format: NV12
23:46:14.491: ---------------------------------
23:46:14.492: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
23:46:14.493: [AMF Encoder] Version 1.4.2.3
23:46:14.493: [AMF Encoder] Unable to load 'amfrt32.dll', error code 126.
23:46:14.493: [AMF Encoder] Uncaught Exception: Unable to load 'amfrt32.dll', error code 126.
23:46:14.593: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libcef.dll' not found, loading of module failed
23:46:14.593: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libEGL.dll' not found, loading of module failed
23:46:14.594: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libGLESv2.dll' not found, loading of module failed
23:46:14.595: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:46:14.595: [browser_source: 'Version: 1.26.0']
23:46:14.968: NVENC supported
23:46:15.016: Couldn't find VLC installation, VLC video source disabled
23:46:15.020: No blackmagic support
23:46:15.043: ---------------------------------
23:46:15.043: Loaded Modules:
23:46:15.043: win-wasapi.dll
23:46:15.043: win-mf.dll
23:46:15.043: win-dshow.dll
23:46:15.043: win-decklink.dll
23:46:15.043: win-capture.dll
23:46:15.043: vlc-video.dll
23:46:15.043: text-freetype2.dll
23:46:15.043: rtmp-services.dll
23:46:15.043: obs-x264.dll
23:46:15.043: obs-transitions.dll
23:46:15.043: obs-text.dll
23:46:15.043: obs-qsv11.dll
23:46:15.043: obs-outputs.dll
23:46:15.043: obs-filters.dll
23:46:15.043: obs-ffmpeg.dll
23:46:15.043: obs-browser.dll
23:46:15.043: image-source.dll
23:46:15.043: frontend-tools.dll
23:46:15.043: enc-amf.dll
23:46:15.043: coreaudio-encoder.dll
23:46:15.043: ==== Startup complete ===============================================
23:46:15.044: Service '' not found
23:46:15.045: All scene data cleared
23:46:15.045: ------------------------------------------------
23:46:15.070: WASAPI: Device 'Altavoces (USB Audio CODEC )' initialized
23:46:15.078: WASAPI: Device 'Micrófono (USB Audio CODEC )' initialized
23:46:15.081: Switched to scene 'Scene'
23:46:15.081: ------------------------------------------------
23:46:15.082: Loaded scenes:
23:46:15.082: - scene 'Scene':
23:46:15.082: - source: 'Display Capture dragon' (monitor_capture)
23:46:15.082: ------------------------------------------------
23:46:15.119: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
23:46:15.625: Update check: last known remote version is 0.16.6
 

sekkuar

New Member
"Unable to load 'amfrt64.dll', error code 126." only means your GPU doesn't support the AMD plugins
(because your GPU is Nvidia)

"NVENC supported" means it managed to load the Nvidia plugins, so it's working correctly.

That is NOT the cause of your issue.
 

RytoEX

Forum Admin
Forum Moderator
Developer
Please provide a log from that session so that we know that Portable Mode was correctly enabled. Please also upload full uncut log files so that we can see the log from start to finish. You can use the "Upload a File" button below.

Have you checked to see if the OBS tray icon is in your system tray? If it is, can you right-click it and check if the menu says "Hide" or "Show"? Try toggling that a couple of times.
 

Beachdancer

New Member
Please provide a log from that session so that we know that Portable Mode was correctly enabled. Please also upload full uncut log files so that we can see the log from start to finish. You can use the "Upload a File" button below.

Have you checked to see if the OBS tray icon is in your system tray? If it is, can you right-click it and check if the menu says "Hide" or "Show"? Try toggling that a couple of times.

The log says portable m0de false. This is what I ran:

"C:\Program Files (x86)\obs-studio\bin\32bit\obs32.exe" --p





TYrying again with --portable (copied and pasted from the forum page on how to do it.


That produced a different failure... an error window saying failed to create directory- ../../config/obs-studio/basic

It didn't produce a log

I don't know what is a system tray is or where to find it.

The log file in my orginal post is a full uncut one.
 

RytoEX

Forum Admin
Forum Moderator
Developer
Using "--p" did not work because the command-line option to engage Portable Mode is apparently "--portable" (two hyphens) or "-p" (one hyphen). I am aware that the guide on this says "--p" with two hyphens.

Your OBS Studio installation is in your Program Files folder, which usually requires administrative access to modify/add/remove files or folders in it. Since Portable Mode creates its own configuration directory inside the installation folder, it couldn't do that without administrative access, so that is probably what caused the error you saw. Creating an installation just for Portable Mode is probably easiest here, as @Suslik V suggested.

A system tray is the "tray" of icons usually located next to the system clock in your system taskbar, often called the Start Bar on Windows (the bar that contains the Start Menu).

That log doesn't show the OBS shutdown process, so it's not immediately apparent that it is a full log. It is easier to review logs as attachments or uploads than as embedded in forum posts. Also, forum posts have character limits.
 
Top