Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

fzwoch/obs-gnome-screencast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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