fzwoch / obs-gnome-screencast

GNOME Screen Cast OBS Studio plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: GNOME has begun to restrict private APIs access for general user space. Expect this plugin to fail over time. (E.g. window selection is already broken with lasted GNOME release). Really use OBS's portal/pipewire based capture plugins.

GNOME Screen Cast OBS Studio plugin

Small source plugin to use GNOME Screen Cast functionality as a source for OBS Studio.

GNOME Screen Cast works for all GNOME sessions regardless of the compositor being used. Basically saying that the main purpose of this plugin is to capture screens under Wayland sessions where the X11 capture falls short.

You need to have GNOME Screen Cast application installed as well as the GStreamer pipewire elements. Make sure that in "GNOME Settings" you have "Sharing -> Desktop Sharing" enabled.

Note

OBS Studio v27 does come with it's own Wayland capable Desktop/Window capture via XDG-Desktop-Portal.

https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.ScreenCast.xml

So you probably just want to make use of that one. This is complementary, in case this fits your specific needs a little better.

Build

Refer to the Dockerfile and .gitlab-ci.yml files on how to get a development workspace and how to build the plugin.

Fedora build

requirements include gstreamer1-plugins-base-devel ghc-gi-gio-devel.x86_64 obs-studio-libs obs-studio-devel. Install with dnf install

About

GNOME Screen Cast OBS Studio plugin

License:GNU General Public License v2.0


Languages

Language:C 91.6%Language:Meson 7.0%Language:Dockerfile 1.4%