Find a file
2020-07-30 18:42:06 +02:00
src Removed bash dependency 2020-07-30 18:42:06 +02:00
.gitignore Initial commit 2020-05-10 14:50:55 +02:00
Cargo.lock Fixed readme name 2020-07-30 16:40:02 +02:00
Cargo.toml Removed bash dependency 2020-07-30 18:42:06 +02:00
README.md Updated name in readme 2020-07-30 15:30:21 +02:00

wlstreamer

Wrapper around wf-recorder and ffmpeg that automatically switches the screen being recorded based on current window focus. Works with sway.

Installation

  1. Make sure you're running sway
  2. Install wf-recorder, v4l2loopback and ffmpeg
  3. Load the v4l2loopback kernel module
  4. Install the rust toolchain
  5. Clone this repo
  6. cargo install --path . --root ~/.local

Usage

See --help. If there are no screens available for streaming, a black screen will be shown instead.