• 0 Posts
  • 6 Comments
Joined 9 months ago
cake
Cake day: October 18th, 2023

help-circle

  • 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.