How MediaMelon SmartPlay Saves Bandwidth Costs and Improves QoE

MediaMelon’s SmartPlay is a streaming optimization solution that reduces bandwidth use by 35% or more and improves QoE while working with your existing ABR content without reencoding. As you’ll read in this post, SmartPlay works by analyzing the quality of every segment in an ABR package and producing a hintfile used by the SmartPlay plug-in installed in the player to direct which segments are retrieved.

Rather than simply retrieving the highest bitrate stream the viewer’s bandwidth supports, operators can set quality preferences on a per-content or per-subscriber basis. This saves bandwidth and allows the player to buffer ahead for hard-to-encode scenes that require a high-bitrate segment to achieve target quality.

SmartPlay works for live and VOD delivery, supports static and dynamic packaging and dynamic ad insertion, and doesn’t increase latency. This makes SmartPlay a practical, affordable and easy to implement solution for any operator looking to control costs or quickly reduce outbound bandwidth for COVID-19 related limitations.

This is the first of three posts on SmartPlay, and it will cover what SmartPlay is and how it works. The second post will discuss how to implement SmartPlay and what it costs. The final post will be a case study from Telecine, Brazil’s leading movie streaming service.

How Most ABR Technologies Work

Most ABR technologies work by retrieving the highest quality stream in the encoding ladder that the viewer’s bandwidth can support. Particularly for operators using a fixed bitrate ladder, with some content, the quality of the top rungs may be visually indistinguishable from lower rungs, so the operator is paying for the extra bandwidth without improving quality of experience.


Figure 1. Typical ABR operation (on top) is bandwidth driven. SmartPlay operation is quality driven.

SmartPlay Overview

SmartPlay has two elements that must be integrated into your production workflow and playback architecture. The first is the Content Analyzer, which uses a MediaMelon technology called QBR (for quality bitrate) to analyze every segment of every stream in the ABR package and score it on a MOS scale from 1-5.

After analyzing the ABR package, the Content Analyzer produces two “hintfiles;” one for small screens and one for larger ones. SmartPlay is trainable via machine learning, and during installation, MediaMelon will tune the algorithm for the operator’s content and encoder, a process that continues periodically as the system collects more field data.

The second SmartPlay integration is via a plug-in installed within the player, which is accomplished using formal APIs and callbacks offered by all commercial and open-source players.

Player Operation

During playback, the SmartPlay-enabled player targets the quality level specified for that subscriber, which can vary by subscriber level, content type, and other variables. Operationally, the player uses the hintfile to retrieve segments that meet the specified quality level, which is often less than the quality available in the higher ladder rungs, particularly for operators using a fixed bitrate encoding ladder.


Figure 2. SmartPlay downloads lower bitrate streams in simple scenes to
reduce bandwidth and buffers ahead to download complex scenes to improve quality.

In operation, SmartPlay reduces bandwidth costs by downloading the stream that meets the quality level specified for that subscriber, as opposed to the highest bitrate stream that the viewer’s bandwidth can support. SmartPlay improves quality by looking ahead for complex scenes that require a higher bitrate to maintain target quality. If there is sufficient buffered content on the player, the player will download these scenes in advance, improving the overall quality of the session.

SmartPlay has three operating modes, Quality, Bitrate, and Cost Save, that allow the operator to tune the system to meet their specific QoE and cost saving goals. Both Quality and Bitrate modes improve quality and reduce bandwidth usage, with Quality mode delivering higher quality and lower bandwidth savings and Bitrate mode delivering greater bandwidth reductions and less quality improvements. In Cost Save mode, SmartPlay prioritizes bandwidth savings and never buffers ahead to improve quality. In all modes, retrieving the lowest possible bandwidth stream that meets the target quality level saves bandwidth and reduces the possibility of rebuffering and other bandwidth-related issues.

Beyond these three operating modes, operators can set video quality delta targets that minimize the perceptible quality shifts in the video, which can degrade viewer QoE. You see the results in the Statistics screen in Figure 3, in the upper right of the video player window (click the figure to see at full resolution). The Segment uplift of 13.79% indicates the number of retrieved segments that improved video quality scores. This uplift positively impacts two other statistics shown on the screen. First is the 40.17% increase in quality consistency, which means many fewer perceptible quality shifts during playback. Second is the 1.1 increase in the Least MOS score from 3.4 to 4.5, meaning that the quality of the lowest quality segments viewed by the subscriber jumped from 3.4 to 4.5, which should eliminate most, if not all, short-term quality glitches. Both statistics impact viewer QoE which SmartPlay significantly improved in this case.

Figure 3. SmartPlay improves Quality Consistency and Least MOS score as well.

This short (4:19) YouTube video further demonstrates how SmartPlay works and improves overall quality and QoE.

SmartPlay and Content Adaptive Encoding

Content Adaptive Encoding (CAE) techniques, also called per-title encoding, adjust the encoding settings for the ABR package to reflect the encoding complexity of the video content. There are many CAE technologies and they all operate differently, so it’s impossible to create a blanket statement about how CAE impacts SmartPlay’s performance and benefits. That said, as you’ll see in the next section, all of the real-world data shown from Telecine’s SmartPlay installation was generated with video encoded using AWS Elementals QVBR, a form of per title encoding, and SmartPlay still produced a bitrate savings of 42.45% while slightly improving quality.

In addition, SmartPlay has several key advantages over CAE, most notably that you don’t have to rencode your entire library to use it. Also, where CAE is fixed, SmartPlay is dynamic, so if you need to adjust bandwidth and quality on-the-fly, as many producers have had to with COVID-19, you can. With CAE, you can’t.

Now that we’ve covered how SmartPlay works let’s have a look at the benefits it delivers.

Analytics Detail the Bandwidth Savings and Quality Improvements

SmartPlay’s backend is SmartSight Analytics which produces the data you see in the figure below. The metrics shown on this and the following pages are from 24 hours of Telecine operation in Bitrate mode while encoding with AWS Elemental’s QVBR, which is a form of per-title encoding.

Figure 4. SmartPlay’s backend is SmartSight Analytics, here showing
the performance from 24 hours of real-world operation.

As you see, high-level metrics compare SmartPlay operation to default ABR operation and tracks data bandwidth saved, quality density increase, the bitrate reduction produced by SmartPlay, and iMOS change. The dashboard also graphically displays the difference between SmartPlay and ABR performance over the tracked period and presents quality buckets for the content actually delivered.
Data saved and bitrate reduction are obvious and need no definition. As the name suggests, Quality Density is a measure of the video quality achieved over the bandwidth that you deliver.

Consider an example. Assume you encoded a static newsreader with a fixed bitrate ladder. For most of the video, the 1080p rung would deliver little perceivable quality over the 720p rung but the data rate might be 2 Mbps higher. In this case, the 1080p rung has a much lower quality density than the 720p rung. If SmartPlay can meet the quality target by delivering the 720p stream, it has increased the Quality Density, and the quality bang for your bandwidth buck.

The iMOS change is the difference between the quality of the SmartPlay delivered segments and what the ABR player would have delivered without SmartPlay. In this case, despite a bitrate reduction of over 40%, iMOS quality actually improved slightly.

Finally, iMOS bucketing groups the iMOS quality scores into the five MOS buckets and shows the number of segments delivered in each bucket. During the covered period, the vast majority of segments delivered were in the top two quality buckets. This, the improvement in quality density, and the positive iMOS change of 0.23 shows the SmartPlay increased viewer QoE while reducing bandwidth by 42.45%.

File-by-File Results

Operators can also view the results on an asset-by-asset basis as you see below, again real-world stats for 24 hours of operation. As you can see, columns show ABR bitrate, QBR bitrate, and bitrate reduction.

Figure 5. File-by-file performance (click figure to see at full resolution).

The next two columns show the Quality Density of the ABR and QBR streams with QBR significantly higher, indicating a much more efficient use of bandwidth. For these files, which were sorted for highest average QBR iMOS, ABR iMOS scores were slightly higher, though as you saw in the previous figure, SmartPlay improved iMOS overall by 0.23. The last column shows the Quality Density increase, measured as the percentage increase from ABR quality density (2.82) to QBR quality density (7.59).

Telecine’s Real-World Savings

Telecine is a joint venture of Globo Group with Paramount Pictures, Universal Pictures, Metro-Goldwyn-Mayer and The Walt Disney Company, and also streams content from Sony Pictures and Warner Bros.

I present the Telecine case study in the third SmartPlay blog post and the data below as a teaser. For perspective, Telecine implemented SmartPlay in Bitrate mode and streams video encoded using AWS Elemental’s QVBR per-title encoding technology.

Figure 6. One week of real-world Telecine results (click to see figure at full resolution).

The chart above shows one week of Telecine results. As you can see, SmartPlay saved 79.26 TB of bandwidth over those 7 days while slightly improving quality as shown by the 0.24 iMOS change.

This short (3:23) YouTube video shows SmartPlay analytics in action using 4 days of actual results from the Telecine installation.

Summary

Let’s summarize SmartPlay’s key features, benefits, and advantages:

● Reduces bandwidth costs, particularly for delivery to mobile devices
● Improves subscriber Quality of Experience by:
– Improving overall MOS scores
– Reducing buffering events
– Improving quality consistency
– Improving the Least MOS Score
● Key implementation features
– Works for both live and VOD
– Works with existing VOD content – no re-encoding required
– Operators can choose between three operating modes to best match operating goals
– Operators can customize quality level on a per-subscriber or per-content basis
– Operational efficiency improves over time via machine learning

As I’ll discuss in the next article, SmartPlay works with existing encoding and delivery infrastructures with only two integration points

About Jan Ozer

Avatar photo
I help companies train new technical hires in streaming media-related positions; I also help companies optimize their codec selections and encoding stacks and evaluate new encoders and codecs. I am a contributing editor to Streaming Media Magazine, writing about codecs and encoding tools. I have written multiple authoritative books on video encoding, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (https://amzn.to/3kV6R1j) and Learn to Produce Video with FFmpeg: In Thirty Minutes or Less (https://amzn.to/3ZJih7e). I have multiple courses relating to streaming media production, all available at https://bit.ly/slc_courses. I currently work as www.netint.com as a Senior Director in Marketing.

Check Also

Rating techniques that cut bandwidth costs.

Five Codec-Related Techniques to Cut Bandwidth Costs

The mandate for streaming producers hasn’t changed since we delivered RealVideo streams targeted at 28.8 …

Single-Pass vs Two-Pass VBR: Which is Better?

Let’s start this article with a quiz regarding how the quality and encoding speed of …

My FFmpeg-Related New Year’s Resolution: Document Before I Test

My typical workflow for testing-related articles and reports is to create the command string, run …

Leave a Reply

Your email address will not be published. Required fields are marked *