[help] What is the best way to screenshare a single window with audio?

tubbadu@lemmy.kde.social to Linux@lemmy.ml – 37 points –

Hello guys! sometimes I watch movies with friends over jitsi meet, and in order to share just a single window with just its own audio I use chromium, that has the "share tab" option. However, I'd like a more general solution (I cannot play mkv files on browser, for example). I'd like a compact way that creates a virtual device sharing the window (even if the window gets minimized or hidden behind other windows!) and its audio, without the audio of all other windows (I don't want my notification sounds to be shared too). a quick online search gave me only "complex" answers, that I'll try only if a more convenient way is not available.

[I'm running EndeavourOS KDE Wayland]

Thank to everyone in advance!

23

You are viewing a single comment

I've never done this myself but if you want to keep it simple and be able to play all video formats, why not just stream from VLC?

I'm happy to be corrected on this, but it seems the simplest solution to a potentially complex problem. Everybody uses VLC, right?

This is your best option. I did do movie nights with friends during the pandemic in a similar way, but I used OBS Studio to create the stream and Monaserver to stream it to all users. I did not know VLC can handle the streaming to users directly, making this dead simple to setup without additional software. You just need to know how to configure your router to allow the needed port forwarding.

Uhm this could be a good workaround, I'll look into it, thanks! It would solve the movies problem, but not any other screen sharing problem

Thank you!

No, of course not. I thought the movie sharing was your primary concern, sorry if I misunderstood. Hope this solves at least part of your problem.