OBS Mac M1/ARM compile progress - Scripting

shiggitay

Member
Finally, I was able to compile a version of OBS running natively on M1, that includes lua scripting, the Advanced Scence Switcher, and obs-ndi. I used the script by hakihaki95 and slightly modified it to avoid the error with python. I have attached the script and the notes/commands I used to compile the whole thing. This could probably be turned into a complete script by someone.

Does OBS Browser Source (CEF etc) work with your build?
 

Heino Falcke

New Member
Does OBS Browser Source (CEF etc) work with your build?
I didn't need it and only now tested is. "What is not tested, doesn't work" - and indeed it crashed, when I tried to add a Browser source (but it was compiled). I won't have time to research that in greater detail unfortunately.
 

shiggitay

Member
I didn't need it and only now tested is. "What is not tested, doesn't work" - and indeed it crashed, when I tried to add a Browser source (but it was compiled). I won't have time to research that in greater detail unfortunately.

No problem. Thanks for tweaking the process :)
 
D

Deleted member 350796

Heino Falcke first of all big thanks for sharing the .sh file; this really helped me get an M1 compatible version of OBS.
I am struggling a bit with ndi-obs though. I followed through each and every step, however, when I copy libobs-ndi.so to the obs-plugins folder, OBS crashes.

Removing the file makes everything go back to normal. Is there any way you might know of to solve the issue, or perhaps you could share the exact .so files you managed to compile and successfuly run obs-ndi with? Would really appreciate any form of help here!
 

Heino Falcke

New Member
Heino Falcke first of all big thanks for sharing the .sh file; this really helped me get an M1 compatible version of OBS.
I am struggling a bit with ndi-obs though. I followed through each and every step, however, when I copy libobs-ndi.so to the obs-plugins folder, OBS crashes.

Removing the file makes everything go back to normal. Is there any way you might know of to solve the issue, or perhaps you could share the exact .so files you managed to compile and successfuly run obs-ndi with? Would really appreciate any form of help here!
Can't answer this easily. Maybe there are conflicting versions flying around or you do not have the correct version of libndi.4.dylib

Actually, the statement
# Copy libndi.dylib from the NDI SDK to the obs-plugins folder too

is probably wrong, it should say

# Copy libndi.4.dylib to /usr/local/lib/libndi.4.dylib

The version I used is here: https://www.dropbox.com/s/ruvebdj4se0ujt7/libndi.4.dylib?dl=0
 

MikeElders

New Member
Finally, I was able to compile a version of OBS running natively on M1, that includes lua scripting, the Advanced Scence Switcher, and obs-ndi. I used the script by hakihaki95 and slightly modified it to avoid the error with python. I have attached the script and the notes/commands I used to compile the whole thing. This could probably be turned into a complete script by someone.

What would be involved in making a complete script? Because I am just not smart enough to figure out all this compiling stuff. I used the carlosonunez link above and it installed great and the native M1 performance is incredible! But scripts don’t work, the whole script menu is missing, ugh.
 

VPinho

New Member
Hello, i'm a newbie...i tryed all the commands to "compile" or something and it is always giving me errors when i try to install Homebrew...is that a way to make a Installer or something....if the "ARM Project build" is stable, why don't you make a Beta version of it that the user doen't have to use Terminal...? So, simply drop the executable to Application folder and done...? or Next Next Next Finish?
I am not a developer...i don't know nothing about "command lines"...i'm just a OBS user that has switched from Intel PC's to ARM Macs...

I'm sory but Homebrew errors is making me crazy!

If you are using OBS M1 Native version, please ZIP the executable that you have on"Application" Folder and share it here via Google Drive...
 
Last edited:

lucouto

New Member
I second that from VPinho. Is it possible for someone to share the compiled OBS M1 version? That would be awesome!
 

thmsdj

New Member
from https://github.com/WarmUpTill/SceneSwitcher

compiled here. not tested.
download password bnmihfsi
Would it be possible to get the precompiled version of Advanced Scene Switcher for ARM M1 OBS? The link unfortunately is not available.

I get a Cmake / qt5 error when trying to compile the plugin:

CMake Error at CMakeLists.txt:67 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but CMake did not find one. Could not find a package configuration file provided by "Qt5Core" with any of the following names: Qt5CoreConfig.cmake qt5core-config.cmake Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set "Qt5Core_DIR" to a directory containing one of the above files. If "Qt5Core" provides a separate development package or SDK, be sure it has been installed.

Thanks in advance!
 
Top