Is video hosting financially sustainble for FSCI?
First, some statistics about videos
Item |
Figure |
Number of unique vidoes |
75 |
Number of video files with transcoding to different sizes |
378 |
Total disk usage |
45 GB |
Average size per unique video |
600MB |
Hetzner volume storage cost |
0.044 Euro per GB per month |
Please see the breakdown of costs, including per average video cost in this table.
Item |
Cost per month in Euro |
Cost per month in INR |
Cost per year in INR |
2023 budget for videos |
9000 |
||
2024 budget for videos |
11000 |
||
Hetzner plan for AMD 2 cores + 40GB HDD + 2GB RAM (CPX 11) |
4.35 |
455 |
5460 |
Hetzner cost for 100 GB volume |
4.44 |
465 |
5580 |
|
Average video cost (75 unique videos) = (5460+5580)/75 |
147.2 |
||
|
Theoretical minimum cost for average video (@600 MB per video) =600/1000 * 0.044 euro |
0.0264 |
2.75 |
33 |
Average video cost, if we reach 160 videos in 100GB =(5460+5580)/160 |
69 |
||
Average video cost, if we reach 1600 videos in 1000 GB =(5460+55800)/1600 |
38.28 |
||
Total projected cost for running with 1600 videos (with same server plan) |
48.79 |
5100 |
61200 |
The 2023, 2024 figures are from https://codema.in/d/VkCybRTY/fsci-services-accounting
Presently, although we use 45 GB only for 75 unique videos, we have reserved a 100 GB volume, and the machine runs at almost the same cost as total storage. So, for each video, we have to pay about 4 times the theoretical minimum. We can never achieve the theoretical minimum cost, as we will always have some incidental overhead.
If at all we increase the number of videos by about 20 times, we will still have to pay about 40 rupees per video per year and a total of about 61,200 rupees every year.
I don't think the economics works out for FSCI.
AkhilTue 30 Sep 2025 12:38PM
I'm glad that I waited to vote on the proposal. There were two blockers for continuing with offering peertube. One is dedicated maintainer/s and the other is money as @Akshay pointed out. I planned to vote yes but only due to the lack of volunteers and I have a suggestion for reducing the impact of the money problem.
Thanks to Akshay's efforts, we have a great chart showing the current and projected cost per video. The reasons as to why it costs so much are that it's a block storage attached to a VPS due to an emergency and other cheaper storage options weren't explored later due to lack of maintainers. But we can have peertube use an ObjectStorage starting at 1 TB for 5 EUR/month with 1 TB traffic. This is a variable pricing option and it may reduce or increase per month based on traffic and storage used. The peertube documentation provides details on using ObjectStorage and has migration commands to move the videos and other data.
Relevant links below:
https://docs.joinpeertube.org/maintain/remote-storage
https://www.hetzner.com/storage/object-storage/
Now if @Badri Sunderarajan, @fugata and others are possibly looking to maintain fsci peertube instance actively, I would suggest to use this option after upgrading peertube and the Operating System to bring down the cost per video. Also if you and others are wiling to continue with the FSCI terms and code of conduct for the service, the transition might be easier.
I would like to inform @mujeebcpy that peertube videos are set to be downloadable by default and fsci peertube has not changed this.
AkshayWed 1 Oct 2025 8:20PM
I've upgraded the instance from peertube version 2.2.0 to version 7.3.0 (and the host from buster to trixie).
Pending decisions
Transcoding: I've transcoded some videos to the newer HLS format as trial. We can probably transcode all and batch delete the older format.
Maintenance tasks: npm prune-storage has to be run, there's some 2 video files that might get deleted (gotta verify what files these are and why they exist. My hunch is an abandoned upload)
Storage: Like @Akhil said, we can move to object storage if necessary. This would require configuration and migration.
Modern configuration choices: Presently I've focused on just getting it upgraded. The only modern choice I've made is enabling HLS transcoding (which will probably apply to any new video that gets uploaded). There are so many features added to peertube and these may have to be configured
This must hopefully make it easier for you to take it over @Badri Sunderarajan @fugata
Before

After

AkshaySat 6 Dec 2025 11:36AM
@Badri Sunderarajan @fugata kindly update the status
AkshaySun 24 May 2026 7:09AM
I've upgraded the instance from v7.3.0 to v8.1.8 (including postgres migration from 10 to 17).
AkshayThu 28 May 2026 9:11AM
Have upgraded the instance from 8.1.8 to 8.2.0
AkshaySun 31 May 2026 4:49AM
An alternative I can think about is to have those who upload videos pay money proportional to their video size.
AkshayFri 3 Jul 2026 3:14AM
Have upgraded from 8.2.1 to 8.2.2
Changelog
v8.2.2
We strongly recommend all administrators upgrade immediately.
SECURITY
This release addresses vulnerabilities ranging from medium to high severity affecting PeerTube <= 8.2.1. Security hardening is also included. In a few weeks, this changelog will be updated to disclose the vulnerabilities.
AkshaySat 22 Aug 2026 3:24AM
Have upgraded to 8.2.4 (which includes a security fix).
AkshayThu 24 Sep 2026 4:30AM
Have upgraded to 8.3.0
AkshayTue 13 Oct 2026 12:40PM
Have upgraded to 8.3.1 which contains security fixes
AkshayTue 27 Oct 2026 3:48AM
Have upgraded to 8.3.2 which contains security fixes.
Badri Sunderarajan ·Mon 29 Sep 2025 11:58AM
Quick note that some of us at Durare were planning to run instances of a few Fediverse software including Peertube. Or rather, possibly take over maintenance of videos.fsci.in in this case. I will check with the others and get back with more details.