Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cristobaltapia/2cac482864510a7239b9bc6c1541f265 to your computer and use it in GitHub Desktop.
Save cristobaltapia/2cac482864510a7239b9bc6c1541f265 to your computer and use it in GitHub Desktop.
Error xdp-screen-cast.py
[tapia@tapia-laptop]:Downloads$ python3 xdp-screen-cast.py
xdp-screen-cast.py:13: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
session /org/freedesktop/portal/desktop/session/1_477/u1 created
sources selected
streams:
stream 4294967295
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "xdp-screen-cast.py", line 82, in on_start_response
play_pipewire_stream(node_id)
File "xdp-screen-cast.py", line 69, in play_pipewire_stream
pipeline = Gst.parse_launch('pipewiresrc fd=%d path=%u ! videoconvert ! xvimagesink'%(fd, node_id))
gi.repository.GLib.GError: gst_parse_error: no element "pipewiresrc" (1)
@timhughes
Copy link

dnf install pipewire-gstreamer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment