this post was submitted on 08 Aug 2023
30 points (91.7% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54565 readers
532 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

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.

[–] [email protected] 6 points 1 year ago* (last edited 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.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

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

[–] [email protected] 3 points 1 year ago

this works pretty great, thanks

[–] [email protected] 3 points 1 year ago (1 children)

I suppose also opening the video file in the browser works for that?

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 8 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

Curious. I'm able to share audio and video with jit si.

[–] [email protected] 1 points 1 year ago (1 children)

What was your video source?

[–] [email protected] 1 points 1 year ago (1 children)

Linux vlc jitsi on Firefox

[–] [email protected] 2 points 1 year ago (1 children)

So it's a Firefox extension of VLC that plays video?

[–] [email protected] 1 points 1 year ago

yeah i need to know that as well

[–] [email protected] 7 points 1 year ago (2 children)

Might be a bit heavy, but assuming you have a good upload/GPU: Jellyfin.

[–] [email protected] 3 points 1 year ago

It even has a group watch button. Never tried it though

load more comments (1 replies)
[–] [email protected] 6 points 1 year ago (2 children)

Vlc Player was invented for this...

[–] [email protected] 14 points 1 year ago (1 children)

VLC was invented to screen share video from a host computer to a group call? TIL

[–] [email protected] 9 points 1 year ago (3 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

Ahh makes sense I see. It may serve the same purpose just with a little more overhead

[–] [email protected] 1 points 1 year ago

That's an interesting idea and since vlc is even able to play files that are still downloading I guess it could also stream a screen grab file that is just temporary?

[–] [email protected] 1 points 1 year ago (1 children)

You understood right, I need it for watch party. Can I use it for streaming over the internet or only my local wifi?

[–] [email protected] 1 points 1 year ago (1 children)

Do you know how to forward ports?

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Then anything that works on your lan can be accessed from the internet.

[–] [email protected] 1 points 1 year ago

Vlc should be able to screen share as well.

[–] [email protected] 2 points 1 year ago (1 children)

How do I do it? Could you share some tips/guide?

[–] [email protected] 7 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 6 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 5 points 1 year ago (1 children)

upload your video to vimeo

go to live.hexbear.net

click on the "Pure Kino" channel

add the vimeo link to the play queue

call your friends

[–] [email protected] 4 points 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.

[–] [email protected] 3 points 1 year ago (1 children)

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

[–] [email protected] 2 points 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.

[–] [email protected] 3 points 1 year ago (2 children)

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

[–] [email protected] 5 points 1 year ago

In theory yes. But with obs you need a streaming server, and what server are you gonna use for pirated content?

[–] [email protected] 2 points 1 year ago (2 children)

What platform should I use with OBS to stream?

[–] [email protected] 1 points 1 year ago* (last edited 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.

[–] [email protected] 1 points 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.

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 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"

[–] [email protected] 1 points 1 year ago

Telegram is really popular too for streaming.

load more comments
view more: next ›