95385ff5d2
With yuv420p as output pixel format I sometime get a garbled screencast video, yuyv422 fixes it for me. See https://github.com/b12f/wlstreamer/issues/2 for more details Related to #2 |
||
---|---|---|
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.