obs-image-reaction/README.md

37 lines
1.5 KiB
Markdown
Raw Normal View History

2021-08-20 00:33:09 +05:00
# OBS Image Reaction Plugin
Image that reacts to sound source.
2021-08-20 00:33:09 +05:00
## Installing binaries
2022-10-08 14:46:13 +05:00
Download binaries from [official releases](https://github.com/scaledteam/obs-image-reaction/releases/) or more user-friendly version from [ashmanix](https://github.com/ashmanix/obs-image-reaction/releases).
2021-08-20 00:38:34 +05:00
2021-08-26 04:48:06 +05:00
For Windows, Move the contents of plugin into your obs installation directory. It usually installed into "C:\Program Files\obs-studio\".
2021-08-20 00:38:34 +05:00
2021-08-26 04:48:06 +05:00
For GNU/Linux, put "libimage-reaction" folder into "~/.config/obs-studio/plugins/" folder.
2021-08-19 23:31:18 +05:00
2022-10-08 14:46:13 +05:00
For Mac OS, try this port from ashmanix: https://github.com/ashmanix/obs-image-reaction .
2021-08-19 23:31:18 +05:00
## Building and installing for GNU/Linux:
```
git clone https://github.com/scaledteam/obs-image-reaction
cd obs-image-reaction
mkdir build
cd build
cmake ..
make
mkdir -p ~/.config/obs-studio/plugins/libimage-reaction/bin/64bit
cp libimage-reaction.so ~/.config/obs-studio/plugins/libimage-reaction/bin/64bit/
cp -r ../data ~/.config/obs-studio/plugins/libimage-reaction/
2021-08-19 23:31:18 +05:00
```
## Building for Windows from GNU/Linux:
You need to download MinGW, OBS Studio source code, Wine, install OBS Studio using wine.
```
git clone https://github.com/scaledteam/obs-image-reaction
cd obs-image-reaction
mkdir build-win
cd build-win
cmake .. -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++-win32 -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc-win32 -DLIBOBS_INCLUDE_DIR=~/git/obs-studio-27.0.1/libobs -DLIBOBS_LIB=~/.wine/drive_c/Program\ Files/obs-studio/bin/64bit/obs.dll
make
```
Now move libimage-reaction.dll into OBS Plugin directory.