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!

  • Handles
    link
    fedilink
    English
    105 months ago

    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?

    • @hummingbird
      link
      55 months ago

      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.

    • tubbaduOP
      link
      fedilink
      55 months ago

      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!

      • Handles
        link
        fedilink
        English
        25 months ago

        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.

    • @mrvictory1
      link
      05 months ago

      This won’t work if host is behind CGNAT

  • @[email protected]
    link
    fedilink
    85 months ago

    You use Jitsi meet, their free service, to watch movies???

    You can use OBS to do that, it looks like a lot but it is the best tool for that. Dont know if it has some ffplay/MPV plugin to internally play videos but I think so

    • @pirat
      link
      15 months ago

      deleted by creator

  • @pirat
    link
    45 months ago

    A bit less simple, but for a great solution, you could host a jellyfin server and give each friend their own user account in order to then use the syncplay feature.

    • tubbaduOP
      link
      fedilink
      45 months ago

      I already have a jellyfin instance, but syncplay didn’t works very reliably for me, some users experienced freezing, jumps and other problems

      Thanks for the suggestion anyway!

      • lemmyvore
        link
        fedilink
        English
        1
        edit-2
        5 months ago

        Why not just open the movie with Jellyfin in a tab and share that tab like you do now?

    • DaGeek247
      link
      fedilink
      35 months ago

      I love the idea of that feature, but it is not at all reliable in my experience.

  • @NeoNachtwaechter
    link
    45 months ago

    gave me only “complex” answers

    It is a complex question, even if you try so hard to deny that :-)

    One sender only? Or how many possible senders?

    How many Receivers?

    Do they need to talk back or send back anything?

    How far away are they (in terms of network)?

    • @[email protected]
      link
      fedilink
      15 months ago

      My assumption:

      • Hell be the host, hell control the stream and no one else. So one sender with no internal communication (coz they might have discord or something setup for their conversations)
      • according to google, the average no of friends is 5. So may be around 5 receivers
    • tubbaduOP
      link
      fedilink
      15 months ago

      It would be just me sharing to everybody else on the internet (no more than 6 people)

      Jitsi meet works great, the only problem is being able to share only “a portion” of what it currently does

    • tubbaduOP
      link
      fedilink
      15 months ago

      I think the problem is not something related to jitsi, meet, discord or matrix, but rather to the OS screensharing capabilities

      • @[email protected]
        link
        fedilink
        25 months ago

        Your half right. It’s not really the OS’s fault but rather the fault of the browsers and app-frameworks that use the browser in the background (electron). Because neither Firefox nor chrome have this feature implemented for Linux. The official Discord client doesn’t do it either but other ones such as Sunroof do. It’s possible that at least one Matrix client has learnt to share the screen with sound on Linux but I don’t know of any (I also don’t use Matrix a lot so don’t pay too much attention to my experience on that)

        • @mrvictory1
          link
          45 months ago

          On KDE Plasma 6 + Firefox (both Wayland) I can share a window and workaround audio sharing by routing desktop audio to microphone. Vesktop (Discord alternative) supports screenshare w/ audio.