Skip to content

Right way to install in a normal linux distro #31

Description

@zenny

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 (#30). I am summarizing the process if it can help anyone in the future:

  1. Download the motion effect source. NB: The name of the repository in line 52 of the README.md is incorrect (NOT motion-filter.git, but motion-effect.git).
    git clone https://github.com/CatxFish/motion-effect.git

  2. Change directory to the downloaded source repo.
    cd motion-effect

  3. Pull the obs-studio source recursively (either from master or from the matching release).
    git clone --recursive https://github.com/obsproject/obs-studio.git

  4. Create a build directory and change to the build directory.
    mkdir build && cd build

  5. Compile the source with the following command:
    cmake -DLIBOBS_INCLUDE_DIR="../obs-studio/libobs/" -DCMAKE_INSTALL_PREFIX=/usr ..

  6. Build the plugin.
    make -j`nproc`

  7. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions