COllaborative DEcision MAking (codema.in)

Is video hosting financially sustainble for FSCI?

Akshay PublicSeen by 114

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.

Sunset videos.fsci.in

proposal by Akshay Closed Wed 1 Oct 2025 1:00PM

Outcome
by Akshay

Thanks for participating in the consensus process. It is quite clear that a lot of people want it to continue but are forced to agree to sunset. Because of this, as far as the question of FSCI maintaining peertube I think the consensus is to not. There're a couple of people (representing more people) who say that they'll take over the instance because they've also been wanting to set up an instance. As of now it is unclear whether this is a viable option or not (and how this effort is different from the past efforts). I've set a review date for this poll as 31 Oct 2025. By then I hope there is a group that emerges with a plan on taking this over from FSCI, or with a request to extend the review further. If nothing good happens, we will sunset the peertube instance, and redirect video links to different hosts (if there are other mirrors for the video), or to a static copy on a shared server.

What is the decision you need to make?

Let's sunset videos.fsci.in (peertube instance) as financially unsustainable as was the original plan, as per https://wiki.fsci.in/Videos.fsci.in

Why is this important?

Money saved is money earned. Instead of asking for 11,000 per year (as per present cost) and maintaining 75-160 videos indefinitely on a peertube instance, we can shut it down and use the developer effort and money elsewhere.

What are you asking people to do?

Give consent for sunsetting peertube, otherwise come up with a reason why it makes sense to invest in this.

For this proposal to pass, we need the majority of members to vote Agree.

If you Disagree, say why and what needs to change for you to Agree.

Results

Pirate Praveen
Agree

One less thing to worry/pay since we did not get enough maintainers.

Akshay

@Pirate Praveen it is not about maintainers, it is about money. If your decision is based on maintainers, you have to rethink.

Ravi Dwivedi
Agree

This doesn't seem to be financially viable

harish k
Agree

If we dont have a plan / roadmap to make this service finacially viable, better to shut down it for now

mujeebcpy
Agree

ya this is unwanted expense. there should be an option to download these videos.

fugata
Block

There's a group of 6 people interested in maintaining Fedi services for Indians. That includes videos.fsci.in. We're about to begin a crowdfunding campaign, and this sunsetting discussion should only happen if we don't manage to raise enough funds.

Akshay

@fugata It'd be best to set a deadline for how long this should be blocked for.

Tanzeem Mohammad Basheer

Would like ti see a peertybe instance in india thrive. But subset for now

Badri Sunderarajan

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.

Akhil

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.

Akshay

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

Akshay

@Badri Sunderarajan @fugata kindly update the status

Akshay

I've upgraded the instance from v7.3.0 to v8.1.8 (including postgres migration from 10 to 17).

Akshay

Have upgraded the instance from 8.1.8 to 8.2.0

Akshay

An alternative I can think about is to have those who upload videos pay money proportional to their video size.

Akshay

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.

Akshay

Have upgraded to 8.2.4 (which includes a security fix).

Akshay

Have upgraded to 8.3.0

Akshay

Have upgraded to 8.3.1 which contains security fixes

Akshay

Have upgraded to 8.3.2 which contains security fixes.