- Install brew
- Install
brew install ffmpeg x264 qt5 cmake mbedtls git clone --recursive https://github.com/obsproject/obs-studio.git cd obs-studio mkdir build cd build export CMAKE_PREFIX_PATH=/usr/local/opt/qt cmake .. && make cd rundir/RelWithDebInfo/bin/ ./obs
ffmpeg
is not detected. This was because I hadffmpeg
installed from zeranoe
Solution: remove existingffmpeg
installation and reinstallffmpeg
sudo rm /usr/local/bin/ff* brew reinstall ffmpeg
QtSvg
not loaded
Not sure why but the way I solved this was to use Qt version fromdyld: Library not loaded: @rpath/QtSvg.framework/Versions/5/QtSvg Referenced from: /your-path/obs-studio/build/rundir/RelWithDebInfo/bin/./obs Reason: image not found Abort trap: 6
brew
instead ofQt Creator
's via theCMAKE_PREFIX_PATH=/usr/local/opt/qt
mentioned in the installation step.