locaal-ai / obs-backgroundremoval

An OBS plugin for removing background in portrait images (video), making it easy to replace the background when recording or streaming.
GNU General Public License v2.0
2.98k stars 203 forks source link

OBS does not load plugin #574

Closed pedjas closed 6 months ago

pedjas commented 7 months ago

Describe the bug

I installed plugin using exe but OBS does not load it. It shows in log that it supposedly cannot find dll.

To Reproduce

OBS Studio is installed in C:\Program Files\obs-studio\

Plugin is installed using 64bit exe.

DLL is located at C:\Program Files\obs-studio\obs-plugins\64bit\obs-backgroundremoval.dll

When OBS Studio is started it does not load plugin. Plugin does not show in Filters.

I found this in log:

14:58:08.019: LoadLibrary failed for '../../obs-plugins/64bit/obs-backgroundremoval.dll': The specified module could not be found. 14:58:08.019: (126) 14:58:08.020: Module '../../obs-plugins/64bit/obs-backgroundremoval.dll' not loaded

Expected behavior

Plugin should load.

Log and Crash Report

14:58:08.019: LoadLibrary failed for '../../obs-plugins/64bit/obs-backgroundremoval.dll': The specified module could not be found. 14:58:08.019: (126) 14:58:08.020: Module '../../obs-plugins/64bit/obs-backgroundremoval.dll' not loaded

OBS Studio does not crash so no Crash Report is created.

Desktop (please complete the following information):

Additional context

I read that it is possible that DLL has some dependency that does not load but in plugin description there is no mention on dependencies.

umireon commented 7 months ago

Please provide us the full log.

royshil commented 7 months ago

@pedjas can you make sure the DirectML.dll file also exists in the plugins folder alongside the pluging dll?

alexander-korotkiy commented 6 months ago

@pedjas can you make sure the DirectML.dll file also exists in the plugins folder alongside the pluging dll?

Have the same issue. File DirectML.dll is located in same direcoty with plugin dll file

umireon commented 6 months ago

@royshil Can we close this issue as stalled as the original author does not respond?

umireon commented 6 months ago

@alexander-korotkiy Please consider filing a new issue with your detailed description.

royshil commented 6 months ago

closing stale