How do you quantify the performance of a video stream? What metrics should you use?
Long after Andy Grove stressed the importance of metrics for decision-making, software companies are becoming more and more data-driven. SaaS businesses live or die on CAC and MAU. Applications have Apdex; servers have load average; networks have latency and throughput.
But video streaming is complicated. Like network traffic, a video stream has latency (loading/seeking time) and throughput (bitrate). But it also has a target speed (frame rate); two different size dimensions (bitrate and resolution); variable sizing, when doing adaptive bitrate streaming; and subjective elements, like audio and video quality.
While there are dozens of metrics that can be used to understand video streaming performance, it's important to keep metrics simple. Remember, the goal is not to have a lot of data, but to extract insight from data. Too much complexity is counterproductive. Fortunately, all of these metrics can be distilled into four basic categories, which represent four major points for viewers1: playback failures, startup time, rebuffering, and video quality.
1. Playback failures are easy to understand. Did a video fail to play due to an error? If so, it is also important to track the underlying errors themselves. HTML5 video has four predefined error codes, for example. Other parts of the playback chain (like a DRM library or a MPEG-DASH playback technology) can throw errors as well.
2. Startup time measures how long a video takes to start playing. The longer a video takes to load, the more likely a viewer is to leave. Startup time can be measured in several ways: the time it takes for the first frame of video to appear after a user hits "play", the time it takes to load a video player, or the time it takes to load an entire page. Various metrics related to advertising fall into this category as well, like the wait time between an ad and video content.
3. Rebuffering is stalling in the middle of playback due to a buffer underrun. In other words, the video stream is loading slower than the video wants to play, so playback has to stall to buffer more video. Rebuffering can be measured in several ways:
4. Video quality is easy to understand, but probably the hardest element to measure. Objectively measuring the quality of a standalone video stream is basically an unsolved problem.2 So the metrics are forced to take a simplified approach, such as looking at video bitrate or resolution (or both).
In practice, since video quality is not easily measured by any single metric, some combination of bitrate, resolution, and other factors (like the underlying content) may be needed to accurately measure quality.3
These four categories cover the four critical dimensions of video streaming. Did video play? How quickly? Was playback seamless? And how did it look/sound? Each of these is important, and you really need to track at least one metric from all four categories if you want to understand video performance.
If you want this kind of information for your video platform, you have two options: build it yourself, or use a video analytics platform like Mux. A well-designed platform makes this hard problem simple - drop a few lines of Javascript next to your web video player, or include an SDK with your mobile or OTT app, and get valuable data in minutes. Get in touch if you if you want to take it for a spin.
No credit card to start. $20 in free credits when you're ready.
50 Beale Street, Floor 9
San Francisco, CA, 94105
34-37 Liverpool Street
Unit 4.06, 4th Floor
London, EC2M 7PP