MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.5k stars 288 forks source link

Add Wayland support #926

Open Everest10 opened 2 years ago

Everest10 commented 2 years ago

Please add Wayland support !!

Maxzor commented 2 years ago

Ahh so that's why the record is all black? :)

reagentoo commented 2 years ago

Just use OBS or Kooha screen recorder instead of ssr.

Erikvv commented 2 years ago

OBS works great thanks

BruceWayne-Linux commented 2 years ago

+1

Marzal commented 1 year ago

Dup of https://github.com/MaartenBaert/ssr/issues/431, I would close this Issue in order to have a more cleaner proyect

herzenschein commented 1 year ago

@MaartenBaert , since you locked the main issue about it (#431), just so you know, I asked the following question to one of the KWin devs:

What's required for an X11-only screen recorder to support Wayland? XDP? Pipewire? Both?

You need the xdg desktop portal to request the screen casting, and Pipewire for the actual transfer of buffers.

So it's definitely both, not just one or the other. In the case of the portal it should be a simple matter of using DBus for the following interface: https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.ScreenCast.

https://invent.kde.org/libraries/xdg-portal-test-kde shows how to make a request to the portal to start screensharing, and the new Spectacle might serve as a good reference for the whole recording process I believe.

Hope that was useful in any way for whoever wants to tackle this.