occ-ai/obs-backgroundremoval

Background removal filter does not show up although module is loaded

Closed this issue · 2 comments

The plugin is successfully loaded according to the logs but it does still not show up in the filters. This is Ubuntu 23.10, completely updated. The plugin was installed with dpkg -i, the package was downloaded from here from the releases page (latest release as of today).

OBS itself works fine as usual

Expected behavior

The "Background Removal" shall show up in the filters, after pressing the "+" in the Filters Window. But it doesn't.

Log and Crash Report

This log shows that the plugin was loaded.

11:05:32.400: Using EGL/X11
11:05:32.400: CPU Name: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
11:05:32.400: CPU Speed: 3721.311MHz
11:05:32.401: Physical Cores: 4, Logical Cores: 8
11:05:32.401: Physical Memory: 15640MB Total, 7066MB Free
11:05:32.401: Kernel Version: Linux 6.5.0-14-generic
11:05:32.401: Distribution: "Ubuntu" "23.10"
11:05:32.401: Desktop Environment: KDE (KDE)
11:05:32.401: Session Type: x11
11:05:32.401: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
11:05:32.402: Qt Version: 5.15.10 (runtime), 5.15.10 (compiled)
11:05:32.402: Portable mode: false
11:05:32.446: OBS 29.1.3.1-2 (linux)
11:05:32.446: ---------------------------------
11:05:32.447: ---------------------------------
11:05:32.447: audio settings reset:
11:05:32.447: 	samples per sec: 48000
11:05:32.447: 	speakers:        2
11:05:32.447: 	max buffering:   960 milliseconds
11:05:32.447: 	buffering type:  dynamically increasing
11:05:32.448: ---------------------------------
11:05:32.448: Initializing OpenGL...
11:05:32.472: Loading up OpenGL on adapter Intel Mesa Intel(R) UHD Graphics 620 (WHL GT2)
11:05:32.472: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1, shading language 4.60
11:05:32.503: ---------------------------------
11:05:32.503: video settings reset:
11:05:32.503: 	base resolution:   1280x720
11:05:32.503: 	output resolution: 1280x720
11:05:32.503: 	downscale filter:  Bicubic
11:05:32.503: 	fps:               30/1
11:05:32.503: 	format:            NV12
11:05:32.503: 	YUV mode:          Rec. 709/Partial
11:05:32.503: NV12 texture support not available
11:05:32.503: P010 texture support not available
11:05:32.507: Audio monitoring device:
11:05:32.507: 	name: Default
11:05:32.507: 	id: default
11:05:32.507: ---------------------------------
11:05:32.508: Failed to load 'en-US' text for module: 'decklink-captions.so'
11:05:32.509: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
11:05:32.510: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
11:05:32.510: Failed to initialize module 'decklink.so'
11:05:32.539: [pipewire] Available captures:
11:05:32.539: [pipewire]     - Desktop capture
11:05:32.539: [pipewire]     - Window capture
11:05:32.561: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
11:05:32.561: obs_register_source: Tried to register obs_source_info with size 408 which is more than libobs currently supports (400)
11:05:32.561: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.10)
11:05:32.587: VAAPI: API version 1.19
11:05:32.587: FFmpeg VAAPI H264 encoding supported
11:05:32.588: FFmpeg VAAPI HEVC encoding not supported
11:05:32.593: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.2.3 | RPC Version: 1)
11:05:32.593: [obs-websocket] [obs_module_load] Qt version (compile-time): 5.15.10 | Qt version (run-time): 5.15.10
11:05:32.593: [obs-websocket] [obs_module_load] Linked ASIO Version: 102201
11:05:32.597: [obs-websocket] [obs_module_load] Module loaded.
11:05:32.603: [vlc-video]: VLC 3.0.18 Vetinari found, VLC video source enabled
11:05:32.603: ---------------------------------
11:05:32.603:   Loaded Modules:
11:05:32.603:     vlc-video.so
11:05:32.603:     text-freetype2.so
11:05:32.603:     rtmp-services.so
11:05:32.603:     obs-x264.so
11:05:32.603:     obs-websocket.so
11:05:32.603:     obs-transitions.so
11:05:32.603:     obs-outputs.so
11:05:32.603:     obs-filters.so
11:05:32.603:     obs-ffmpeg.so
11:05:32.603:     obs-backgroundremoval.so
11:05:32.603:     linux-v4l2.so
11:05:32.603:     linux-pulseaudio.so
11:05:32.603:     linux-pipewire.so
11:05:32.603:     linux-jack.so
11:05:32.603:     linux-capture.so
11:05:32.603:     linux-alsa.so
11:05:32.603:     image-source.so
11:05:32.603:     frontend-tools.so
11:05:32.603:     decklink-output-ui.so
11:05:32.603:     decklink-captions.so
11:05:32.603: ---------------------------------
11:05:32.604: ==== Startup complete ===============================================
11:05:32.661: All scene data cleared
11:05:32.661: ------------------------------------------------
11:05:32.665: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.79) 15.0.0'
11:05:32.665: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
11:05:32.665: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor' (default)
11:05:32.665: [Loaded global audio device]: 'Desktop Audio'
11:05:32.666: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.79) 15.0.0'
11:05:32.666: pulse-input: Audio format: s32le, 48000 Hz, 1 channels
11:05:32.666: pulse-input: Started recording from 'alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.HiFi__scarlett2i_mono_in_USB_0_0__source' (default)
11:05:32.666: [Loaded global audio device]: 'Mic/Aux'
11:05:32.667: v4l2-input: Start capture from /dev/video1
11:05:32.667: v4l2-input: Input: 0
11:05:32.671: v4l2-input: Resolution: 1280x720
11:05:32.671: v4l2-input: Pixelformat: MJPG
11:05:32.671: v4l2-input: Linesize: 0 Bytes
11:05:32.671: v4l2-input: Framerate: 30.00 fps
11:05:32.672: v4l2-input: /dev/video1: select timeout set to 166666 (5x frame periods)
11:05:32.674: Switched to scene 'Scene'
11:05:32.674: ------------------------------------------------
11:05:32.674: Loaded scenes:
11:05:32.674: - scene 'Scene':
11:05:32.674:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
11:05:32.674: ------------------------------------------------
11:05:33.237: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Mic/Aux)
11:05:33.237: 
11:05:33.258: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio)
11:05:33.258: 

Desktop (please complete the following information):

  • OS: Ubuntu 23.10 (Mantic Minotaur)
  • Plugin Version: 1.1.10
  • OBS Version: 29.1.3.1-2 (64 Bit)

OBS is installed from the standard Ubuntu repo, the plugin was installed from the package found on this Git repo under the releases section.

@rahra Can you post here a screenshot that indicates our plugin is not loaded properly? Make sure that you check the list under the Effects filters. And please use the PPA version of OBS.
https://obsproject.com/ja/download

Ok, I installed the version from your ppa and I had to remove the config folder ~/.config/obs-studio and now it works. The filter is under the Effects filters as expected.
To make sure that it was not something in the config I went back to the original version from the Ubuntu repository but it still didn't work. So their package seems to be broken in some way.

Just to sum up: the solution was to install OBS from your PPA and deleting the config folder to have a fresh start.