wlstreamer/README.md

21 lines
612 B
Markdown
Raw Normal View History

2020-07-30 13:30:21 +00:00
# wlstreamer
2020-05-10 13:01:08 +00:00
Wrapper around `wf-recorder` and `ffmpeg` that automatically switches the screen being recorded based on current window focus. Works with `sway`.
## Installation
2020-07-30 16:56:35 +00:00
There's an AUR package called `wlstreamer-git`, alternatively you can build and install manually:
2020-05-10 13:01:08 +00:00
1. Make sure you're running sway
2020-07-30 13:29:43 +00:00
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`
2020-05-10 13:01:08 +00:00
2020-07-30 16:56:35 +00:00
2020-05-10 13:01:08 +00:00
## Usage
See `--help`. If there are no screens available for streaming, a black screen will be shown instead.