Find a file
Varac 95385ff5d2
Use yuyv422 instead of yuv420p pixel format
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
2020-11-18 20:48:02 +01:00
src Use yuyv422 instead of yuv420p pixel format 2020-11-18 20:48:02 +01:00
.gitignore Initial commit 2020-05-10 14:50:55 +02:00
Cargo.lock Fix verbose option 2020-11-18 19:38:51 +01:00
Cargo.toml Add verbose option 2020-11-18 19:05:09 +01:00
LICENSE.md Added license 2020-07-30 18:47:55 +02:00
README.md Added AUR package to readme 2020-07-30 18:56:35 +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

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.