noodleswind

joined 1 year ago
[–] [email protected] 1 points 1 year ago

the above calculation is with hls segments, but if you go the simple route and create mp4 videos, the cost to serve a million views can come down to 0.36$.

[–] [email protected] 1 points 1 year ago (3 children)

It exists: https://github.com/mediacms-io/mediacms

Also, I am building one. Demo available at https://subatic.com

I developed a pipeline to create slow/fast gif, seeking thumbnail and transcode to various resolutions.

Also I sorted out u/NikStalwart concern using cloudflare R2.

Math below.

It costs $0.36 to serve a million files, regardless of size.

An average of 3 sec hls segment, so I can serve 3 million seconds (833.33 hours) for 0.36$.

1$ = ~ 2316 hours.

Average video is 10 minutes give or take.

So, 14,000 streams of a a video for 1$ or 72$ for a million streams.

and the pricing can be reduced by increasing hls segment post first minute of video since initial buffering needs to be quick. I have done the math for that as well, it all comes down to ~10$ for a million views.

[–] [email protected] 1 points 1 year ago

bash script would do this, wont it?

[–] [email protected] 1 points 1 year ago

Push notifications on my phone.

ntfy?

[–] [email protected] 1 points 1 year ago
[–] [email protected] 2 points 1 year ago (4 children)

and you should know they ban accounts for no reason as well.

[–] [email protected] 1 points 1 year ago

also delete redownloadable media. most of the media i want to watch is downloaded 10 minutes prior. I just leave hard to find media always there.

[–] [email protected] 1 points 1 year ago

I'm doing something similar except now I'm running out of space on my 1 TB volume. Now I need to upgrade and/or figure out a long term solution to convert to H265. Some of my files have file size differences on the scale of 400 MB vs 2 GB.

run tdarr. schedule it to run at downtime.

[–] [email protected] 1 points 1 year ago (3 children)

running on a single core 2 gig cloud server. just set filter to h264 so there is no transcoding.

works for me.