<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Guillaume Renault on Medium]]></title>
        <description><![CDATA[Stories by Guillaume Renault on Medium]]></description>
        <link>https://medium.com/@grenault73?source=rss-dbddb91e6f3b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Guillaume Renault on Medium</title>
            <link>https://medium.com/@grenault73?source=rss-dbddb91e6f3b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:17:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@grenault73/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[When web video streaming takes from finance.]]></title>
            <link>https://medium.com/canal-tech/when-web-video-streaming-takes-from-finance-4fecabae1156?source=rss-dbddb91e6f3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fecabae1156</guid>
            <category><![CDATA[television]]></category>
            <category><![CDATA[streaming-video]]></category>
            <category><![CDATA[ott]]></category>
            <dc:creator><![CDATA[Guillaume Renault]]></dc:creator>
            <pubDate>Fri, 02 Feb 2018 10:13:02 GMT</pubDate>
            <atom:updated>2018-03-01T13:15:38.570Z</atom:updated>
            <content:encoded><![CDATA[<h3>The way towards streaming</h3><p>40 years ago, at a time where people had CRT televisions in their living-room, the media industry had revolutionized the world of consumption. The possibility was given for everyone to possess his own copying of his favorite movie. From this pivotal period until nowadays, came a lot of developments around the “individual copy”. VHS brought the object, DVD brought digital quality, and Blu-ray was even better. While TV benefited from satellite, cable or terrestrial broadcasting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4CairXAuEyAr_ir-2HvbQ.jpeg" /></figure><p>Back in the early 2000’s, media industry met his greatest enemy, mass content piracy. With the emergence of easily shared resources on large computer networks (may I say the “internet”), the media consumer has discovered his power to download free content and keep it digitally at home. The industry’s first solution was to propose content purchasing at low prizes, for the first time in dematerialized formats. Little by little, consumer realized that he didn’t even have to stock content. He could stream media from the “cloud”. Finally, he had enough personal bandwidth to stream data in large resolutions, so in better quality.</p><p>In order to respond to “not really legal” streaming platforms, media industry decided to propose large catalogs, with attractive prices, higher quality and greatest reliability in streaming technologies. Mass media streaming relies on multiples technologies, on both media and computer science sides. Streaming implies encoding, distributing and packaging strategies for server-side, but relies also on the intelligence of client-side strategies.</p><h3>How does streaming work</h3><p>Media playback has the duty of being continuous for the consumer, whatever are the involved technologies and constraints. So, some constraint being inevitable, the client-side must be intelligent enough to take into account data about network condition, buffering constraints and playback capabilities, to efficiency download and buffer media data into the web browser.</p><p>There are different standards that define a way for server-side to encode content, and propose it to the web browsers (MPEG-DASH, Smooth Streaming, HLS). The server exposes a document, the manifest, which defines how split is the content (into segments), how it should be playback and how it can be downloaded. Several representations of content, with different resolutions, and so different bitrates, are available for being downloaded. The browser may predict what is the best segment to download along representations so that user benefit from no stalls and from best quality he might have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h06B2y8tYkWNprJedXjfaQ.jpeg" /></figure><p>Each streaming consumer faces internet speed variations, that depends on his network usage or external network conditions. The browser, under a finite number of last real bitrates, may be able to predict what is the next bitrate, to determine what representation of content he should download.</p><p>We consider three cases of bitrate variations:</p><ul><li>The first one is precisely not a variation, but just the case where bitrate doesn’t evolve on a large time period.</li><li>The bitrate increases either slowly or rapidly.</li><li>The bitrate decreases either slowly or rapidly.</li></ul><p>Actually, in these cases, we have to define how we may predict correctly the next bitrate. The solution is to take into account the bitrates on a defined time period. By the way, what is the meaning of “taking into account”?</p><h3>The science behind adaptive streaming</h3><p>At first sight, we may tend to calculate an average mean of N last real bitrates. But, we have to consider the latest bitrate as more important, bitrate evolution not being random, but correlated from one bitrate to another. So here is the tool that we might use: the exponential weighted moving average (EWMA). Don’t be afraid if you are not really a math’ person, the principle is pretty simple. Consider a stream of samples (bitrates in our cases). At each new occurrence in the stream, you will calculate an average from all the samples, applying weighting factors which decrease exponentially, from the last sample to the earlier. The half-life of the EWMA represents the degree of weighting decrease. A higher half-life discards older samples faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BQTt_LvLuAWvIC8oYPKvYA.jpeg" /></figure><p>Consider a large half-life. The predicted bitrate will logically evolve over fluctuations. If bitrate increase quickly, the predicted will continue to evolve slowly, to avoid wide quality gaps between segments. The aim is to ensure smooth visual transitions between representations for the consumer.</p><p>But, there is one edge case that might be considered. In the case where bitrate decrease quickly, you can’t assume the fact to slowly decrease predicted bitrate, because you might still be overhead the download capabilities. In that case, we leave behind the visual aspect, we must ensure continuity in media playback. This edge case implies to tolerate wide quality gaps between segments.</p><p>As a consequence, we may take into account bitrate variations over small periods, in the case were bitrate decrease suddenly. In some of the major DASH players (e.g. Rx-player, Shaka-player, DASH.js), two EWMA are calculated on a large (case 1) and small half-life (case 2).</p><p>As a next bitrate, we chose the smaller of both. A smaller estimated bitrate on case 2 means that bitrate has decreased quickly, while a smaller estimated bitrate on case 1 means that either bitrate increases, is stable, or decrease slowly. In a nutshell, when using this method, we ensure: <br> — The slow transition to better quality. <br> — The need for continuity in video playback.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEkRbEHhgv7OTTHQzbk9LA.png" /></figure><p>In right graph, you can observe two EWMA, applied with high and low half-life. The short-term EWMA value is lower than the other when the bitrate decreases fast.</p><p>The moving average is used either on short-term fluctuations, and long-term trends or cycles. It is often used in technical analysis of financial data, like stock prices, returns or trading volumes. We analyze gross domestic product, employment or other macroeconomics time series. It can be considered as a low-pass filter, used in signal processing, in a mathematical point of view.</p><p>Definitely, adaptive bitrate should ensure that streaming issues stay transparent to viewers eyes. The aim is not to avoid issues, but to provide intelligence on how to deal with these issues. Advanced strategies rely on network conditions, but also on buffer capabilities and even on playback quality.</p><p>MIT has recently published work on how to imply machine learning in such cases. According to the type of constraint (network, buffer, playback), an algorithm shall be able to decide which algorithm should be used to get a efficient streaming.</p><p>At Canal+, we work on video streaming technologies (e.g. Rx-Player <a href="https://github.com/canalplus/rx-player">https://github.com/canalplus/rx-player</a>) and more broadly, on media, TV and IT technologies. By the way, we are hiring! If working with that sort of stuff interests you, take a look at <a href="http://www.vousmeritezcanalplus.com/">http://www.vousmeritezcanalplus.com/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fecabae1156" width="1" height="1" alt=""><hr><p><a href="https://medium.com/canal-tech/when-web-video-streaming-takes-from-finance-4fecabae1156">When web video streaming takes from finance.</a> was originally published in <a href="https://medium.com/canal-tech">CANAL+ TECH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>