Delivering 15TB of 4K video with Cloudflare R2 for $2.18
The company delivers 4K video content for $2.18 monthly using Cloudflare R2, serving over 15 terabytes of video and employing adaptive bitrate streaming for smooth playback and efficient file management.
Read original articlethe company successfully delivers 4K video content using Cloudflare R2 at a minimal cost of $2.18 per month. They serve over 15 terabytes of video monthly, with plans to increase bandwidth due to new course offerings. The decision to use Cloudflare R2 was driven by the need for a reliable, developer-friendly, and affordable video hosting solution. Unlike traditional video hosting services that charge high fees based on bandwidth and storage, Cloudflare R2 offers free egress bandwidth, making it a cost-effective choice. The company employs adaptive bitrate streaming using HTTP Live Streaming (HLS) to ensure smooth playback across varying internet speeds. They utilize FFmpeg for video encoding and rclone for uploading to Cloudflare R2, allowing for efficient management of video files. The integration of HLS.js ensures compatibility across different browsers, enhancing user experience. Overall, this approach allows the company to maintain high video quality while keeping costs low.
- The company delivers 4K video content for $2.18/month using Cloudflare R2.
- They serve over 15 terabytes of video monthly and plan to increase bandwidth.
- Cloudflare R2 offers free egress bandwidth, making it more affordable than traditional video hosting services.
- Adaptive bitrate streaming via HLS is used to ensure smooth playback for users with varying internet speeds.
- FFmpeg and rclone are utilized for video encoding and file management, respectively.
Related
Ask HN: Share your FFmpeg settings for video hosting
A user is developing a video hosting site allowing MP4 uploads, utilizing H.264 for video and Opus for audio. They seek advice on encoding settings and challenges faced in the process.
The backbone behind Cloudflare's Connectivity Cloud
Cloudflare has increased its backbone capacity by over 500% since 2021, operating data centers in 330 cities globally, utilizing advanced technologies for efficient data transfer and enhancing connectivity, especially in Africa.
New standards for a faster and more private Internet (Zstandard, ECH, BBR)
Cloudflare has introduced Zstandard compression, which is 42% faster than Brotli and reduces file sizes by 11.3% compared to GZIP, alongside Encrypted Client Hello for enhanced user privacy.
Reaffirming Our Commitment to Free
Cloudflare continues to offer a free service tier since 2010, enhancing it with security and analytics updates, supporting over 30 million domains, and fostering partnerships with ISPs to reduce costs.
We discovered the woes of video hosting and built a better system
Wistia transitioned from a portfolio website to a video hosting platform, focusing on quality and reliability. Their innovations include an in-house encoding service and the new Aurora player for improved performance.
This would ignore the upload costs and any API costs.
Don't get confused like other commenter.
This works because you dont have complexity of real time encoding, muxing. It quickly becomes a complex infra to manage if we do that ourselves.
I am curious what CDN are you using and what are rough configs?
Related
Ask HN: Share your FFmpeg settings for video hosting
A user is developing a video hosting site allowing MP4 uploads, utilizing H.264 for video and Opus for audio. They seek advice on encoding settings and challenges faced in the process.
The backbone behind Cloudflare's Connectivity Cloud
Cloudflare has increased its backbone capacity by over 500% since 2021, operating data centers in 330 cities globally, utilizing advanced technologies for efficient data transfer and enhancing connectivity, especially in Africa.
New standards for a faster and more private Internet (Zstandard, ECH, BBR)
Cloudflare has introduced Zstandard compression, which is 42% faster than Brotli and reduces file sizes by 11.3% compared to GZIP, alongside Encrypted Client Hello for enhanced user privacy.
Reaffirming Our Commitment to Free
Cloudflare continues to offer a free service tier since 2010, enhancing it with security and analytics updates, supporting over 30 million domains, and fostering partnerships with ISPs to reduce costs.
We discovered the woes of video hosting and built a better system
Wistia transitioned from a portfolio website to a video hosting platform, focusing on quality and reliability. Their innovations include an in-house encoding service and the new Aurora player for improved performance.