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
    9
    ·
    1 year 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
      4
      ·
      edit-2
      1 year 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.

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

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

      • moreeni@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year 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
          ·
          1 year ago

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

          • moreeni@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

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

      • vd1n@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year 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
        ·
        1 year 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.

  • ssboomman@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 year 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.

  • vd1n@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year 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
      ·
      1 year 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”

  • pitninja@lemmy.pit.ninja
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year 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
      ·
      1 year 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.