Removed comments about wayland and dmabuf quirks from the README as stable releases of OBS now have all required features
Added support for format modifiers in DMA-BUF source
Update usage of gs_texture_create_from_dmabuf

clone

read-only
https://hg.sr.ht/~scoopta/wlrobs
read/write
ssh://hg@hg.sr.ht/~scoopta/wlrobs

#wlrobs

wlrobs is an obs-studio plugin that allows you to screen capture on wlroots based wayland compositors

builds.sr.ht status

#Dependencies

libwayland-dev
libobs-dev
pkg-config
meson

#Building

hg clone https://hg.sr.ht/~scoopta/wlrobs
cd wlrobs
meson build
ninja -C build

The screencopy backend can be disabled with the -Duse_scpy=false meson option, likewise dmabuf can be disabled with -Duse_dmabuf=false

#Installing

mkdir -p ~/.config/obs-studio/plugins/wlrobs/bin/64bit
cp build/libwlrobs.so ~/.config/obs-studio/plugins/wlrobs/bin/64bit

#Uninstalling

rm -rf ~/.config/obs-studio/plugins/wlrobs

#Bug Reports

Please file bug reports at https://todo.sr.ht/~scoopta/wlrobs

#Contributing

Please submit patches to https://lists.sr.ht/~scoopta/wlrobs

You can find documentation here https://man.sr.ht/hg.sr.ht/email.md