You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Benjamin Bädorf 2dbdd8340e
Update cargo.lock
5 days ago
src Remove unused struct fields from sway JSON objects 5 days ago
.gitignore Initial commit 8 months ago
Cargo.lock Update cargo.lock 5 days ago
Cargo.toml Actually bump verison in Cargo.toml 5 days ago
LICENSE.md Added license 5 months ago
README.md Added AUR package to readme 5 months ago

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:

  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.