https://github.com/pancaketas/obs-wlroots-screencopy
OBS Studio plugin for efficient screen capture on wlroots-based wayland compositors
https://github.com/pancaketas/obs-wlroots-screencopy
Last synced: 2 months ago
JSON representation
OBS Studio plugin for efficient screen capture on wlroots-based wayland compositors
- Host: GitHub
- URL: https://github.com/pancaketas/obs-wlroots-screencopy
- Owner: PancakeTAS
- License: gpl-3.0
- Created: 2024-08-27T00:06:20.000Z (10 months ago)
- Default Branch: develop
- Last Pushed: 2024-09-08T14:43:18.000Z (9 months ago)
- Last Synced: 2025-02-13T02:22:36.531Z (4 months ago)
- Language: C
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# obs-wlroots-screencopy
OBS Studio plugin for efficient screen capture on wlroots-based wayland compositors.While most compositors have a screencapture implementation through pipewire, it quite frankly just sucks. For some reason, it slows down my games (from 60 fps limited to 30 fps.. like what the hell) and the annoying popup you get on Hyprland is also just annoying.
Fortunately, the desktop portal and pipewire simply use a wlroots protocol called ZwlrScreencopyManagerV1, which is what this plugin uses to capture the screen.## Requirements
Your compositor needs to support these experimental protocols:
- [Linux DMA-BUF](https://wayland.app/protocols/linux-dmabuf-v1)
- [wlr screencopy](https://wayland.app/protocols/wlr-screencopy-unstable-v1)(see compositor support at the bottom of the page)
## Installation
1. Clone this repository
2. Run `make PROD=1`
3. Copy the resulting `obs-wlroots-screencopy.so` to your OBS Studio plugin directory (usually `~/.config/obs-studio/plugins/obs-wlroots-screencopy/bin/64bit/`)
4. Restart OBS Studio## Usage
1. Add a new source to your scene
2. Select `Screencopy Source` from the list of available sources
3. Configure the source