Open zenny opened 3 years ago
@CatxFish please take a look at this :pray:
Using Ubuntu, and this helped me to have a smooth and successful installation.
Update:
The installation was successful, but I didn't get the filter to be listed :/
I gave up on it and installed move-transition, which works out of the box for what I want :)
And while we're here, if you'd like to install the plugin locally, as a regular user, rather than system-wide with sudo, the path you want is
~/.config/obs-studio/plugins/motion-filter/bin/64bit/motion-filter.so
Using OBS 27.2 on an ubuntu-based distro.
make -j
nproc` didn't work for me following the instruction given.
Got to comment out lines 103 and 104 in ~/motion-effect/src/helper.c
to get it working.
The first time I tried I got this error:
~/motion-effect/src/helper.c:103:19: error: invalid use of incomplete typedef ‘obs_source_t’ {aka ‘struct obs_source’}
103 | if (!scene->context.private)
Thanks for your help !!
Hi,
After whining for days to compile this useful plugin in VoidLinux (or any other GNU/Linux distro), I have finally compiled, built and installed it successfully. :D
In order to avoid confusions I encountered (https://github.com/CatxFish/motion-effect/issues/30). I am summarizing the process if it can help anyone in the future:
Download the motion effect source. NB: The name of the repository in line 52 of the
README.md
is incorrect (NOTmotion-filter.git
, butmotion-effect.git
).git clone https://github.com/CatxFish/motion-effect.git
Change directory to the downloaded source repo.
cd motion-effect
Pull the
obs-studio
source recursively (either from master or from the matching release).git clone --recursive https://github.com/obsproject/obs-studio.git
Create a
build
directory and change to thebuild
directory.mkdir build && cd build
Compile the source with the following command:
cmake -DLIBOBS_INCLUDE_DIR="../obs-studio/libobs/" -DCMAKE_INSTALL_PREFIX=/usr ..
Build the plugin.
make -j`nproc`
Install the plugin.
sudo make install
Lo and behold this plugin appears in the filter list once you restart
obs
.Hope it helps someone.
Cheers and stay safe, /z