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.86k stars 196 forks source link

Filter not showing up after installation #416

Closed codeagencybe closed 1 year ago

codeagencybe commented 1 year ago

Describe the bug

The plugin is not showing after installation.

To Reproduce

Steps to reproduce the behavior: Downloaded the version for Macos universal. I'm running a Macbook pro M1 for disclosure installed the package restart OBS restart Macbook completely still no option showing under effects filters nor video filters there are no error messages or anything either from the installation, it all seems fine.

Expected behavior

According to your video instructions, it should give a new option in the filters but it doesn't

Screenshots

If applicable, add screenshots to help explain your problem.

Log and Crash Report

16:43:26.862: [macOS] Permission for audio device access granted.
16:43:26.865: [macOS] Permission for video device access granted.
16:43:26.868: [macOS] Permission for accessibility granted.
16:43:26.872: [macOS] Permission for screen capture granted.
16:43:26.872: Rosetta translation used: false
16:43:26.872: CPU Name: Apple M1 Pro
16:43:26.872: Physical Cores: 10, Logical Cores: 10
16:43:26.872: Physical Memory: 32768MB Total
16:43:26.872: OS Name: macOS
16:43:26.872: OS Version: Version 13.5 (Build 22G74)
16:43:26.872: Kernel Version: 22.6.0
16:43:26.873: hotkeys-cocoa: Using layout 'com.apple.keylayout.Belgian'
16:43:26.873: Current Date/Time: 2023-08-02, 16:43:26
16:43:26.873: Browser Hardware Acceleration: true
16:43:26.873: Qt Version: 6.3.1 (runtime), 6.3.1 (compiled)
16:43:26.873: Portable mode: false
16:43:26.990: OBS 28.0.0 (mac)
16:43:26.990: ---------------------------------
16:43:26.991: ---------------------------------
16:43:26.991: audio settings reset:
16:43:26.991:   samples per sec: 48000
16:43:26.991:   speakers:        2
16:43:26.991:   max buffering:   960 milliseconds
16:43:26.991:   buffering type:  dynamically increasing
16:43:26.992: ---------------------------------
16:43:26.992: Initializing OpenGL...
16:43:27.028: Loading up OpenGL on adapter Apple Apple M1 Pro
16:43:27.028: OpenGL loaded successfully, version 4.1 Metal - 83.1, shading language 4.10
16:43:27.177: ---------------------------------
16:43:27.177: video settings reset:
16:43:27.177:   base resolution:   1920x1080
16:43:27.177:   output resolution: 1920x1080
16:43:27.177:   downscale filter:  Bicubic
16:43:27.177:   fps:               60/1
16:43:27.177:   format:            NV12
16:43:27.177:   YUV mode:          Rec. 709/Partial
16:43:27.177: NV12 texture support not available
16:43:27.177: P010 texture support not available
16:43:27.179: Audio monitoring device:
16:43:27.179:   name: Standaard
16:43:27.179:   id: default
16:43:27.179: ---------------------------------
16:43:27.183: No AJA devices found, skipping loading AJA UI plugin
16:43:27.183: Failed to initialize module 'aja-output-ui'
16:43:27.185: No AJA devices found, skipping loading AJA plugin
16:43:27.185: Failed to initialize module 'aja'
16:43:27.187: Failed to load 'en-US' text for module: 'decklink-captions'
16:43:27.189: Failed to load 'en-US' text for module: 'decklink-output-ui'
16:43:27.190: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
16:43:27.190: Failed to initialize module 'decklink'
16:43:27.305: [VideoToolbox encoder]: Adding VideoToolbox encoders
16:43:27.306: Failed to load 'nl-NL' text for module: 'mac-virtualcam'
16:43:27.327: [obs-browser]: Version 2.18.5
16:43:27.327: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.61.23+g2fe5a76+chromium-103.0.5060.134 (compiled)
16:43:27.338: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)
16:43:27.338: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.3.1 | Qt version (run-time): 6.3.1
16:43:27.338: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
16:43:27.341: [obs-websocket] [obs_module_load] Module loaded.
16:43:27.346: [vlc-video]: VLC 3.0.18 Vetinari found, VLC video source enabled
16:43:27.347: Failed to load 'nl-NL' text for module: 'obs-ndi'
16:43:27.347: [obs-ndi] obs_module_load: hello ! (version 4.11.1)
16:43:27.347: [obs-ndi] load_ndilib: Trying '/usr/lib/libndi.dylib'
16:43:27.348: [obs-ndi] load_ndilib: Trying '/usr/local/lib/libndi.dylib'
16:43:27.348: [obs-ndi] load_ndilib: ERROR: Can't find the NDI library
16:43:27.348: [obs-ndi] obs_module_load: load_ndilib() failed; Module won't load.
16:43:55.081: Failed to initialize module 'obs-ndi'
16:43:55.081: ---------------------------------
16:43:55.081:   Loaded Modules:
16:43:55.081:     vlc-video
16:43:55.081:     text-freetype2
16:43:55.081:     rtmp-services
16:43:55.081:     obs-x264
16:43:55.081:     obs-websocket
16:43:55.081:     obs-vst
16:43:55.081:     obs-transitions
16:43:55.081:     obs-outputs
16:43:55.081:     obs-filters
16:43:55.081:     obs-ffmpeg
16:43:55.081:     obs-browser
16:43:55.081:     mac-virtualcam
16:43:55.081:     mac-videotoolbox
16:43:55.081:     mac-syphon
16:43:55.081:     mac-capture
16:43:55.081:     mac-avcapture
16:43:55.081:     image-source
16:43:55.081:     frontend-tools
16:43:55.081:     decklink-output-ui
16:43:55.081:     decklink-captions
16:43:55.081:     coreaudio-encoder
16:43:55.081: ---------------------------------
16:43:55.081: ==== Startup complete ===============================================
16:43:55.112: All scene data cleared
16:43:55.112: ------------------------------------------------
16:43:55.397: coreaudio: failed to find device uid: AppleUSBAudioEngine:Generic:Blue Microphones:LT_2110281653059D01016A_111000:1, waiting for connection
16:43:55.400: [Loaded global audio device]: 'Mic/Aux'
16:43:55.417: Webcam: Selected device 'Logitech StreamCam'
16:43:55.418: Webcam: Using preset High
16:43:55.812: Switched to scene 'Scène'
16:43:55.812: ------------------------------------------------
16:43:55.812: Loaded scenes:
16:43:55.812: - scene 'Scène':
16:43:55.813:     - source: 'Code Agency BG' (image_source)
16:43:55.813:     - source: 'Webcam' (av_capture_input_v2)
16:43:55.813:         - filter: 'Chroma Key' (chroma_key_filter_v2)
16:43:55.813: ------------------------------------------------
16:45:41.694: ==== Shutting down ==================================================
16:45:48.450: Switched to scene 'Scène'
16:45:48.450: Switched to scene 'Scène'
16:45:48.694: All scene data cleared
16:45:48.694: ------------------------------------------------
16:45:48.755: [obs-websocket] [obs_module_unload] Shutting down...
16:45:48.755: [obs-websocket] [obs_module_unload] Finished shutting down.
16:45:48.774: [Scripting] Total detached callbacks: 0
16:45:48.774: Freeing OBS context data
16:45:48.774: 1 views remain at shutdown
16:45:48.778: == Profiler Results =============================
16:45:48.778: run_program_init: 29314.6 ms
16:45:48.778:  ┣OBSApp::AppInit: 6.228 ms
16:45:48.778:  ┃ ┗OBSApp::InitLocale: 2.828 ms
16:45:48.778:  ┗OBSApp::OBSInit: 29215.7 ms
16:45:48.778:    ┣obs_startup: 0.618 ms
16:45:48.778:    ┗OBSBasic::OBSInit: 29097.3 ms
16:45:48.778:      ┣OBSBasic::InitBasicConfig: 0.156 ms
16:45:48.778:      ┣OBSBasic::ResetAudio: 0.077 ms
16:45:48.778:      ┣OBSBasic::ResetVideo: 187.922 ms
16:45:48.778:      ┣OBSBasic::InitOBSCallbacks: 0.002 ms
16:45:48.778:      ┣OBSBasic::InitHotkeys: 0.032 ms
16:45:48.778:      ┣obs_load_all_modules2: 27902.1 ms
16:45:48.778:      ┃ ┣obs_init_module(aja-output-ui): 0.068 ms
16:45:48.778:      ┃ ┣obs_init_module(aja): 0.038 ms
16:45:48.778:      ┃ ┣obs_init_module(coreaudio-encoder): 0 ms
16:45:48.778:      ┃ ┣obs_init_module(decklink-captions): 0 ms
16:45:48.778:      ┃ ┣obs_init_module(decklink-output-ui): 0 ms
16:45:48.778:      ┃ ┣obs_init_module(decklink): 0.024 ms
16:45:48.778:      ┃ ┣obs_init_module(frontend-tools): 2.197 ms
16:45:48.778:      ┃ ┣obs_init_module(image-source): 0.004 ms
16:45:48.778:      ┃ ┣obs_init_module(mac-avcapture): 66.288 ms
16:45:48.778:      ┃ ┣obs_init_module(mac-capture): 0.036 ms
16:45:48.778:      ┃ ┣obs_init_module(mac-syphon): 0.001 ms
16:45:48.778:      ┃ ┣obs_init_module(mac-videotoolbox): 38.337 ms
16:45:48.778:      ┃ ┣obs_init_module(mac-virtualcam): 0.002 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-browser): 19.125 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-ffmpeg): 0.075 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-filters): 0.016 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-outputs): 0.002 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-transitions): 0.003 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-vst): 0 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-websocket): 2.966 ms
16:45:48.778:      ┃ ┣obs_init_module(obs-x264): 0.001 ms
16:45:48.778:      ┃ ┣obs_init_module(rtmp-services): 0.907 ms
16:45:48.778:      ┃ ┣obs_init_module(text-freetype2): 0.014 ms
16:45:48.778:      ┃ ┣obs_init_module(vlc-video): 1.413 ms
16:45:48.778:      ┃ ┗obs_init_module(obs-ndi): 27733.6 ms
16:45:48.778:      ┣OBSBasic::ResetOutputs: 10.029 ms
16:45:48.778:      ┣OBSBasic::CreateHotkeys: 0.029 ms
16:45:48.778:      ┣OBSBasic::InitService: 1.646 ms
16:45:48.778:      ┣OBSBasic::InitPrimitives: 0.045 ms
16:45:48.778:      ┗OBSBasic::Load: 723.264 ms
16:45:48.778: obs_hotkey_thread(25 ms): min=0 ms, median=0 ms, max=3.986 ms, 99th percentile=0.001 ms, 100% below 25 ms
16:45:48.778: audio_thread(Audio): min=0.003 ms, median=0.012 ms, max=13.698 ms, 99th percentile=1.385 ms
16:45:48.778: obs_graphics_thread(16.6667 ms): min=0.078 ms, median=1.972 ms, max=400.303 ms, 99th percentile=16.898 ms, 98.9592% below 16.667 ms
16:45:48.778:  ┣tick_sources: min=0 ms, median=0.008 ms, max=398.05 ms, 99th percentile=0.108 ms
16:45:48.778:  ┣output_frame: min=0.073 ms, median=0.498 ms, max=30.603 ms, 99th percentile=10.214 ms
16:45:48.778:  ┃ ┗gs_context(video->graphics): min=0.072 ms, median=0.498 ms, max=30.602 ms, 99th percentile=10.214 ms
16:45:48.778:  ┃   ┣render_video: min=0.013 ms, median=0.302 ms, max=30.407 ms, 99th percentile=8.8 ms
16:45:48.778:  ┃   ┃ ┗render_main_texture: min=0.012 ms, median=0.297 ms, max=30.4 ms, 99th percentile=8.791 ms
16:45:48.778:  ┃   ┗gs_flush: min=0.027 ms, median=0.205 ms, max=27.506 ms, 99th percentile=6.468 ms
16:45:48.778:  ┗render_displays: min=0 ms, median=0.848 ms, max=57.407 ms, 99th percentile=14.666 ms
16:45:48.778: =================================================
16:45:48.778: == Profiler Time Between Calls ==================
16:45:48.778: obs_hotkey_thread(25 ms): min=25.041 ms, median=30.022 ms, max=75.018 ms, 1.41335% within ±2% of 25 ms (0% lower, 98.5866% higher)
16:45:48.778: obs_graphics_thread(16.6667 ms): min=0.432 ms, median=16.705 ms, max=400.309 ms, 11.604% within ±2% of 16.667 ms (43.3049% lower, 45.0911% higher)
16:45:48.778: =================================================
16:45:48.802: Number of memory leaks: 0

Desktop (please complete the following information):

Additional context

I tried another background removal plugin and that one loads fine, except much less options for tweaking the filter.

royshil commented 1 year ago

@codeagencybe thanks for trying the plugin. i'm sorry it didn't work out ootb however, we support OBS v29+ now please upgrade OBS and try again to install the plugin. if you cannot upgrade we do support OBS v28 in older versions of the plugin, e.g. prior to 1.x

codeagencybe commented 1 year ago

@royshil

Hmm that's weird. I did upgrade OBS and installed all the latest updates. But it gave me only version 28.0.0 exactly. If I run "check for updates" it says I have the latest version. I think the problem probably lays here that my system is not seeing or receiving any updates...

I will try manually installing the latest version from their website.

codeagencybe commented 1 year ago

@royshil

allright, I got it working! It was indeed caused by version 28.x after installing manually the latest version, everything seems working fine.

Thanks!

umireon commented 1 year ago

I suppose there was a bug that OBS 28 or something cannot update automatically.

codeagencybe commented 1 year ago

I suppose there was a bug that OBS 28 or something cannot update automatically.

Probably yes. I clicked like 5x time for "check for updates" and it never reported any update so I figured 28.0.0 is the current one.