2023-07-05 20:21:02
2023-07-02 17:26:50
2023-07-02 15:09:33
1655412
For the past week or so I've been testing @PeerTube 's remote runners. Basically the ability to transcode videos (even live streams) via remote servers. It can even be your laptop. We tested with my main machine (my laptop) and a remote server.
EASY!
The first thing that I love is the ease of setting it up. On my Peertube it is as easy as registering a new token (click a button) then give this token to a friend who can use their computer as a runner. The friend only needs a Linux machine and 3 commands as shown here https://docs.joinpeertube.org/support/doc/tools#register to register. Once registered the friend has to do "peertube-runner server" in a terminal and leave it open. All setup.
They should probably work on a daemon that can run in the background. But that's easy peasy. I also expect to see packages for the runner so it autoupdates. These will come. @YunoHost is already working on a package https://github.com/YunoHost-Apps/peertube_remote_runner_ynh
So to set it up is crazy simple.
IT WORKS!
We tested it with 2 machines as I said, my laptop and a server. The transcoding is 10-20 times faster than on our main server. And that's amazing. It even works for livestreams like a charm. We tested up to 2GB 2h long files. It works, but for such big files there needs to be a bit of improvement. We talked about it on their gitub page.
Basically the way it works is this: your computer will download the video from Peertube locally, then convert, then upload to Peertube. For this you'll also need a good internet connection. Also, you can't just share tokens with strangers since they could manipulate the video and have access to any videos that people will upload. So this has to be done in a secure and respectful manner.
All in all, this is FABULOUS! We can use local computers to do the remote transcoding or rent servers specifically designed for that. This means Peertube is even more scalable.
This year I plan to move out Peertube videos https://videos.trom.tf to an object storage so that we can scale that up nicely. Plus set up a few remote transcoders so that the transcoding will be super fast and reliable.
Oh and the live chat (via the main plugin) works wonders. You can join in even without an account. Amazing! I know they plan to integrate it into Peertube directly. Awesome!
Thank you @PeerTube for creating this amazing video platform.
#tromstuff
EASY!
The first thing that I love is the ease of setting it up. On my Peertube it is as easy as registering a new token (click a button) then give this token to a friend who can use their computer as a runner. The friend only needs a Linux machine and 3 commands as shown here https://docs.joinpeertube.org/support/doc/tools#register to register. Once registered the friend has to do "peertube-runner server" in a terminal and leave it open. All setup.
They should probably work on a daemon that can run in the background. But that's easy peasy. I also expect to see packages for the runner so it autoupdates. These will come. @YunoHost is already working on a package https://github.com/YunoHost-Apps/peertube_remote_runner_ynh
So to set it up is crazy simple.
IT WORKS!
We tested it with 2 machines as I said, my laptop and a server. The transcoding is 10-20 times faster than on our main server. And that's amazing. It even works for livestreams like a charm. We tested up to 2GB 2h long files. It works, but for such big files there needs to be a bit of improvement. We talked about it on their gitub page.
Basically the way it works is this: your computer will download the video from Peertube locally, then convert, then upload to Peertube. For this you'll also need a good internet connection. Also, you can't just share tokens with strangers since they could manipulate the video and have access to any videos that people will upload. So this has to be done in a secure and respectful manner.
All in all, this is FABULOUS! We can use local computers to do the remote transcoding or rent servers specifically designed for that. This means Peertube is even more scalable.
This year I plan to move out Peertube videos https://videos.trom.tf to an object storage so that we can scale that up nicely. Plus set up a few remote transcoders so that the transcoding will be super fast and reliable.
Oh and the live chat (via the main plugin) works wonders. You can join in even without an account. Amazing! I know they plan to integrate it into Peertube directly. Awesome!
Thank you @PeerTube for creating this amazing video platform.
#tromstuff
MiKlo:~/citizen4.eu$💙💛 reshared this.
anubis2814
•Ok so are you a volunteer developer for peertube? If so it would explain the nearly combative nature defending it as you have a stake in it and part of your identity. I really want it to be awesome and have been watching it at each upgrade as to when I can start singing its praises as being on par with youtube. As someone in the casual user side of things I see its almost there but not enough to bring casual users over especially content creators.
That said I have already made 2 suggestions to improve language issues, one was positively received and the other was dismissed because it was close enough to another report but missed the point entirely and was only tangential to the concept. I actually just discovered the issue at hand yesterday and h... show more
Ok so are you a volunteer developer for peertube? If so it would explain the nearly combative nature defending it as you have a stake in it and part of your identity. I really want it to be awesome and have been watching it at each upgrade as to when I can start singing its praises as being on par with youtube. As someone in the casual user side of things I see its almost there but not enough to bring casual users over especially content creators.
That said I have already made 2 suggestions to improve language issues, one was positively received and the other was dismissed because it was close enough to another report but missed the point entirely and was only tangential to the concept. I actually just discovered the issue at hand yesterday and have not reported it yet. I've found my interactions with suggestions to be mostly dismissive, but when I found out that framasoft only had one person full time on staff I gave them a lot more leeway just as I have done for Friendica as they have no full time workers so I started learning the code and helping out there which will mean some rather big changes in September and December as most of the developers there are great at backend but they admit they are bad at front end as that is not their wheel house(they also have avoided popular social media for the longest time that they don't know what is considered normal on social media anymore). I figured in the future once I made Friendica the way I wanted, then I would know enough about that kind of coding to make the few changes I wanted with peertube whihc are much smaller than on Friendica but also not really responsive to ideas because they have their own things they find more important to work on and that is the nature of limited time.
So no I have not submitted this specific bug just yet. I have felt brushed off in other issues before such as video responses which were core to building community and discoverability in early youtube before they went full algorithm and started following money over promoting small channels. So I haven't bothered to keep as active on suggestions as i could have been. I feel like peertube is so close to its potential but those things are viewed as not as important to the devs who are busy working on other albeit cool things that will make the site even better, once its at a state where the casual user, content creator and instance runner feel its worth there time to buy into as hardcore as people have mastodon now.
Tio
•Not much else to say. I just like Peertube and use it a lot. It works really great, but as with any piece of software it cannot be perfect.
Rokosun
•anubis2814
•Tio
•