181
submitted 11 months ago by Framasoft@lemmy.world to c/linux@lemmy.ml

cross-posted from: https://lemmy.world/post/9483559

PeerTube is a decentralized and federated alternative to YouTube. The goal of PeerTube is not to replace YouTube but to offer a viable alternative using the strength of ActivityPub and P2P protocols.

Being built on ActivityPub means PeerTube is able to be part of a bigger social network, the Fediverse (the Federated Universe). On the other hand, P2P technologies help PeerTube to solve the issue of money, inbound with all streaming platform : With PeerTube, you don't need to have a lot of bandwidth available on your server to host a PeerTube platform because all users (which didn't disable the feature) watching a video on PeerTube will be able to share this same video to other viewers.

If you are curious about PeerTube, I can't recommend you enough to check the official website to learn more about the project. If after that you want to try to use PeerTube as a content creator, you can try to find a platform available there to register or host yourself your own PeerTube platform on your own server.

The development of PeerTube is actually sponsored by Framasoft, a french non-for-profit popular educational organization, a group of friends convinced that an emancipating digital world is possible, convinced that it will arise through actual actions on real world and online with and for you!

Framasoft is also involved in the development of Mobilizon, a decentralized and federated alternative to Facebook Events and Meetup.

If you want to contribute to PeerTube, feel free to:

you are viewing a single comment's thread
view the rest of the comments
[-] penquin@lemm.ee 4 points 11 months ago

I want to use it but I don't fully understand how it works. Does it use my device a storage for videos? Or does it only use it as a sharing device without storing the video on it? Does it only use the bandwidth on my device? Could someone please explain? I already read about it, but I'm still lost

[-] utopiah@lemmy.ml 12 points 11 months ago

I've been running my PeerTube instance for more than a year now so hopefully I can help :

  • if you only watch, it doesn't use your device for storage, only some of your bandwidth if P2P is enabled. If you want to host content, e.g a video of yourself explaining how to design your own smart speaker using only FOSS, then you should setup a server which will need storage for your videos.

Happy to clarify more if you need. Overall you can watch content from https://video.benetou.fr and most likely all bandwidth will come from my server. You can not upload your videos there though (unless if I accept making an account for you, which I won't). There are other servers though, public ones, which allow registration and where you can thus upload your content too.

[-] penquin@lemm.ee 3 points 11 months ago

Thank you. I just want to watch, no more no less and I'm ok with using my bandwidth to push the video around if that helps, since my ISP doesn't have that bullshit cap. And by bandwidth we are talking Internet, right?

[-] MaxVoltage@lemmy.world 1 points 11 months ago

i am lighting the beacon

[-] smileyhead@discuss.tchncs.de 7 points 11 months ago

It is part od the Fediverse, so commenting, likes, following, etc. should regarless of what ActivityPub-enabled service you use for interactions (for example can comment from Mastodon account).

The "Peer" part of "PeerTube" means that the video player itself is based on torrent technology. It is not saved on your device (unless you decide to), just when you watch you also send the video to cut off some of the server's bandwidth. Videos are not shared between servers, only the information that they exists, only on uploader's server and between user's devices.

It is not to preserve videos online, for that we have other tools like proper torrents, this is ment to be alternative to YouTube. TLDR Here ActivityPub is for statuses, Torrent is for helping the servers.

[-] penquin@lemm.ee 2 points 11 months ago

So, my device/bandwidth is basically a tunnel so to speak that helps push the video (that is saved on the uploader's server" to others? So peertube only uses my Internet and my device's CPU?

[-] smileyhead@discuss.tchncs.de 4 points 11 months ago

It uses just the same as other video sites plus some upload bandwidth that is usually unused anyway. Also there is an option to download the video purely by HTTP without torrenting if someone wants to.

[-] conciselyverbose@kbin.social 3 points 11 months ago* (last edited 11 months ago)

~~No.~~ [I was wrong. In addition to being distributed between servers like I said, you can also enable P2P sharing to distribute the bandwidth even further.]

If you have a server that allows users to sign up, the stuff they follow/watch (you'd have to look at details if you want to host to see exactly how it's distributed) goes through your server.

The flip side to this is that, when your user uploads an extremely popular video (or you personally do if you don't allow signups), you don't have to stream every video to every individual user. You send it on to other federated instances that those users are signed up to, but if one instance has 100 users view your video, you don't have to send it 100 times. (This is likely less efficient than YouTube, because they can control exactly how load is spread between their delivery network with a comprehensive view of everything, but it dramatically lowers the barrier to entry for an individual to get involved or handle the distribution demand of a popular video.)

~~Just as a client, you don't serve anyone else. It's a website (or app) that works much like YouTube does. It's on the server side where the load is distributed.~~

this post was submitted on 12 Dec 2023
181 points (96.9% liked)

Linux

48143 readers
723 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS