diff --git a/README.md b/README.md new file mode 100644 index 0000000..34a2cb2 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# obs-image-reaction +OBS Plugin with image that reacts to sound source. + +## 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/ +``` + +## 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.