PROJET AUTOBLOG


Framablog

Site original : Framablog

⇐ retour index

PeerTube v6 is out, and powered by your ideas !

mardi 28 novembre 2023 à 08:52

It’s #givingtuesday, so we’re giving you PeerTube v6 today ! PeerTube is the software we develop for creators, media, institutions, educators… to manage their own video platform, as an alternative to YouTube and Twitch.

🦆 VS 😈 : Let’s take back some ground from the tech giants !

Thanks to your donations to our not-for-profit, Framasoft is taking action to advance the ethical, user-friendly web. Find a summary of our progress in 2023 on our Support Framasoft page.

➡️ Read the series of articles from this campaign (Nov. – Dec. 2023)

The sixth major version is being released today and we are very proud ! It is the most ambitious one since we added peer-to-peer livestreaming. There is a good reason for that : we packed this v6 with features inspired by your ideas !

We are so eager to present all the work we achieved that we’ll get right into it. But stay tuned : in two weeks, we’ll take more time to talk about PeerTube’s history, the state of this project and the great plans we have for its future !

Illustration of Videoraptor, an insectoid monster whose three heads bear the logos of YouTube, Vimeo and Twitch.

Click to support us and help push back Videoraptor – Illustration CC-By David Revoy

This year : two minor updates and a major achievement

In 2023, and before preparing this major update, we released only two minor versions… but one of them brought to the table a major technical feature that will help democratize video hosting even more.

March 2023 : PeerTube v5.1

You’ll get more details in the news dedidacted to the 5.1 release, so to keep it short, this version brought :

June 2023 : PeerTube 5.2…

As you’ll find out in our 5.2 release blogpost, there were some smaller but important new features such as :

…with a major feature : Remote Transcoding

But the game changer in this 5.2 release was the new remote transcoding feature.

When a creator uploads a video (or when they are streaming live), PeerTube needs to transform their video file into an efficient format. This task is called video transcoding, and it consumes lots of CPU power. PeerTube admins used to need (costly) big-CPU servers for a task that wasn’t permanent… until remote transcoding.

Remote transcoding allows PeerTube admins to deport some or all of their transcoding tasks to another, more powerful server, one that can be shared with other admins, for example.

It makes the whole PeerTube administration cheaper, more resilient, more power-efficient… and opens a way of sharing resources between communities !

We want, once again to thank the NGI Entrust program and the NLnet foundation for the grant that helped us achieve such a technical improvement !

Drawing of Sepia, PeerTube's octopus mascot. They are wearing a superhero cape, with the initials "6" on his chest.

Click to support us and help Sepia reach their potential – Illustration CC-By David Revoy

PeerTube v6 is Based… (on your ideas)

Enough about the past, let’s detail the features of this new major version. Note that, for this whole 2023 roadmap, we developed features suggested and upvoted by… you ! Or at least by those of you who shared your ideas on our feedback website.

Protect your videos with passwords !

That was a very awaited feature. Password-protected videos can be used in lots of situations : to create exclusive content, mark a step in a pedagogical plan, share videos with people trusted by the ones you trust…

On their PeerTube account, creators can now set a single password when they upload, import or update the settings of their videos.

But with our REST API, admins and developers can take it a step further. They can set and store as many passwords as they want, thus easily give and revoke access to videos.

This feature was the work of Wicklow, during his internship with us.

Video storyboard : preview what’s coming !

If you like to peruse your videos online, you might be used to hover the progress bar with your mouse or finger. Usually, a preview of the frame appears as a thumbnail : that’s called a storyboard feature, and that’s now available in PeerTube !

Please note that as Storyboards are only generated when uploading (or importing) a video, they will only be available for new videos of instances that upgraded to v6…

Or you can ask, very kindly, to your admin(s) that they use the magical npm run create-generate-storyboard-job command (warning : this task might need some CPU power), and generate storyboards for older videos.

Upload a new version of your video !

Sometimes, video creators want to update a video, to correct a mistake, offer new informations… or just to propose a better cut of their work !

Now, with PeerTube, they can upload and replace an older version of their video. Though the older video file will be permanently erased (no backsies !), creators will keep the same URL, title and infos, comments, stats, etc.

Obviously, such a feature requires trust between videomakers and admins, who don’t want to be responsible for a cute kitten video being « updated » into an awful advertisement for cat-hating groups.

That’s why such a feature will only be available if admins choose to enable it on their PeerTube platforms, and will display a « Video re-upload » tag on updated videos.

Get chapters in your videos !

Creators can now add chapters to their videos on PeerTube. In a video settings page, they’ll get a new « chapters » tab where they’ll only need to specify the timecode and title of each chapter for PeerTube to add it.

If they import their video from another platform (cough YouTube cough), PeerTube should automatically recognize and import chapters set on this distant video.

When chapters are set, markers will appear and segment the progress bar. Chapter titles will be displayed when you hover or touch one of those chapters segments.

Stress tests, performance and config recommandations

Last year, thanks to French indie journalist David Dufresne’s Au Poste ! livestream show and his hoster Octopuce, we got a livestream stress test with more than 400 simultaneous viewers : see the report here on Octopuce’s blog[FR].

Such tests are really helpful to understand where we can improve PeerTube to reduce bottlenecks, improve performance, and give advice on the best configuration for a PeerTube server if an admin plans on getting a lot of traffic.

That’s why this year, we have decided to realize more tests, with a thousand simultaneous users simulated both in livestream and classic video streaming conditions. Lots of thanks and datalove to Octopuce for helping us deploy our test infrastructure.

We will soon publish a report with our conclusions and recommended server configurations depending on usecases (late 2023, early 2024). In the meantime, early tests motivated us to add many performances improvements into this v6, such as (brace yourselves for the technical terms) :

…and there’s always more !

A new major version always comes with its lot of changes, improvements, bugfixes, etc. You can read the complete log here, but here are the highlights :

Illustration de Yetube, un monstre de type Yéti avec le logo de YouTube Premium.

Click to support us and help push Yetube back – CC-By Illustration David Revoy

What about PeerTube’s future ?

With YouTube waging war against adblockers, Twitch increasingly exploiting streamers, and everyone becoming more and more aware of the toxicity of this system… PeerTube is getting traction, recognition and a growing community.

We have so many announcements to make about the future we plan for PeerTube, that we will publish a separate news, in two weeks. We are also planning on hosting an « Ask Us Anything » livestream, to answer the questions you’d have about PeerTube.

Please stay tuned by subscribing to PeerTube’s Newsletter, following PeerTube’s Mastodon account or keeping an eye on the Framablog.

Drawing in the style of a fighting video game, where the octopus of PeerTube and the monster of YouTube, Twitch and Vimeo go head to head.

Click to support us and help Sepia push back Videoraptor – Illustration CC-By David Revoy

Thank you for supporting PeerTube and Framasoft

In the meantime, we want to remind you that all these developments were achieved by only one full-time payed developer, an intern, and a fabulous community (lots of datalove to Chocobozzz, Wicklow, and the many, many contributors : y’all are amazing !)

Framasoft being a French not-for-profit mainly funded by grassroots donations (75 % of our yearly income comes from people like you and us), PeerTube development has been funded by two main sources :

If you are a non-French-speaking PeerTube aficionado, please consider supporting our work by making a donation to Framasoft. It will greatly help us fund our many, many projects, and balance our 2024 budget.

Once again this year we need you, your support, your sharing to help us regain ground on the toxic GAFAM web and multiply the number of ethical digital spaces. So we’ve asked David Revoy to help us present this on our support Framasoft page, which we invite you to visit (because it’s beautiful) and above all to share as widely as possible :

Screenshot of the Framasoft 2023 donation bar at 12% - €23575

If we are to balance our budget for 2024, we have five weeks to raise €176,425 : we can’t do it without your help !

Support Framasoft

Thanks again for supporting PeerTube,
Framasoft’s team.