Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norihiro/obs-frame-interleave-filter
Plugin to interleave frames on OBS Studio
https://github.com/norihiro/obs-frame-interleave-filter
Last synced: 8 days ago
JSON representation
Plugin to interleave frames on OBS Studio
- Host: GitHub
- URL: https://github.com/norihiro/obs-frame-interleave-filter
- Owner: norihiro
- License: gpl-2.0
- Created: 2022-10-11T13:37:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T12:00:55.000Z (about 2 years ago)
- Last Synced: 2024-04-14T05:31:13.484Z (7 months ago)
- Language: CMake
- Size: 32.2 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frame Interleave Filter Plugin for OBS Studio
## Introduction
This plugin interleaves video frames to reduce CPU and GPU usage.
While a video source is shown on at least one display, such as preview and program displays,
every video frame is transferred to the GPU.
If you have multiple video sources, a poor system might not have enough power to process all frames.
In such cases, this filter will be helpful to reduce the frames to be transferred if the video source is not shown in the program.An example usage case is
- Studio Mode is enabled, and
- You have multiple asynchronous-video sources (such as capture cards).The expected effect is the shorter rendering time or less number of missed frames.
A figure below shows a concept of how the frames will be processed by this filter.
While the source is not live on the program, some frames are discarded.
While the source is live, every frames will pass through this filter, ie. this filter do nothing.## Properties
### Interleave time
Specify how much time the frame will be skipped to be transfered to GPU.## Build and install
### Linux
Use cmake to build on Linux. After checkout, run these commands.
```
sed -i 's;${CMAKE_INSTALL_FULL_LIBDIR};/usr/lib;' CMakeLists.txt
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
make
sudo make install
```
You might need to adjust `CMAKE_INSTALL_LIBDIR` for your system.### macOS
Build flow is similar to that for Linux.