Jan 2

Case Study: How AV1 Encoding Slashed a Client's CDN Bill by 31%

Welcome to a pioneering case study that showcases the transformative journey of one of our early-access clients using our soon-to-be-released video encoding service. This narrative delves into the client's initial challenges in video encoding and streaming, employing the H.264 codec. Despite trials with H.265, VP8, and VP9, cost-effectiveness remained elusive. This story unfolds the transition to our innovative AV1 Video Encoding Service, highlighting the impressive cost savings. We'll also provide an insightful glimpse into the compatibility and user engagement statistics post-implementation, offering a comprehensive view of the impact our services have on modern video streaming solutions. Continue reading to unveil how this client achieved a remarkable 31% CDN cost reduction using our AV1 Video Encoding Service!

Case Study: How AV1 Encoding Slashed a Client's CDN Bill by 31%

Prior to migration

Type Gbps
MPEG-DASH H.264 33
HLS H.264 27
Plain HTTP H.264 7
Total H.264 67
Total 67

After migrating all compatible traffic to AV1

Type Gbps
MPEG-DASH H.264 4
MPEG-DASH AV1 8
HLS H.264 27
Plain HTTP H.264 6
Plain HTTP AV1 0.5
Total H.264 37
Total AV1 8.5
Total 45.5

This migration resulted in a significant saving of 21.5Gbps out of the initial 67Gbps, equating to a 32.1% reduction in CDN bandwidth.

How did we do it?

The client shared a lengthy history of trial and error, investing significant time and resources in experimenting with various codecs such as H.265, VP8, and VP9. Despite exploring different libraries, drivers, tools, and hardware over the years, their consistent conclusion was that encoding and serving H.265, VP8, or VP9 was not economically justified, until the introduction of SlashedCloud AV1 Encoding, and its reduced price.

This experience resonates with many of our clients who have faced similar challenges. The encoding costs always outweighed the potential savings on CDN bandwidth expenses, making it an impractical investment over an extended period.

Generally speaking, only clients with a limited number of videos, but served frequently, find added value in extra encodings, for instance H.265 for Apple devices. However, this scenario is not representative of the broader majority within our client base.

The game-changer in this narrative was the affordability of SlashedCloud's AV1 Encoding Service. Our pricing model made it economically feasible, marking a pivotal shift in the cost-effectiveness of video encoding. We'll explore this aspect more thoroughly later in this post.

We also would like to share that across all the videos encoded for all our current customers, we noticed an average compression of 67% (Yes, 67% savings! A 1000GB file becomes 330GB, with a VMAF score of 95%, visually indistinguishable).

It's imperative to conduct a comprehensive study on compatibility prior to the encoding process and, afterwards, you'll also need to prepare your video player to serve these (encoded) files correctly.

Our customer has kindly shared their conclusions with us and we're passing along these insights to you. The information gathered in this blog post could potentially save you a considerable amount of time in your own endeavours.

  • AV1 is not currently supported on Apple devices, except for the new iPhone 15 Pro and 15 Pro Max models (we anticipate broader support in the future)
  • It's essential to continue serving H.264 (or H.265) to ensure compatibility across various devices.
  • Few web players support segmented AV1. We could only successfully play them using dash.js and shaka player. Their choice was shaka player.
  • MPEG-DASH was their streaming method of choice for adaptive bitrate. MPEG-DASH is codec-agnostic and therefore works with both AV1 and H.264.
  • VideoJS can play single bitrate AV1 plain HTTP streams on supported browsers.

Current Client Approach

iOS

  • For iOS devices (version > 10), serve HLS with H.264 using videoJS.
  • Accounts for 27% of the client's traffic (views/plays) and 59% of the CDN traffic (bandwidth). We hope the compatibility of apple devices and AV1 increases in the future leading to further savings.

Android and Windows PC's

  • For Android and Windows PCs on Chrome (version > 63) and Firefox (version > 67) using shaka player with MPEG-DASH and AV1.
  • This implementation dynamically assesses the browser's capability through API calls such as "MediaSource.isTypeSupported" and "navigator.mediaCapabilities.decodingInfo." In cases where AV1 is unsupported, the player seamlessly shifts to MPEG-DASH with H.264.
  • Accounts for 68% of the client's traffic (views/plays) and 18% of the CDN traffic (bandwidth).
  • Notably, this segment reflects the most substantial savings for our client.

Legacy

  • For any other platforms/browsers, use plain HTTP with H.264
  • Accounts for 5% of the client's traffic (views/plays) and 14% of the CDN traffic (bandwidth).
  • This is needed for compatibility with old devices/browsers.

Why SlashedCloud is the game changer?

Our AV1 encoding pricing is incredibly affordable — around 10x cheaper than the lowest-cost competitor we could find on the market. Find all the details here.

Customer Approach

Here's a breakdown of the customer's calculations.

CDN price:

  • CDN storage price is 0.01€ per GB
  • CDN streaming price is 0.005€ per GB

Video library details:

  • Video library consists of 116571 videos with an average duration of 18 minutes each video
  • Videos are encoded in up to 6 different formats depending on the original video's resolution (4K, 1080p, 720p, 540p, 360p, 270p), average 5 versions

Encoding costs:

  • The total cost of encoding was 360,455.3€ (see details table)
  • The user publishes 30 new original videos every day and the cost to encode these is 77€

CDN costs before migration:

  • CDN consumption on the month prior switching to AV1 was 67Gbps, making a total of 22024575 GB transferred which costed 110122.9€
  • H.264 encoded video library was occupying 126976GB - costing 1269.8€ per month

CDN costs after migration:

  • CDN consumption on the month after switching to AV1 was 45.5Gbps, making a total of 14956987.5GB transferred which costed 74784.9€
  • His AV1 encoded video library was occupying around 41984GB - costing around 419.8€ per month

Savings and ROI:

  • The total CDN cost was 111392.7€/month and dropped to 76474.5€/month, meaning 34918.2€ (31.3%) savings per month.
  • The initial investment of 360,455.3€ will be recouped in just 10 months, marking a swift return on investment.

This financial outlook underscores the enduring benefits and cost-effectiveness achieved through the adoption of SlashedCloud Services.

Encoding Cost Breakdown

(for the client's initial library)

Source Height Target Height Minutes Codec Multiplier (AV1) Resolution Multiplier Multiplied Minutes Cost (EUR)
270 270 58088 5 0.5 145220 1742.64
360 270 79476 5 0.5 198690 2384.28
360 360 80239 5 0.5 200597.5 2407.17
540 270 477950 5 0.5 1194875 14338.5
540 360 473475 5 0.75 1775531.25 21306.375
540 540 481057 5 0.75 1803963.75 21647.565
720 270 525159 5 0.5 1312897.5 15754.77
720 360 526191 5 0.5 1315477.5 15785.73
720 540 526150 5 0.75 1973062.5 23676.75
720 720 526562 5 0.75 1974607.5 23695.29
1080 270 921880 5 0.5 2304700 27656.4
1080 360 922334 5 0.5 2305835 27670.02
1080 540 922534 5 0.75 3459502.5 41514.03
1080 720 922238 5 0.75 3458392.5 41500.71
1080 1080 923196 5 1 4615980 55391.76
1620 270 119 5 0.75 446.25 5.355
1620 360 119 5 0.5 297.5 3.57
1620 540 119 5 0.75 446.25 5.355
1620 720 119 5 0.75 446.25 5.355
1620 1080 119 5 1 595 7.14
1620 1620 119 5 1.5 892.5 10.71
1620 2160 111 5 2 1110 13.32
2160 270 72468 5 0.5 181170 2174.04
2160 360 72506 5 0.5 181265 2175.18
2160 540 72522 5 0.75 271957.5 3263.49
2160 720 72510 5 0.75 271912.5 3262.95
2160 1080 72507 5 1 362535 4350.42
2160 2160 72554 5 2 725540 8706.48
TOTAL: 360,455.36€

*All videos encoded in 30 FPS (1x Multiplier)
*Price per encoded minute set at 0.012€

Conclusions

The decision to opt for SlashedCloud's AV1 Encoding Service has proven to be a lucrative investment for this client. The return on investment is projected to be achieved in just 9 months, with subsequent savings thereafter.
In contrast, choosing services from our competitors would extend the payback period to over 7 years.

While it's true that AV1 is not yet universally supported, with most Apple devices and some legacy devices lacking compatibility, its impact on Android and Windows PCs is already substantial. Looking ahead, we anticipate the complete adoption of AV1 by Apple, which already began with the iPhone 15 models, and we're confident on further underscores on the long-term worthiness of AV1 Encoding investments.

If you seek additional details please don't hesitate to reach out to us through our contact form!

Sincerely,
The SlashedCloud Development Team

Latest Posts:

Jan 9

Case Study: Harnessing H.265 and AV1 Encoding for 41% CDN Savings

Discover how one of our clients transformed their video streaming efficiency by adopting H.265 and AV1 encoding for their most popular content. This strategic move led to a remarkable 41% reduction in CDN bandwidth usage, translating into substantial cost savings. Dive into our case study to explore the process, the technology, and the impactful results achieved through this innovative approach.

See more →

Feb 7

Global Codec Adoption: AV1, H.265 and H.264

Discover global codec preferences with this informative map displaying support percentages for AV1, H.265 and H.264 by country. Gain insights into multimedia technology adoption trends across regions and anticipate future codec utilization patterns on a global scale.

See more →

Feb 7

Elevating Encoding Excellence: SlashedCloud Leverages VMAF for Superior Video Quality

In today's competitive digital landscape, delivering top-notch video quality is essential for engaging audiences and ensuring a memorable viewing experience. SlashedCloud, the leading encoding solution, is proud to announce our integration of VMAF (Video Multimethod Assessment Fusion) to enhance the quality of encoded content for our clients.

See more →