src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
stream-screen
Wrapper around wf-recorder
and ffmpeg
that automatically switches the screen being recorded based on current window focus. Works with sway
.
Installation
- 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.