Linux-Fake-Background-Webcam
xdg-desktop-portal-wlr
Our great sponsors
Linux-Fake-Background-Webcam | xdg-desktop-portal-wlr | |
---|---|---|
16 | 68 | |
1,563 | 557 | |
- | - | |
5.7 | 6.3 | |
about 2 months ago | 6 days ago | |
Python | C | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Linux-Fake-Background-Webcam
-
Fake Cam doesn't work
I'm trying to install Linux-Fake-Background-Webcam, which in turn requires 4l2loopback. Following the 4l2loopback manual, I try the following command to install it:
- Linux-Fake-Background-Webcam: Faking your webcam background under GNU/Linux.
- Best OS for Java dev
-
How Not to Support Desktop GNU+Linux, Zoom Edition
> Is this really a problem with Zoom or one with Wayland and the Linux distros?
I would say this is really a problem with Zoom, mostly due to the lack of attention paid to their web client.
For me, when it comes to video conferencing, the "table stakes" is working duplex audio over bluetooth, and so far only pipewire has solved this, which means Linux only.
After that, two very important features to have are screen sharing and background blur. For screen sharing, both Chrome/Chromium and Firefox have great support for screencast over pipewire, and so do many wayland compositors such as KDE kwin. As such, on a "pure" wayland system with no X11 window [1], screen sharing is also a solved problem.
Background blur is more ... complicated. When Google Meet rolled out https://ai.googleblog.com/2020/10/background-features-in-goo..., it immediately worked with chrome/chromium, on either wayland or X11. However, to this day, I think it still doesn't work with firefox, for whatever reason. Meanwhile, Zoom Linux client only started to support background blur (without green screen) since 5.7.6 released in August 2021, while Zoom web client remains hopeless.
In my previous job, we use Google Meet, and all is well with wayland. In the current one, we use Zoom, and I have to setup https://github.com/fangfufu/Linux-Fake-Background-Webcam as a workaround.
[1] This is very much doable these days, unless you want to run Slack desktop, which is hit-and-miss when running with --ozone-platform=wayland (unlike other electron-based apps such as Signal desktop), and of course the Zoom Linux app, which is just crap, as described in the article. Solution: run Slack and Zoom as Firefox tabs.
-
How Not to Support Desktop GNU+Linux, Zoom Edition (working Wayland support coming soon?)
I was going to say, Zoom's absolutely broken greenscreen support is nicely hacked in X by the community with this excellent repo: https://github.com/fangfufu/Linux-Fake-Background-Webcam
- Background Blur by video call on Teams Linux
-
Python Script Workaround to Be Able to Use Virtual Backgrounds in MS Teams for Linux
It seems pretty cool, but why does it need to be run as root? I can run Linux-Fake-Background-Webcam just fine without root!
-
Zoom gains virtual background without green screen functionality
I use https://github.com/fangfufu/Linux-Fake-Background-Webcam and it works great (realtime) for video background removal.
- How do I enable Zoom virtual background without green screen in Linux?
- I updated my Linux webcam background replacement tool to use Google's Mediapipe as image segmentation backend. It is now so much faster!
xdg-desktop-portal-wlr
-
How do I configure xdg-desktop-portal so that it works and keeps working?
It comes with a systemd service file https://github.com/emersion/xdg-desktop-portal-wlr/blob/master/contrib/systemd/xdg-desktop-portal-wlr.service.in that you can use
-
How do you guys screenshare Sway on Discord?
Are you running the Wayland envvar for Firefox, MOZ_ENABLE_WAYLAND=1? Because the rest of your setup sounds very similar to my (working) setup. You could also run the Python test script included with xdg-desktop-portal-wlr (bottom of this page) as a sanity check that nothing's going wrong there
-
Which technology / protocol etc. is the next big thing, coming the next few years in Linux gaming?
- Global hotkey portal
-
Is there any way to screenshare only a single window?
Not yet: https://github.com/emersion/xdg-desktop-portal-wlr/issues/107
- Xfce 4.18, and the Future of the Desktop
-
Moving from a DE, loss of functionality?
You'll need this
-
Tearing updates got merged into Wayland! Now we only have to wait for implementations in KWin and Gnome!
I believe that a lot of the current approach to fixing it is something similar to xdg-desktop-portal. That's for signaling for screenshots, but a similar idea could work for listening for key events without being focused, apparently. It bypasses the standard Wayland system completely and uses D-Bus and Pipewire instead. I'm not too familiar with the details myself, though.
-
PSA: Steam Link (Remote Play) works on Wayland with AMD GPU
I don't know which of the xdg-desktop-portal backends you would need for gamescope, but xdg-desktop-portal-wlr has a config file which it reads where you can set the preferred output and set the chooser_type to none. That makes it skip the screen selector for me.
-
flameshot not working in sway (typing "flameshot gui" hangs in the terminal)
See these links for more info: * flameshot: flameshot gui from cli does nothing. dbus error UnknownMethod: "No such interface “org.freedesktop.portal.Screenshot” #2872 * xdg-desktop-portal: No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop #861 * xdg-desktop-portal-wlr: screenshot: Announce version property
-
sway inverted screen sharing
This is a known issue: https://github.com/emersion/xdg-desktop-portal-wlr/issues/83
What are some alternatives?
deepbacksub - Virtual Video Device for Background Replacement with Deep Semantic Segmentation
sway - i3-compatible Wayland compositor
fake-chroma-key
xdg-desktop-portal-gtk - Gtk implementation of xdg-desktop-portal
Jitsi Meet - Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
wayvnc - A VNC server for wlroots based Wayland compositors
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
wlroots - A modular Wayland compositor library
virtual_webcam_background - Use a virtual webcam background and overlays with body-pix and v4l2loopback
v4l2loopback - v4l2-loopback device
backgroundremover - Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
flameshot - Powerful yet simple to use screenshot software :desktop_computer: :camera_flash: