Comments (13)
The version of OBS Studio does not look the released version.
Once the PR at OBS Studio is merged and the build flow is established, I will consider to follow it. Since the PR has not been merged yet, I'm afraid the flow would be unstable.
Until then, please use x86_64 binary or build this plugin by yourself. If there is something that needs to be fixed for arm64, PRs and issues will be welcome.
The build flow should be not so difficult if you have M1 host.
After building OBS Studio, install openblas
(run brew install openblas
), extract the source code of this plugin at the same level as obs-studio, and finally run ci/macos/build-macos.sh
.
from obs-face-tracker.
I started to modify cmake files in #92. Once it's done, the build flow with the PR 5155 might run.
from obs-face-tracker.
I found some post about arm64 build for obs-face-tracker from someone's blog. These solutions could be outdated and I got errors but hope this could be help you.
https://www.kilinbox.net/2021/02/obsarmbuild.html
from obs-face-tracker.
A current log file is required to help fix your issue. Please post a link to your current log file.
- In OBS select Help > Log Files > Upload Current Log File.
- Click Copy URL and then paste the link here.
If you are running OBS Studio built for M1 architecture, I think you should build this plugin for M1 architecture.
The distributing binary is built for x86_64.
from obs-face-tracker.
Here it is.
https://obsproject.com/logs/9hHHx2zhM6TINKTa
from obs-face-tracker.
Thanks for comment.
I got M1 host so I tried but got some errors.
Error with codes on root of obs-studio with no obs-face-tracker folder
CMake Error at cmake/external/ObsPluginHelpers.cmake:27 (find_package):
By not providing "Findlibobs.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "libobs", but
CMake did not find one.
Could not find a package configuration file provided by "libobs" with any
of the following names:
libobsConfig.cmake
libobs-config.cmake
Add the installation prefix of "libobs" to CMAKE_PREFIX_PATH or set
"libobs_DIR" to a directory containing one of the above files. If "libobs"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
external/FindLibObs.cmake:98 (include)
CMakeLists.txt:20 (include)
from obs-face-tracker.
The screenshot looks something strange.
The contents of obs-face-tracker should be extracted inside obs-studio
.
I remembered I've left build-instruction in README file. https://github.com/norihiro/obs-face-tracker#building The directory structure should be same as this instruction.
from obs-face-tracker.
Sorry about that I'm not familiar with cmake. I tried your instruction one by one and still missed something maybe.
My "$d0" was "face-build" folder in "Download".
from obs-face-tracker.
Could you try this cmake command instead under face-build/obs-face-tracker/build
?
cmake .. \
-DQTDIR="/tmp/obsdeps" \
-DLIBOBS_INCLUDE_DIR=../../obs-studio/libobs \
-DLIBOBS_LIB=../../obs-studio/libobs \
-DOBS_FRONTEND_LIB="$(pwd)/../../obs-studio/build/UI/obs-frontend-api/libobs-frontend-api.dylib" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
from obs-face-tracker.
Perhaps that branch I mentioned for M1 builds have changed some locations of resources for building plugins?
This is what I have from error log after failed cmake.
CMakeError.log
CMakeOutput.log
from obs-face-tracker.
I have tested cmake with the PR 5155 on Linux and it run through without error.
The cmake files in this project are just modified from the previous version of plugin-template. To be honest, I don't fully understand how it is working.
Looking at the updated ObsPluginHelpers.cmake
,
I think you need to add these options to cmake command for obs-face-tracker.
-D CMAKE_OSX_ARCHITECTURES=arm64 -D OBS_CODESIGN_LINKER=OFF
And, if you remove these lines from obs-studio/cmake/external/ObsPluginHelpers.cmake
, what will happen?
https://github.com/obsproject/obs-studio/blob/0524d9de747fdf2a41992bab26a89732a9610494/cmake/external/ObsPluginHelpers.cmake#L22-L37
By the way, I think the PR aims to have cross-compile for arm64 using x64 host. If you are building on arm64, I think you don't need to have the PR, do you?
from obs-face-tracker.
The master branch of obs-studio now merged the CMake overhaul. Now some bufixes are in progress in their repository.
from obs-face-tracker.
It works so fine.
from obs-face-tracker.
Related Issues (20)
- Add ability to move picture HOT 1
- When using Face Tracker PTZ, the hotkey does not work. HOT 2
- new dock does not work HOT 1
- Feature Request - ATEM DVE HOT 1
- Documentation for dummies.
- Feature Request - Disable Selected Source Tracking When Tracking A Group / Scene
- Will not track face, if face is not facing camera HOT 2
- Trying to use software in a Church where the camera is 20m away HOT 13
- Improve dead-band and non-linear band
- Sports HOT 4
- Feature request: Reset tracker on re-opening of Face Tracker source
- PTZ Control to override face tracking movement HOT 1
- Output image becomes very dark HOT 1
- Cannot uninstall HOT 4
- Face Tracker won't work under OBS 29.1.3 on Manjaro LINUX HOT 7
- Cannot figure out how to remove old docks HOT 2
- Show dead/non-linear zones in monitor
- Start from initial condition when transit to program
- Crash on Ubuntu 23.10
- Output becomes dark
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-face-tracker.