I wondered, Browsers work really well, are already there anyways, have all the GPU stuff etc already dealt with. They also have portal support so Wayland works great.
It could use the Browsers screencast ability on all platforms, and run with Javascript and WASM.
The stuff could be installed in a local Podman container and thus also work natively on Linux.
Do you know an app that does this, client-side?
Thanks to the actually helpful people:
screenity, GPLv3, has some nice features
recordscreen.io some random webservice, the recording is supposedly done in the browser. Proprietary.
Which dependency of OBS make you say that? Most of them are already probably installed on your system anyway.