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.96k stars 202 forks source link

plugin is not appearing in filters OBS studio #602

Open Anthomy93 opened 1 month ago

Anthomy93 commented 1 month ago

does this plugin support macOS 10.15?

the overview says it supports all macOS, but it doesn't work on mine.

can someone help please?

StevenRotelli commented 1 month ago

I had the same issue trying the manual installation, I'm also assuming you meant MacOS 15, which is what I'm using. Resolved it after installing with the .pkg

r3plica commented 1 month ago

I am having the same issue. I am on windows; tried with .exe and zip.

r3plica commented 1 month ago

restarting fixed it

Phero49 commented 4 weeks ago

restarting fixed it

it did not work for me am on linux

royshil commented 3 weeks ago

@Phero49 please provide OBS logs

didiber commented 3 weeks ago

Hello! i have the same here on linux debian MX/KDE. $ apt list --installed | grep '^obs' obs-backgroundremoval-dbgsym/now 1.1.13 amd64 [Installiert,lokal] obs-backgroundremoval/now 1.1.13 amd64 [Installiert,lokal] obs-plugins/stable,now 29.0.2+dfsg-1+b1 amd64 [installiert] obs-studio/stable,now 29.0.2+dfsg-1+b1 amd64 [installiert]

$ flatpak list | grep -i 'obs' Background Removal com.obsproject.Studio.Plugin.BackgroundRemoval 1.1.13 stable system DroidCam com.obsproject.Studio.Plugin.DroidCam 2.3.3 stable system Input Overlay com.obsproject.Studio.Plugin.InputOverlay stable system obs-ndi com.obsproject.Studio.Plugin.NDI 4.14.1 stable system OBS VkCapture com.obsproject.Studio.Plugin.OBSVkCapture 1.5.0 stable system RewardsTheater com.obsproject.Studio.Plugin.RewardsTheater 1.0.9 stable system Advanced Scene Switcher com.obsproject.Studio.Plugin.SceneSwitcher 1.28.0 stable system WebSocket Server (Legacy) com.obsproject.Studio.Plugin.WebSocket stable system Waveform com.obsproject.Studio.Plugin.waveform stable system OBS VkCapture tools org.freedesktop.Platform.VulkanLayer.OBSVkCapture 1.5.1 21.08 system

didiber commented 3 weeks ago

Same here Debian MX, KDE, info: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13) info: [obs-backgroundremoval] Failed to open config file /home/db/.config/obs-studio/plugin_config/obs-backgroundremoval/config.ini info: [obs-backgroundremoval] Failed to open config file /home/db/.config/obs-studio/plugin_config/obs-backgroundremoval/config.ini

$ flatpak list | grep -i 'obs' DroidCam com.obsproject.Studio.Plugin.DroidCam 2.3.3 stable system Input Overlay com.obsproject.Studio.Plugin.InputOverlay stable system obs-ndi com.obsproject.Studio.Plugin.NDI 4.14.1 stable system OBS VkCapture com.obsproject.Studio.Plugin.OBSVkCapture 1.5.0 stable system RewardsTheater com.obsproject.Studio.Plugin.RewardsTheater 1.0.9 stable system Advanced Scene Switcher com.obsproject.Studio.Plugin.SceneSwitcher 1.28.0 stable system WebSocket Server (Legacy) com.obsproject.Studio.Plugin.WebSocket stable system Waveform com.obsproject.Studio.Plugin.waveform stable system OBS VkCapture tools org.freedesktop.Platform.VulkanLayer.OBSVkCapture 1.5.1 21.08 system

apt list --installed | grep '^obs' obs-backgroundremoval-dbgsym/now 1.1.13 amd64 [Installiert,lokal] obs-backgroundremoval/now 1.1.13 amd64 [Installiert,lokal] obs-plugins/stable,now 29.0.2+dfsg-1+b1 amd64 [installiert] obs-studio/stable,now 29.0.2+dfsg-1+b1 amd64 [installiert]

didiber commented 3 weeks ago

I confirm, only works with flathab here on debian mx kde

Xlizurd commented 2 weeks ago

Same here, in MacOS, it doesn't appear where it was suposed to be.

Xlizurd commented 2 weeks ago

How can I provide the OBS logs? Sorry I'm not skilled in these questions.

Tridy commented 1 week ago

The same problem on LMDE 6:

the log says:

12:55:00.390: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13)

but it is not in the list of the filters

LMDE

12:55:00.228: Using EGL/X11
12:55:00.228: CPU Name: AMD Ryzen 7 5800X 8-Core Processor
12:55:00.228: CPU Speed: 3832.885MHz
12:55:00.228: Physical Cores: 8, Logical Cores: 16
12:55:00.228: Physical Memory: 31992MB Total, 17372MB Free
12:55:00.228: Kernel Version: Linux 6.1.0-27-amd64
12:55:00.228: Distribution: "LMDE" "6"
12:55:00.228: Session Type: x11
12:55:00.228: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
12:55:00.228: Qt Version: 5.15.8 (runtime), 5.15.8 (compiled)
12:55:00.228: Portable mode: false
12:55:00.248: OBS 29.0.2.1-1+b1 (linux)
12:55:00.248: ---------------------------------
12:55:00.248: ---------------------------------
12:55:00.248: audio settings reset:
12:55:00.248:   samples per sec: 48000
12:55:00.248:   speakers:        2
12:55:00.248:   max buffering:   960 milliseconds
12:55:00.248:   buffering type:  dynamically increasing
12:55:00.252: ---------------------------------
12:55:00.252: Initializing OpenGL...
12:55:00.332: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 3070/PCIe/SSE2
12:55:00.332: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.183.01, shading language 3.30 NVIDIA via Cg compiler
12:55:00.346: ---------------------------------
12:55:00.346: video settings reset:
12:55:00.346:   base resolution:   1920x1080
12:55:00.346:   output resolution: 1920x1080
12:55:00.346:   downscale filter:  Bicubic
12:55:00.346:   fps:               30/1
12:55:00.346:   format:            NV12
12:55:00.346:   YUV mode:          Rec. 709/Partial
12:55:00.346: NV12 texture support not available
12:55:00.346: P010 texture support not available
12:55:00.346: Audio monitoring device:
12:55:00.346:   name: Default
12:55:00.346:   id: default
12:55:00.346: ---------------------------------
12:55:00.347: Failed to load 'en-US' text for module: 'decklink-captions.so'
12:55:00.348: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
12:55:00.349: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
12:55:00.349: Failed to initialize module 'decklink.so'
12:55:00.384: [pipewire] No captures available
12:55:00.390: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
12:55:00.390: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
12:55:00.390: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13)
12:55:00.420: NVENC supported
12:55:00.420: VAAPI: Failed to initialize display in vaapi_device_h264_supported
12:55:00.420: FFmpeg VAAPI H264 encoding not supported
12:55:00.424: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.1.0 | RPC Version: 1)
12:55:00.424: [obs-websocket] [obs_module_load] Qt version (compile-time): 5.15.8 | Qt version (run-time): 5.15.8
12:55:00.424: [obs-websocket] [obs_module_load] Linked ASIO Version: 102201
12:55:00.428: [obs-websocket] [obs_module_load] Module loaded.
12:55:00.433: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
12:55:00.433: ---------------------------------
12:55:00.433:   Loaded Modules:
12:55:00.433:     vlc-video.so
12:55:00.433:     text-freetype2.so
12:55:00.433:     rtmp-services.so
12:55:00.433:     obs-x264.so
12:55:00.433:     obs-websocket.so
12:55:00.433:     obs-transitions.so
12:55:00.433:     obs-outputs.so
12:55:00.433:     obs-filters.so
12:55:00.433:     obs-ffmpeg.so
12:55:00.433:     obs-backgroundremoval.so
12:55:00.433:     linux-v4l2.so
12:55:00.433:     linux-pulseaudio.so
12:55:00.433:     linux-pipewire.so
12:55:00.433:     linux-jack.so
12:55:00.433:     linux-capture.so
12:55:00.433:     linux-alsa.so
12:55:00.433:     image-source.so
12:55:00.433:     frontend-tools.so
12:55:00.433:     decklink-output-ui.so
12:55:00.433:     decklink-captions.so
12:55:00.433: ---------------------------------
12:55:00.433: ==== Startup complete ===============================================
12:55:00.483: All scene data cleared
12:55:00.483: ------------------------------------------------
12:55:00.486: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.65) 15.0.0'
12:55:00.487: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
12:55:00.487: pulse-input: Started recording from 'alsa_output.pci-0000_07_00.4.analog-stereo.monitor' (default)
12:55:00.487: [Loaded global audio device]: 'Desktop Audio'
12:55:00.487: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.65) 15.0.0'
12:55:00.487: pulse-input: Audio format: s16le, 16000 Hz, 1 channels
12:55:00.487: pulse-input: Started recording from 'alsa_input.usb-Orosound_Tilde_Dongle_202206-000000645-00.mono-fallback' (default)
12:55:00.487: [Loaded global audio device]: 'Mic/Aux'
12:55:00.487: v4l2-input: Start capture from /dev/video0
12:55:00.561: v4l2-input: Input: 0
12:55:00.562: v4l2-input: Resolution: 1920x1080
12:55:00.562: v4l2-input: Pixelformat: BGR3
12:55:00.562: v4l2-input: Linesize: 5760 Bytes
12:55:00.562: v4l2-input: Framerate: 30.00 fps
12:55:00.564: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
12:55:00.565: Switched to scene 'Scene'
12:55:00.565: ------------------------------------------------
12:55:00.565: Loaded scenes:
12:55:00.565: - scene 'Scene':
12:55:00.565:     - source: 'Logitech Brio Camera' (v4l2_input)
12:55:00.565: ------------------------------------------------
12:55:01.272: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
12:55:01.272: 
12:55:01.549: v4l2-input: /dev/video0: select timed out
12:55:01.549: v4l2-input: /dev/video0: failed to log status
e2l1f3 commented 1 week ago

The same problem on LMDE 6:

the log says:

12:55:00.390: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13)

but it is not in the list of the filters

LMDE

12:55:00.228: Using EGL/X11
12:55:00.228: CPU Name: AMD Ryzen 7 5800X 8-Core Processor
12:55:00.228: CPU Speed: 3832.885MHz
12:55:00.228: Physical Cores: 8, Logical Cores: 16
12:55:00.228: Physical Memory: 31992MB Total, 17372MB Free
12:55:00.228: Kernel Version: Linux 6.1.0-27-amd64
12:55:00.228: Distribution: "LMDE" "6"
12:55:00.228: Session Type: x11
12:55:00.228: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
12:55:00.228: Qt Version: 5.15.8 (runtime), 5.15.8 (compiled)
12:55:00.228: Portable mode: false
12:55:00.248: OBS 29.0.2.1-1+b1 (linux)
12:55:00.248: ---------------------------------
12:55:00.248: ---------------------------------
12:55:00.248: audio settings reset:
12:55:00.248:     samples per sec: 48000
12:55:00.248:     speakers:        2
12:55:00.248:     max buffering:   960 milliseconds
12:55:00.248:     buffering type:  dynamically increasing
12:55:00.252: ---------------------------------
12:55:00.252: Initializing OpenGL...
12:55:00.332: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 3070/PCIe/SSE2
12:55:00.332: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.183.01, shading language 3.30 NVIDIA via Cg compiler
12:55:00.346: ---------------------------------
12:55:00.346: video settings reset:
12:55:00.346:     base resolution:   1920x1080
12:55:00.346:     output resolution: 1920x1080
12:55:00.346:     downscale filter:  Bicubic
12:55:00.346:     fps:               30/1
12:55:00.346:     format:            NV12
12:55:00.346:     YUV mode:          Rec. 709/Partial
12:55:00.346: NV12 texture support not available
12:55:00.346: P010 texture support not available
12:55:00.346: Audio monitoring device:
12:55:00.346:     name: Default
12:55:00.346:     id: default
12:55:00.346: ---------------------------------
12:55:00.347: Failed to load 'en-US' text for module: 'decklink-captions.so'
12:55:00.348: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
12:55:00.349: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
12:55:00.349: Failed to initialize module 'decklink.so'
12:55:00.384: [pipewire] No captures available
12:55:00.390: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
12:55:00.390: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
12:55:00.390: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13)
12:55:00.420: NVENC supported
12:55:00.420: VAAPI: Failed to initialize display in vaapi_device_h264_supported
12:55:00.420: FFmpeg VAAPI H264 encoding not supported
12:55:00.424: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.1.0 | RPC Version: 1)
12:55:00.424: [obs-websocket] [obs_module_load] Qt version (compile-time): 5.15.8 | Qt version (run-time): 5.15.8
12:55:00.424: [obs-websocket] [obs_module_load] Linked ASIO Version: 102201
12:55:00.428: [obs-websocket] [obs_module_load] Module loaded.
12:55:00.433: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
12:55:00.433: ---------------------------------
12:55:00.433:   Loaded Modules:
12:55:00.433:     vlc-video.so
12:55:00.433:     text-freetype2.so
12:55:00.433:     rtmp-services.so
12:55:00.433:     obs-x264.so
12:55:00.433:     obs-websocket.so
12:55:00.433:     obs-transitions.so
12:55:00.433:     obs-outputs.so
12:55:00.433:     obs-filters.so
12:55:00.433:     obs-ffmpeg.so
12:55:00.433:     obs-backgroundremoval.so
12:55:00.433:     linux-v4l2.so
12:55:00.433:     linux-pulseaudio.so
12:55:00.433:     linux-pipewire.so
12:55:00.433:     linux-jack.so
12:55:00.433:     linux-capture.so
12:55:00.433:     linux-alsa.so
12:55:00.433:     image-source.so
12:55:00.433:     frontend-tools.so
12:55:00.433:     decklink-output-ui.so
12:55:00.433:     decklink-captions.so
12:55:00.433: ---------------------------------
12:55:00.433: ==== Startup complete ===============================================
12:55:00.483: All scene data cleared
12:55:00.483: ------------------------------------------------
12:55:00.486: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.65) 15.0.0'
12:55:00.487: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
12:55:00.487: pulse-input: Started recording from 'alsa_output.pci-0000_07_00.4.analog-stereo.monitor' (default)
12:55:00.487: [Loaded global audio device]: 'Desktop Audio'
12:55:00.487: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.65) 15.0.0'
12:55:00.487: pulse-input: Audio format: s16le, 16000 Hz, 1 channels
12:55:00.487: pulse-input: Started recording from 'alsa_input.usb-Orosound_Tilde_Dongle_202206-000000645-00.mono-fallback' (default)
12:55:00.487: [Loaded global audio device]: 'Mic/Aux'
12:55:00.487: v4l2-input: Start capture from /dev/video0
12:55:00.561: v4l2-input: Input: 0
12:55:00.562: v4l2-input: Resolution: 1920x1080
12:55:00.562: v4l2-input: Pixelformat: BGR3
12:55:00.562: v4l2-input: Linesize: 5760 Bytes
12:55:00.562: v4l2-input: Framerate: 30.00 fps
12:55:00.564: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
12:55:00.565: Switched to scene 'Scene'
12:55:00.565: ------------------------------------------------
12:55:00.565: Loaded scenes:
12:55:00.565: - scene 'Scene':
12:55:00.565:     - source: 'Logitech Brio Camera' (v4l2_input)
12:55:00.565: ------------------------------------------------
12:55:01.272: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
12:55:01.272: 
12:55:01.549: v4l2-input: /dev/video0: select timed out
12:55:01.549: v4l2-input: /dev/video0: failed to log status

Mine says this same thing but it shows up in the filter it just doesn't remove the background for me.....