this post was submitted on 12 Mar 2024
548 points (98.2% liked)
Linux
48178 readers
1007 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'd rather be able to stream a file from my PC via VLC to other people with VLC.
If that's already a thing, then I guess I just gotta figure it out...
VLC support RTMP, streaming a live feed like twitch. https://wiki.videolan.org/RTMP/
VLC also support reading from network https://wiki.videolan.org/Documentation:Play_HowTo/Basic_Use_0.9/Opening_modes/#Opening_a_Network
You are also able to generate a stream through multiple interfaces though I couldn't find how. Still, it is officially reported as being possible. https://www.videolan.org/streaming-features.html
Yeah, I know about RTPM, but what I meant was more akin to streaming the file itself.
Take for example, me and my friends want to watch a movie. One of us has the movie. We all have VLC. The one with the movie loads the file, the others... Somehow... Connect to the VLC with the loaded file and have it directly stream to their own VLC.
I dig a little and there is an option on the GUI to easily stream. On the media menu, there is a stream option (CTRL+S) which allows you to stream a file using the interface you want. It will create a server and it's up to you to make that server available to your friends (port forwarding). They will the open your video from a network interface link.
Though, while I did manage to stream between two instances of VLC on the same machine. It was after many attempts and I did not have any sound.
Not incredible, I will admit, but I'm quite confident it can work well once you understand what parameters to use.
I believe you can set up a http stream and then have others connect to it