

#Obs spotify on mac code#
With the updated code and instructions I'm able to run I tried compiling on my machine again.If create a symlink to 1.5 from 1.7 the app crashes. With the compiled plugin: onnxruntime cannot be found.I'm still unable to use the plugin on OSX. Termination Reason: Namespace SIGNAL, Code 0x4 Termination Signal: Illegal instruction: 4 Removing obs-backgroundremoval.so from the plugins directory allows OBS to run again.Įxcerpt from crash report: Exception Type: EXC_BAD_INSTRUCTION (SIGILL)Įxception Codes: 0x0000000000000001, 0x0000000000000000 so and data files to OBS, but unfortunately OBS will no longer run. I was able to successfully build the project and moved over the. DobsPath="\obs-studio\" -DOnnxruntime_INCLUDE_HINT=\Microsoft.AI.MachineLearning.1.7.2\build\native\include -DOnnxruntime_DIR=\Microsoft.AI.MachineLearning.1.7.2\runtimes\win-圆4\_native\static Checkout tag 26.1.1: Downloads\obs-studio\ $ git checkout 26.1.1īuild the plugin: $ cmake. You should have a directory like \Microsoft.AI.MachineLearning.1.7.2\.Ĭlone the OBS repo, Downloads\ $ git clone :obsproject/obs-studio.git, to e.g.
#Obs spotify on mac install#
\vcpkg.exe install opencv:圆4-windows-static We will use static linking (as much as possible) to aviod having to lug around. $ tar xzvf onnxruntime-linux-圆4-1.7.0.tgz -strip-components=1 -C /usr/local/ -wildcards "*/include/*" "*/lib*/"īuild and install $ mkdir build & cd build Linux / Ubuntu Install dependencies $ apt install -y libobs-dev libopencv-dev language-pack-en wget git build-essential cmake data/SINet_Softmax.onnx /Applications/OBS.app/Contents/Resources/data/obs-plugins/obs-backgroundremoval/

$ mkdir -p /Applications/OBS.app/Contents/Resources/data/obs-plugins/obs-backgroundremoval/ $ cp obs-backgroundremoval.so /Applications/OBS.app/Contents/PlugIns DobsLibPath=/Applications/OBS.app/Contents/Frameworks -DobsIncludePath=~/Downloads/obs-studio/libobsĪdd it to your OBS install, e.g. Right now on OSX it's 26.1.2) Build $ mkdir build & cd build git clone -single-branch -b 26.1.2 :obsproject/obs-studio.git (match the version number to your OBS install. Applications/OBS.app/Contents/Frameworks/libobs.0.dylib) But you don't have the headers - so clone the main obs repo e.g. If you install the desktop OBS app ( ) you already have the binaries for libobs (e.g. Static linking should be more robust across versions of OSX, as well as building for 10.13. Or - you may also build a (very minimal) version of OpenCV and ONNX Runtime for static-linking, instead of the homebrew ones: /build/ $. You may use homebrew: $ brew install opencv onnxruntime Help is appreciated in building on other OSs and formalizing the one-click installers.
#Obs spotify on mac mac#
The plugin was built and tested on Mac OSX, Windows and Ubuntu Linux. Some more information about how I built it: Building The model used for background detection is SINet: The pre-trained model weights were taken from: It's easily composable with other OBS plugins to replace the background with e.g. It is using a neural network to predict the mask of the portrait and remove the background pixels. This plugin is meant to make it easy to replace the background in portrait images and video. Check out the latest releases for downloads and install instructions.
