Giter VIP home page Giter VIP logo

obs-image-reaction's Introduction

OBS Image Reaction Plugin

Image that reacts to sound source.

Install Plugin

  1. Go to the releases page for this repo.
  2. Select the appropriate package installer for your operating system.
  3. Once downloaded, run the package installer.

Build Plugin Locally


To build the plugin follow these steps:

  1. In a terminal, run the command:
  2. After that has completed, move into the repo directory:
  3. Build the plugin: there are three build options (Linux, Mac OS and Windows). Depending on the platform you are on run the build script for your platform e.g. for MacOS:
    .github/scripts/build-macos.zsh
  4. Look in the release folder for the package. For Mac OS this will be ./release/MacOS/.
  5. Copy your package to the obs plugins folder on your computer.

obs-image-reaction's People

Contributors

ashmanix avatar scaledteam avatar

Stargazers

 avatar

obs-image-reaction's Issues

Looped gifs cause frame decoding/load during GPU fence

Gifs that loop do not properly tick correctly, and should be using the internal functionality of the obs image loading system. The code currently handles non-looping gifs correctly, however:

In the OBS image handling file (https://github.com/obsproject/obs-studio/blob/master/libobs/graphics/image-file.c), if gif.cur_loop is set to infinity (0xFFFF, when the gif file is loaded), then the loop will be handled internally automatically, otherwise loop_count is used in the main image structure.

Regardless, we should be not handling tick ourselves and instead using the OBS functionality.

The problematic lines occur in the following blocks:

if (context->active) {

if (animReset && context->animResetTrigger) {

Both of these should properly be ticking (via gs_image_file3_tick) rather than trying to update the gif the entire time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.