I want to stream videos with audio on my pc to my friends. I’m on linux, and video streaming is broken on discord (no audio of the source gets shared). Looping audio through mic (Soundux) results in poor audio quality, while discord-screenaudio just provides stuttery video. Any suggestions what to do?

I use a laptop with R4600H chip and 1650Ti.

  • SolOrion@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    11 months ago

    Just checking the obvious- you’re streaming a window, right, and not a screen? Discord streams only have audio if you pick a single window to share, afaik.

    • jaykstah@waveform.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      11 months ago

      Discord cant stream desktop audio at all on Linux aside from sharing a tab’s audio if you’re using Discord in a web browser. There are custom clients (like discord-screenaudio which OP mentioned) capable of doing this to some extent but they’re based on the web version of discord and lack features / can be buggy. Also these options don’t have hardware encoding so any fast moving content will become a choppy mess for the viewers.

      The other alternative on Linux is to just route the app’s audio into your mic source. Others will hear it but it will come out as if its your mic so even those not watching the stream will have to hear the stream audio unless they mute you.

  • moreeni@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    11 months ago

    Surprised people didn’t mention Hyperbeam (former Tutturu) https://watch.hyperbeam.com/ You can’t upload your own stuff but you can just go to a streaming site and open any show you want

      • moreeni@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Yep, it’s just a synchronised browser session anything you can open on the clearnet works

        • vd1n@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          11 months ago

          So opening a video file from your PC within the browser would not work?

          • moreeni@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            11 months ago

            No, but you can upload the file to some external storage and open it instead, as the previous commenter suggested

    • gc_@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      I’m not talking about youtube videos. I mean videos either on my pc or platforms in megathread like 123movies. I tried both with Jitsi. Video is shared but audio is not for some reason

      Edit : By sharing I mean screen sharing. 123movies didn’t work with the link option

    • ollie@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Jellyfin’s sync play is not stable at all in my experience. very much not recommended for non technical people.

  • FullOfBallooons
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    I haven’t tried it on Linux, but a while back I was streaming stuff for my friends on Kosmi. It worked pretty well.

    • vd1n@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      Could I stream my personal home files? Or does it have to be something on the www?

      Yeah… I used www in a question like it’s 1993.

      • FullOfBallooons
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        You can either share your screen/window or upload a file. There’s probably a filesize limit, but I’m not sure what it is. I was using it to upload episodes of GameCenter CX to stream and I didn’t have any issues, but those episodes aren’t super huge. YMMV if you’re trying to upload a bluray rip or something.

      • Lupus108@feddit.de
        link
        fedilink
        English
        arrow-up
        9
        ·
        11 months ago

        No, it was invented to stream video files, I don’t think it’s able screen share, but you can use it easily for watch parties. Thats how I understood OPs question.

      • Lupus108@feddit.de
        link
        fedilink
        English
        arrow-up
        7
        ·
        11 months ago

        Oh I haven’t used that function in years but there’s a lot of helpful guides on it out there like this one. It’s a little “complicated” for modern days but it works pretty reliable.

        Funny enough streaming videos is vlcs “Main” function - VideoLanClient

          • 7Sea_Sailor@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            11 months ago

            I don’t see how this would work with additional network setup if you want to stream to devices outside your LAN. You’d need to at least set up port forwarding on your router to allow your friends to access your stream, and then you’d still be limited by the upload rate of your local network, which might not be fast enough depending on the movie quality. A centralized version of this, where the movie resides on some server that you all “download” the movie from would be more reliable, but I don’t know of any from the top of my head that would do the trick.

            EDIT: now that i think of it, w2g.tv allows streaming any movie file from any server via direct link to file. So if you figure out any sort of hoster where you can upload the movie, or if you find a streaming platform that hosts a direct .mp4 file already, you can copy & paste that into a w2g lobby, invite your friends, and start watching.

  • ssboomman@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    11 months ago

    When I try to have movie nights with friends I’ll jus take the file, open it with chrome; and share my chrome screen on discord. For some reason that works for me.

  • DetachablePianist@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    11 months ago

    No one has mentioned OBS? If I understood OP’s need correctly that seems like the obvious choice to me.

      • vd1n@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        11 months ago

        Not op. But…

        On Linux I set up OBS to capture my game window and from obs you are able to set the captured screen as a webcam stream.

        On Linux I had to install some stuff to get a restream of the audio. It looped the game audio into a virtual mic.

        So…

        I Jitsi I just set my mic and video to the appropriate obs-made virtual cam and mic.

        My upload maxes at 10mb/s

        So I didn’t have the best luck with Jitsi. Definitely not full screen quality.

        But OBS might come in handy if you find another way to stream.

        OBS I believe is available for windows, Linux, and Mac.

      • YEP [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        I’m pretty sure you can plug obs input into things like teams or zoom. But I doubt the quality is worth a shit.

  • pitninja@lemmy.pit.ninja
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    I was able to get video streaming with audio working on Discord using pipewire, but it was a massive pain in the ass and somewhat unreliable. I don’t have a lot of experience with Jitsi, but I trust others’ recommendation there

    • gc_@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      yeah that’s one of the reasons I’m looking for alternatives. It’s almost always too difficult to set up for discord, or straight poor quality or unreliable.

  • vd1n@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    I’m looking for the same solution but to stream a game screen.

    I got obs to work with Jitsi but it’s low quality.

    • _hovi_@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      For streaming a game to a friend so we could connect via LAN I’ve used sunshine on the “server” and moonlight for the “client”