frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tell HN: Merry Christmas

1355•basilikum•13h ago•320 comments

Ask HN: Payload in Amazon "Shipped" Emails

2•krautburglar•1h ago•1 comments

Ask HN: Did any projects succeed with crowdfunding?

3•asim•2h ago•1 comments

Ask HN: Good uses cases for Fabrice's microquickjs

10•fud101•10h ago•2 comments

Ask HN: At 34, can I aspire to being more than a JavaScript widget engineer?

11•yesitcan•7h ago•9 comments

Looking for Decent Conversation?

89•kmstout•16h ago•13 comments

Ask HN: HarmonyOS Open Source Development

2•rumpelstiel•4h ago•0 comments

Tell HN: Merry Christmas

86•franze•1d ago•53 comments

Ask HN: What are the best engineering blogs with real-world depth?

428•nishilpatel•2d ago•127 comments

Google Cloud Run cost me $4,676 in 6 weeks with zero traff

38•creativesage•17h ago•24 comments

Ask HN: How many HN'ers Celebrate Christmas vs. ?

11•gist•11h ago•10 comments

Stronk.app – open-source gym lifts journal

59•apatheticonion•1d ago•29 comments

Ask HN: Why isn't there competition to LinkedIn yet?

55•antfie•2d ago•56 comments

Ask HN: Why isn't everyone talking about (and using) Cerebras?

6•ray__•13h ago•0 comments

Could the optimal vibe coder be fundamentally different from the optimal SWE?

3•inshard•14h ago•2 comments

Tell HN: Merry Christmas

17•teruakohatu•1d ago•4 comments

Ask HN: My mother was scammed out of all her savings. What should I do?

129•scapbi•2d ago•66 comments

Ask HN: Why is Hacker News red? Christmas?

11•onesandofgrain•11h ago•11 comments

Ask HN: Oberon et al., vs. Rust

16•mikethe•2d ago•30 comments

Ask HN: What developer tool do you wish existed in 2026?

19•allenleee•3d ago•18 comments

Ask HN: What did you lose forever because you had no backup?

15•postit•1d ago•15 comments

GitHub is returning Gateway Time-outs

9•pera•21h ago•6 comments

Ask HN: Which is the best sync engine?

5•olivieropinotti•1d ago•3 comments

Cloudflare Stream + Backblaze vs. GCP for Short Form Video?

3•slroger•1d ago•7 comments

Ask HN: Can you patent prompts?

12•rcarmo•1d ago•17 comments

Ask HN: Do you have an exit plan for Slack?

7•gtirloni•17h ago•4 comments

Ask HN: How do you use the "waiting time" while Claude (other LLMs) is working?

7•pedrodelfino•19h ago•5 comments

Ask HN: Anybody here ever write apps for Windows Phone?

3•ge96•1d ago•2 comments

I built two dozen single-file HTML tools that run offline and need no back end

17•ajtracysk•3d ago•13 comments

SSH Tiny.christmas

9•cyanbane•17h ago•1 comments
Open in hackernews

Cloudflare Stream + Backblaze vs. GCP for Short Form Video?

3•slroger•1d ago
Hi HN, I'm building a short form video app(avg clip length 40 seconds, expecting 10-50,000 plays per day, growing, with 20% of traffic outside the US,80% in the US, mostly mobile). I'm deciding between:

1.) CloudflareStream + Backblaze(B2): Pros: Simple product, minutes viewed pricing(possibly cheaper than GCP for video streaming), built in transcoding. Concern: not sure if their ABR quality will match the quality of say GCP's which was really good in prior use.

2. GCP(GCS+TranscoderAPI+MediaCDN) Pros: I used this set up previously and it was robust, storage was cheap, network costs were low and the streaming quality was excellent. And the console was fairly easy to navigate(especially compared to AWS) I left GCP because of non Video Streaming related issues(Video Intelligence API was exceptionally expensive) but considering going back just for Video storage and streaming Cons: There were some issues configuring the transcoder API and also concerned there may be gotcha prices as I get more users

So if you've used Cloudflare Stream or GCP's video streamin services I'd love your take on: Real world playback quality for short videos especially 1080p/720p behaviour and bitrate ladders on CloudStream.

Any gotchas in pricing when it comes to either CloudStream or GCP Video Streaming services

Reliability/Operational issues you've run into.

I'm currently leaning on Cloudflare Streaming as it seems cheaper/better deal but concerned about reliability and quality of video streams. So maybe going back to GCP for video streaming wouldnt be so bad.

So looking forward to your thoughts, thank you

Comments

christophilus•23h ago
I’ve used Netcup to run an ffmpeg transcoding fleet, stored in Wasabi, served via BunnyCDN. It worked great, and I had total control of everything. You might also check out Bunny’s video services which didn’t exist when I built out my solution.
Risse•19h ago
What's the software stack you have been using for the transcoding fleet? Is there any ready made open source solution?
slroger•14h ago
Thank you, first time I'm hearing about Bunny CDN will do some more research on them.
charlesding2024•21h ago
I've been using Cloudflare's ecosystem heavily for my video tools and can share some thoughts:

For your use case (40s clips, 10-50K plays/day), Cloudflare Stream's per-minute pricing model could be significantly cheaper than GCP, especially as you scale. Their ABR quality is quite good for 1080p/720p - I haven't noticed quality issues in practice.

One consideration: Cloudflare Stream has a 30s minimum charge per video, so for 40s clips you're paying for 60s. This might eat into the cost savings vs GCP.

Backblaze B2 + Cloudflare has free egress which is huge, but make sure you're using the Bandwidth Alliance properly to avoid surprise charges.

Have you considered keeping source files in B2 and only using Cloudflare Stream for delivery? That hybrid approach might give you more flexibility.

slroger•14h ago
I see, yes I am planning to keep the raw video files in B2.

So about the 30 second minimum charge, my current scenario is users can record and upload videos of any length between 5-60 seconds max if they are recording from the app's camera. On average I have found its 40 second videos. But if uploading from their gallery max is videos of 3minute length or lower.

Thank you for the reply as well. Glad the quality of cloudflare stream is good

charlesding2024•1h ago
Makes sense. Just a heads-up on the hybrid approach: storing raw files in B2 while also ingesting to Stream means you're paying for storage twice.

Also, for the mobile app, definitely look into Direct Creator Uploads. You can generate a signed URL on your backend and let the phone upload straight to Cloudflare. It saves a ton of headache handling bandwidth on your own servers.

Merry Christmas!

gethly•1h ago
I would transcode myself. All you need is ffmpeg and a bit of code to manage the input and output files and to call ffmpeg. You can scale as needed. One VPS can do a lot of work. I am doing it myself.

Then you'll need storage(wasabi, backblaze, idrive) and CDN. Bunny CDN or Beluga CDN are, i think, one of the cheapest. Or you can build your own(I did), in case the CDN would pull too much data from origin and cause you increased costs as wasabi gives you only 1:1 egress with stored data and backblaze gives you 3:1. By that I mean that the CDN might always get the file from origin instead of sharing the file among its own nodes. So the origin would experience increased egress.

You can also rent a beefy storage VPS instead. For example, 2x 500 GB NVMe SSDs + 4x 22 TB Enterprise HDDs + 50 TB Bandwidth@2x 1Gbps costs 159€/month.

There are various ways how to do it and in the end it is up to you to pick what works for you the best. Mostly how much work you want to do yourself, how good are your programming skills and how much money you are willing to spend going forward.