STEVE INSKEEP, HOST:
On a Thursday, it's MORNING EDITION from NPR News. I'm Steve Inskeep.
RENEE MONTAGNE, HOST:
And I'm Renee Montagne.
Who hasn't been driven crazy trying to watch a video online only to have it freeze, then start, then freeze again. The smooth loading of video clips, though, is not just important to viewers.
As NPR's Sami Yenigun reports, video providers also see it as critical.
(SOUNDBITE OF VIDEO)
SAMI YENIGUN, BYLINE: You may have heard this one already.
(SOUNDBITE OF VIDEO)
YENIGUN: You're showing a friend some hilarious video that you found online.
(SOUNDBITE OF VIDEO)
YENIGUN: And right before you get the punchline...
(SOUNDBITE OF VIDEO)
YENIGUN: A little loading dial pops up in the middle of the screen.
(SOUNDBITE OF VIDEO)
YENIGUN: Buffering kills comedic timing, and according to a study published by UMass professor Ramesh Sitaraman, it kills attention spans too.
RAMESH SITARAMAN: What we found was that people are pretty patient for up to two seconds.
YENIGUN: That's a really nice way of saying people are pretty impatient.
SITARAMAN: If you start out with, say, 100 users, if the video hasn't started in five seconds, about one-quarter of those viewers are gone, and if the video doesn't start up in 10 seconds, almost half the viewers are gone.
YENIGUN: If a video doesn't load in time, people get frustrated and click away. This may not come as a shock, but until now it hadn't come as an empirically supported fact either.
SITARAMAN: This is really the first large-scale study of this kind, that tries to relate video-streaming quality to viewer behavior.
YENIGUN: And when Professor Sitaraman says large scale, he means it. The study looked at close to 6.7 million viewers who watched almost 23 million videos played. So how long is too long? Depends on the device.
SITARAMAN: We found that people who had a lot of connectivity had also a lot of expectation potentially, and so they abandoned much sooner.
YENIGUN: For about half of the people who used a high speed fiber optic connection, five seconds is too long to wait. Mobile users will wait longer. For a business that serves an ad base of 800 million people a month, every second counts. The more users that click away, the bigger the problem.
ANDY BERKHEIMER: When we started to look into this problem, we found that kind of the existing player we had was not up to the task.
YENIGUN: That's Andy Berkheimer, engineering manager for YouTube. For the past two years, his team has been working on a project that makes sure your knock-knock jokes are delivered without the pauses.
(SOUNDBITE OF VIDEO)
BERKHEIMER: And so we had to rewrite our entire player to give us more flexibility in how we handled network conditions.
YENIGUN: The need for flexibility has to do with bandwidth. Think of streaming video as being like a stream of liquid information. Bandwidth is the size of the pipe.
No matter where you are, no matter what type of device you're using, no matter what type of network you're on - at any time while you're watching a video, bandwidth can change.
So if that bandwidth, or pipe, constricts too much...
(SOUNDBITE OF WATER)
YENIGUN: ...the video stops playing. Here's how YouTube is solving this problem. They chop the video into a bunch of tiny pieces. From moment to moment, depending on how much bandwidth is available, they swap these pieces in and out as the video streams.
So if there's a ton of bandwidth, a high definition piece flows down the pipe, but if that pipe constricts, even for a second, a lower quality piece is swapped in.
SITARAMAN: And that way we can keep the data flowing uninterrupted, and we can choose a quality level that is right for the bandwidth conditions at that moment.
YENIGUN: And less load time means more video, more eyeballs, and more money for ads. But what's the cost?
(SOUNDBITE OF MUSIC)
YENIGUN: Some films aren't always seen in their best light. For example, filmmaker Gregory Wilson just used state of the art camera equipment to film a Cheetah running full speed in super-slow motion. HD captures every stunning detail of the cat's fluid motion. But when you watch it online, who knows how it will look.
GREGORY WILSON: I would hope that, you know, the quality could be the best that it could be and be more on par with what I had originally captured.
YENIGUN: But since businesses need that video to run no matter what it looks like, the rest of us will likely see grainy cheetahs rather than stuttering punch lines.
Sami Yenigun, NPR News.