Benjamin Bädorf
8625f0f2c9
Some of these attributes seem to be missing in certain situations, so it's easier to just not parse them at all instead of trying to figure out which of these are optional and when. |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |
wlstreamer
Wrapper around wf-recorder
and ffmpeg
that automatically switches the screen being recorded based on current window focus. Works with sway
.
Installation
There's an AUR package called wlstreamer-git
, alternatively you can build and install manually:
- Make sure you're running sway
- Install
wf-recorder
,v4l2loopback
andffmpeg
- Load the
v4l2loopback
kernel module - Install the rust toolchain
- Clone this repo
cargo install --path . --root ~/.local
Usage
See --help
. If there are no screens available for streaming, a black screen will be shown instead.