<?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[Unified Streaming - Medium]]></title>
        <description><![CDATA[Unified Streaming is a forerunner in creating smart video streaming technologies and defining industry-advancing standards and specifications. Founded in 2012 and headquartered in Amsterdam, Unified Streaming leads the new wave of content aggregation. - Medium]]></description>
        <link>https://medium.com/unifiedstreaming?source=rss----3837f69c821c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Unified Streaming - Medium</title>
            <link>https://medium.com/unifiedstreaming?source=rss----3837f69c821c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:52:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/unifiedstreaming" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Manifest Edit: How it started, and where it’s going]]></title>
            <link>https://medium.com/unifiedstreaming/manifest-edit-how-it-started-and-where-its-going-3e767fdca2a9?source=rss----3837f69c821c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3e767fdca2a9</guid>
            <category><![CDATA[players]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[manifest]]></category>
            <category><![CDATA[metadata]]></category>
            <dc:creator><![CDATA[Linzi McRae]]></dc:creator>
            <pubDate>Tue, 17 May 2022 15:22:43 GMT</pubDate>
            <atom:updated>2022-05-17T15:22:43.338Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*oYqG54UysB3rxTjz.jpg" /></figure><p>This blog’s about the history and mystery of Manifest Edit: how it started; how user feedback helped to improve it; and how it’s evolving.</p><h3>What is Manifest Edit?</h3><p>Manifest Edit is a tool we created for users who experience difficulties using a single manifest to meet the needs of every device. Closely tied to Unified Origin and Unified Packager, the feature boosts device control and compatibility, making it possible to serve even more viewers with personalized streams.</p><h3>Manifest Edit: how it started</h3><p>Like all features and solutions, Manifest Edit was thought up long before its actual release.</p><p>Way back when, during conversations with customers and via support cases, we recognized a recurring pattern of viewers experiencing limited playback due to specific edge-case challenges with third-party components. Which made sense. Delivering content to countless smart TVs, set-top boxes, streaming boxes, phones, laptops, and tablets meant grappling with countless intricacies and quirks.</p><p>Customers needed a fix that they could quickly deploy to resolve device-specific issues — and that lay beyond the boundaries of standard Origin and Packager outputs, and outside of specifications.</p><p>The promise of straightening out all the kinks in the stream, while maintaining the integrity of our own code, inspired us to wonder. What if we could create a solution that could cleverly deviate from specifications — and that we could support easily?</p><p>Enter Manifest Edit.</p><h3>Oddities and obstacles</h3><p>Hardware gets old, and software versions are supplanted by newer, better-supported, less bug-ridden versions. For Manifest Edit to work well, it had to be able to clear many hurdles.</p><p>Here are a few examples from users with particular challenges.</p><h3>What we set out to do</h3><p>Our aim was to give customers more control to respond to particular non-standard device and player issues that were sometimes relevant only to them.</p><p>For customers, accessing centralized workarounds in a tool that comes with support would mean that instead of spending time troubleshooting, raising bugs, and coding bespoke sidesteps, they could focus on creating high-value features essential to their offerings.</p><p>Making the solution lightweight, simple, and quick to start couldn’t hurt. And keeping our support/​ops team in mind, we wanted to build the tool so that support cases could be resolved easily. (While we’re at it, why not help ourselves?)</p><p>We wanted customers to be able to:</p><h3>Did we achieve what we tried to achieve?</h3><p>Yes, we did — and in a way, no, not exactly.</p><p>We did create a solution for streaming services that delivered content to multiple players. We did increase control over third-party devices and how they read manifests. And we did pave a way for our support/​ops team to resolve support cases in a flexible way. Our Manifest Edit proved to be lightweight, simple, and quick to get up and running, too.</p><p>But in our quest to maximize efficiency and diversity of operability, we exposed too much implementation detail, making our solution appear more complicated than it actually is. Since our original idea was to create something separate from Unified Origin and Unified Packager, we had to add a configuration step during installation and upgrades. This step brought us feedback from customers like ​”I don’t want to install another tool in my already complicated toolchain.”</p><p>And, beyond Manifest Edit’s launch, our features library wasn’t generic enough to cover a wider array of changes.</p><h3>What we learned</h3><p>For starters, we reflected on the old axiom ​”if it ain’t broke, don’t fix it.” For those customers who had older but proven workarounds, migrating to something new wouldn’t be a priority. And we understood why. Nevertheless, we’re grateful to those who share their weird and wonderful setups with us — we genuinely enjoy hearing about creative approaches, and nerding out on intricate complexities. Not only that, this information proved to be quite insightful. Anything we learn from one customer that can help ten more with the same issue is a win in our book.</p><p>Though fewer than anticipated, other customers who could solve specific problems by deploying Manifest Edit were glad to have a recommended and supported option. Which made us glad too.</p><p>Looking back, one of the missteps we made was in marketing. Rather than pitch Manifest Edit as a stand-alone tool apart from Origin and Packager, we should have announced and promoted it as a feature that comes standard. A plugin per use case had a limited appeal and applicability. A universally interchangeable library of solutions that could address more than one use case would have been better. And yes, the installation process of Manifest Edit could have stood more streamlining.</p><p>We also learned that sharing stories is key. Since we were one more step removed from devices than our users, we didn’t get direct exposure to the scope of issues that our customers get in their complex workflows.</p><h3>How we adapted</h3><p>To shift the ​’add-on’ perception, we switched the installation. Now, the solution is automatically installed and pre-configured by default. Since the solution’s full capabilities are already baked in, there are no additional steps a user must take.</p><p>We also integrated Manifest Edit more tightly with the Origin so that it could take advantage of the already powerful manifest logic. Reframing how we think and talk about the solution simplifies the very tool that stands for simplification. Manifest customization is a solution enabled by the Manifest Edit origin feature. The user doesn’t need to find it or add it. Right out of the box, it’s there.</p><h3>So, what’s new?</h3><p>Manifest Edit remains a lightweight, flexible solution that customers feel safe using, knowing it’s a fully supported, trusted way to step away from specification. Certainly, it is built well and with attention to detail, and is grounded in years of experience. Instead of thinking about it as an add-on, customers can consider it a perk — a free differentiator — that is tightly integrated with Unified Origin.</p><p>In its reimagined form, Manifest Edit offers customers the ability to <a href="https://docs.unified-streaming.com/documentation/manifest-edit/use_cases/index.html">address a wider range of use cases</a> with a new and improved library of preset options. And there is no barrier to entry. Customers don’t need to bother re-configuring or re-starting their webserver. They can just browse the library, find their issue’s solution, make their own version, and get customizing.</p><h3>What the future holds</h3><p>As the announcers on linear television used to say before an ad break: ​”stick around, we’ll be back right after this.”</p><p>Starting with ​”simple” features that would grow in complexity as the toolset matured originally was — and still is — one of our targets.</p><p>Addressing an even broader range of use cases with the default tool set is well underway. We also aim to deliver new out-of-the-box integrations and more complex features. For instance, CMAF (Common Media Application Format) with CBCS (Cipher Block Chaining System) encryption and single period to multiperiod use cases are waiting in the wings. If you’re looking for either of these options we want to hear from you! In the future, amending not only manifests, but media, too, may be possible. The past and present have focused nearly solely on VOD, but the future of Manifest Edit will include live cases.</p><h3>In closing</h3><p>We encourage users to think creatively about the possible different ways of combining and chaining various use cases to realize specific changes they may need. Get in touch with us to share your stories, ideas, and frustrations. We’re happy to think alongside you to reach a solution.</p><p>To realize the full potential of your complex workflows, and avoid any bugs, we always recommend using the latest version of our software. If you already have an Origin or Packager setup installed and would like to try out this feature in its new and improved form with even more preset use cases, upgrade to our .</p><p>If you’re new to our software and would like to try it out, please <a href="https://www.unified-streaming.com/get-started">sign up for a free trial.</a></p><p><em>Originally published at </em><a href="https://www.unified-streaming.com/blog/manifest-edit-how-it-started-and-where-its-going"><em>https://www.unified-streaming.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e767fdca2a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unifiedstreaming/manifest-edit-how-it-started-and-where-its-going-3e767fdca2a9">Manifest Edit: How it started, and where it’s going</a> was originally published in <a href="https://medium.com/unifiedstreaming">Unified Streaming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Look mom, no Live encoder: the advantages of VOD2Live]]></title>
            <link>https://medium.com/unifiedstreaming/look-mom-no-live-encoder-the-advantages-of-vod2live-d293ebfa6139?source=rss----3837f69c821c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d293ebfa6139</guid>
            <category><![CDATA[unified-streaming]]></category>
            <category><![CDATA[live-encoder]]></category>
            <category><![CDATA[unified-remix]]></category>
            <category><![CDATA[vod2live]]></category>
            <dc:creator><![CDATA[Doug Walker]]></dc:creator>
            <pubDate>Tue, 13 Apr 2021 09:15:52 GMT</pubDate>
            <atom:updated>2021-04-13T12:14:48.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*zY0FlnXbSwGRUdsiKRSc8Q.png" /></figure><p>The <a href="https://www.unified-streaming.com/">Unified Streaming Platform</a> now supports <a href="https://www.unified-streaming.com/solutions/vod2live">Remix VOD2Live</a>, a new way of creating a linear live channel from VOD assets without the need for a live encoder. To showcase this we wanted to do something special, so we created a live channel with the best of our tutorials and masterclasses, including SSAI using our very own ads. Your favorite Unified experts on repeat 24 hours a day, with free commercials to boot!</p><p>In this blog we’ll take you through the basics of Remix VOD2Live, explain how we built the demo, how each of the components work and introduce you to the tools you’ll need to build your own VOD2Live channel.</p><h3>Why VOD2Live?</h3><p>Since Netflix launched ‘Direct’ as a trial in France in 2020*, VOD2Live has been ever more in the OTT zeitgeist. ‘Direct’ plays out a prepopulated schedule, making Netflix essentially a linear television experience. This step back from the traditional streaming model — viewer choice — to a traditional broadcast model — preselected playout — may seem antiquarian; actually it solves two very contemporary concerns.</p><p>First, the ‘paradox of choice’ currently plaguing your viewer. Not only do viewers have a multitude of streaming providers to choose between, but once on your platform they are confronted with a choice of hundreds if not thousands of programs. And secondly the inverse, you most likely have thousands of under-utilized hours of content sitting on your servers. With VOD2Live your viewer can request ‘I just want to watch some horror movies’ and you can offer them to tune in to a continuous stream of classics from your library.</p><p>Scheduled programming, when uncoupled from the costly and inflexible delivery of a traditional broadcast workflow, presents many interesting use cases unique to the OTT space:</p><ul><li>One-off event channel (e.g., town hall meeting, pre-recorded product launch or concert)</li><li>Niche channel (e.g., rotating playlists of documentaries, gardening or home improvement TV)</li><li>Premium codec channel (Easily live stream Dolby VOD, or AV1 encoded content)</li><li>Brand or product channel (e.g., a BMW channel with BMW sponsored movies and ads)</li><li>Trailer or barker channel (e.g., previews of newly released series/movies to entice people to start watching your VOD assets)</li><li>Advertising channel (e.g., TelSell)</li></ul><p>Enough sales talk, let me get back to describing how we used Remix VOD2Live to build a looping live stream of tutorials and masterclasses, we call the Live Learning Channel.</p><h3>The Demo Environment</h3><p>In short, our demo builds on the following steps which are part of a full Remix VOD2Live workflow:</p><ul><li>Preparation of source content</li><li>Creation of a playlist to define the livestream’s schedule</li><li>Processing of the playlist in preparation for streaming</li><li>Making the stream available through Unified Origin</li></ul><p>We run all of the above steps in a containerized environment, making it easy to spin up locally for testing purposes and to run both a ‘stable’ and ‘trunk’ version of the demo. As the overall Remix VOD2Live solution is pretty straightforward, we use a single container running Origin and the web frontend that hosts different players. The container is built and deployed to our Kubernetes cluster using a Helm chart, and consists of the following:</p><ul><li>Alpine Linux</li><li>Apache</li><li>Unified Origin (mod_smooth_streaming)</li><li>Unified’s CLI tools (unified_remix, mp4split et cetera)</li></ul><p>For those of you not familiar with <a href="https://helm.sh/">Helm</a> it’s a tool to help you define, install, and upgrade applications deployed with Kubernetes. Everything in Kubernetes can be described with a YAML file. To generate these YAML files and serve as a single source of truth, Helm uses templates (charts, in Helm language) and then manages the deployment of the services specified in these templates to the Kubernetes <a href="https://www.vmware.com/topics/glossary/content/kubernetes-cluster">cluster</a>. We will publish a deeper dive into the demo architecture in a later blog.</p><h3>Preparing source content</h3><p>As indicated above, the initial step of any VOD2Live workflow is to ensure your content is prepared. In short, this means all content must share a similar encoding profile:</p><ul><li>Codec</li><li>GOP length</li><li>Bit rate ladder</li><li>Resolution</li><li>Aspect ratio</li><li>Frame rate</li><li>Sample rate</li></ul><p>And although Remix can accommodate for certain differences, for the purpose of our demo we ran FFmpeg against all the tutorials and masterclasses we recorded throughout the past year to make sure they are encoded identically. To make this process easily repeatable (when new content needs to be added), we defined everything in a Makefile.</p><p>As this process needs to run only once, we did so in a separate environment. Actually running the VOD2Live container comes next.</p><h3>The ‘Schedule’</h3><p>The playlist that defines the schedule is XML-based and formatted according to the SMIL specification. In our demo setup, we mount the a playlist to the container when we deploy it. Since it acts as the ‘schedule’ of the live stream it can be considered the starting point for VOD2Live, at least from our perspective. Let’s take a look:</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;smil xmlns=&quot;http://www.w3.org/2001/SMIL20/Language&quot;&gt;<br>&lt;!--Live Learning Channel Playlist--&gt;<br>  &lt;head/&gt;<br>  &lt;body&gt;<br>    &lt;seq&gt;<br>      &lt;par&gt;<br>        &lt;!--Start of the schedule with a recorded presentation by Simon--&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-avc1-400k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-avc1-750k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-avc1-1000k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-avc1-1500k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-avc1-2200k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4-aac-128k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Playlists_Simon_v4.ismt&quot;/&gt;<br>        &lt;!--Inserting a SCTE 35 splice_insert() to mark the start of ad replacement opportunity--&gt;<br>        &lt;EventStream xmlns=&quot;urn:mpeg:dash:schema:mpd:2011&quot; schemeIdUri=&quot;urn:scte:scte35:2014:xml+bin&quot;&gt;<br>          &lt;Event&gt;<br>            &lt;Signal xmlns=&quot;http://www.scte.org/schemas/35/2016&quot;&gt;<br>              &lt;SpliceInfoSection&gt;<br>                &lt;SpliceInsert outOfNetworkIndicator=&quot;0&quot; spliceImmediateFlag=&quot;1&quot;&gt;<br>                  &lt;Program/&gt;<br>                &lt;/SpliceInsert&gt;<br>              &lt;/SpliceInfoSection&gt;<br>            &lt;/Signal&gt;<br>          &lt;/Event&gt;<br>        &lt;/EventStream&gt;<br>      &lt;/par&gt;<br>      &lt;par&gt;<br>        &lt;!--First ad stitched into the stream (can be replaced dynamically based on the SCTE 35 markers--&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-avc1-400k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-avc1-750k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-avc1-1000k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-avc1-1500k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-avc1-2200k.mp4&quot;/&gt;<br>        &lt;video src=&quot;http://s3.internal.unified-streaming.com/vod2live/Unified_Astronaut_A_v2-aac-128k.mp4&quot;/&gt;<br>        &lt;!--Inserting a SCTE 35 splice_insert() to mark the end of ad replacement opportunity--&gt;<br>        &lt;EventStream xmlns=&quot;urn:mpeg:dash:schema:mpd:2011&quot; schemeIdUri=&quot;urn:scte:scte35:2014:xml+bin&quot;&gt;<br>          &lt;Event&gt;<br>            &lt;Signal xmlns=&quot;http://www.scte.org/schemas/35/2016&quot;&gt;<br>              &lt;SpliceInfoSection&gt;<br>                &lt;SpliceInsert outOfNetworkIndicator=&quot;1&quot; spliceImmediateFlag=&quot;1&quot;&gt;<br>                  &lt;Program/&gt;<br>                &lt;/SpliceInsert&gt;<br>              &lt;/SpliceInfoSection&gt;<br>            &lt;/Signal&gt;<br>          &lt;/Event&gt;<br>        &lt;/EventStream&gt;<br>      &lt;/par&gt;<br>      &lt;!--Playlist is much, much longer than this, but cut short here for the sake of brevity--&gt;<br>    &lt;/seq&gt;<br>  &lt;/body&gt;<br>&lt;/smil&gt;</pre><p>As you see, it<em> is</em> basically a schedule; a list of content, and messages — programming, bumpers, ads, SCTE-35 markers — in the order they should be played/processed.</p><h3>Processing the playlist</h3><p>So, when the container spins up and finds a SMIL playlist, it processes it with Remix, which can ‘mix’ content from various sources and put it onto a continuous timeline for seamless streaming.</p><p>This part is captured in the ‘remix it’ part of below snippet form our VOD2Live container’s entrypoint script:</p><pre>if [ &quot;${1#-}&quot; != &quot;$1&quot; ]; then<br>  # prep all the vod2live schedules<br>  for smil in /var/www/unified-origin/smils/*smil<br>  do<br>    target=$(echo ${smil%.smil} | sed &quot;s@smils/@@&quot;)<br>    # remix it<br>    unified_remix --license-key /etc/usp-license.key \<br>      -o ${target}.mp4 \<br>      ${REMIX_OPTS} \<br>      ${smil}<br>    # isml it<br>    mp4split --license-key /etc/usp-license.key \<br>      -o ${target}.isml \<br>      --vod2live \<br>      ${MP4SPLIT_OPTS} \<br>      ${target}.mp4<br>  done<br>  set -- httpd &quot;$@&quot;<br>fi</pre><p>Remix creates a lightweight, quick to create ‘remixed’ MP4. This file references but does not contain the source media specified in the SMIL. From the assets in the playlist Remix also builds a new timeline for the stream, and stores this information in the remixed MP4.</p><h3>Delivering the VOD2Live stream</h3><p>With the playlist encapsulated in the ‘remixed’ MP4 all that remains is to create the server manifest containing the configuration of your live stream. Using the VOD2Live option and the remixed MP4 as input, the Origin will output the media as live, announcing only segments as they become available according to the specified start time of the stream.</p><p>This part is captured in the ‘isml it’ part of below snippet form our VOD2Live container’s entrypoint script:</p><pre>if [ &quot;${1#-}&quot; != &quot;$1&quot; ]; then<br>  # prep all the vod2live schedules<br>  for smil in /var/www/unified-origin/smils/*smil<br>  do<br>    target=$(echo ${smil%.smil} | sed &quot;s@smils/@@&quot;)<br>    # remix it<br>    unified_remix --license-key /etc/usp-license.key \<br>      -o ${target}.mp4 \<br>      ${REMIX_OPTS} \<br>      ${smil}<br>    # isml it<br>    mp4split --license-key /etc/usp-license.key \<br>      -o ${target}.isml \<br>      --vod2live \<br>      ${MP4SPLIT_OPTS} \<br>      ${target}.mp4<br>  done<br>  set -- httpd &quot;$@&quot;<br>fi</pre><p>By default, the stream becomes available immediately and has a start time equal to the time at which the server manifest was created. However, it is possible to specify a custom start time; to set up everything beforehand but to keep Origin from actually generating a stream when requests are made until the start time is reached. This is especially useful for use cases like exclusive live streams of prerecorded events like concerts.</p><h3>Look Mom, no live encoder</h3><p>All in all it sounds fairly simple, and the basic idea is, however there are two huge advantages:</p><ol><li>No Live Encoder</li><li>No manifest manipulation</li></ol><p>There is no live encoder, wow! That saves you on the infrastructure and running costs involved with a live encoder workflow. The only limiting factors to the number of channels you can run are licenses and servers. Additionally, you can work with the more difficult codecs for live such as AV1 or Dolby Atmos and overall the simpler workflow allows for a faster time to market for new channels.</p><p>No manifest manipulation. Meaning less complexity and no loss of functionality. DRM, no problem, Dynamic Ad Replacement, no problem. All the standard live options are available in VOD2Live.</p><h3>Conclusion</h3><p>With your Remix VOD2Live workflow set up and working within your current structure, you can create, start and stop channels with relative ease. Just make a new SMIL available, process it with Remix and you have a new channel. If we want to add more content to the Learning Channel we simply kill the current container and spin up a new one, with an updated/changed SMIL playlist mounted to it.</p><p>The overall simplicity of Remix VOD2Live means you can cheaply and easily explore new opportunities with your content. If you want to test if that 24/7 Bob Ross arts channel is a winner, schedule it! The channel doesn’t even run until someone wants to view it. If it doesn’t work, you wasted minimal effort and cost.</p><p>There you have it, the containerized Learning Channel demo brought to you by Remix VOD2Live. A simple but elegant solution for giving VOD material all the functionality of live, with less cost and effort.</p><p>See the <a href="https://demo.unified-streaming.com/vod2live-demos/">Remix VOD2Live Learning Channels</a> in action.</p><p><a href="https://beta.docs.unified-streaming.com/documentation/remix/vod2live/vod2live.html#hands-on">Try it for yourself</a>, with this quick and easy hands-on, available in our documentation (note: requires a VOD2Live activated license).</p><p>Learn more about the <a href="https://beta.docs.unified-streaming.com/documentation/remix/vod2live/vod2live.html#">technical requirements</a> of Remix VOD2Live</p><p>Contact <a href="https://www.unified-streaming.com/contact#entry:68@1:url">sales</a> if you have further questions or if you would like a license to test drive VOD2Live.</p><p>*Ref: <a href="https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=143795">Netflix launched ‘Direct’ as a trial in France in 2020</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d293ebfa6139" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unifiedstreaming/look-mom-no-live-encoder-the-advantages-of-vod2live-d293ebfa6139">Look mom, no Live encoder: the advantages of VOD2Live</a> was originally published in <a href="https://medium.com/unifiedstreaming">Unified Streaming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Unified Origin’s performance with cloud storage using Apache subrequests]]></title>
            <link>https://medium.com/unifiedstreaming/improving-unified-origins-performance-with-cloud-storage-using-apache-subrequests-6b30ef6a73b2?source=rss----3837f69c821c---4</link>
            <guid isPermaLink="false">https://medium.com/p/6b30ef6a73b2</guid>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[ott]]></category>
            <category><![CDATA[dynamic-packaging]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Doug Walker]]></dc:creator>
            <pubDate>Mon, 08 Feb 2021 11:07:31 GMT</pubDate>
            <atom:updated>2021-02-08T11:07:30.979Z</atom:updated>
            <content:encoded><![CDATA[<p>As streaming service providers move to replace local storage solutions with cloud storage services, Unified Streaming is increasingly asked for best practices to optimize performance, reduce the cost and intelligently scale cloud-based video on-demand (VOD) deployments.</p><p>To better address these needs we developed a new feature to deliver significant performance improvements and increased flexibility for setups that rely on cloud storage services.</p><p>Historically, Unified Origin has relied on <a href="https://curl.se/libcurl/">libcurl</a> to manage all HTTP(S) requests to cloud storage. A robust solution but with one disadvantage: each request from origin to the cloud storage requires a new connection. This establishing of a new connection is the most performance limiting step of the request process, in terms of network latency.<br>After our decision in 2018 to focus support on Apache over other web servers, we saw an opportunity to optimize this approach.</p><p>An option was to update the existing libcurl implementation. But doing so posed a significant technical challenge, and a costly commitment to ongoing support. We researched alternative solutions, finding one in Apache’s internal subrequests. As they can be configured to keep established connections alive between Origin and cloud storage and so reduce the frequency of connection setup to improve performance.</p><p>For insight into performance gains, we built a test setup to compare Apache subrequest and libcurl configurations. This article provides a summary of the setup and the observed results. A future publication will cover the research in detail.</p><h3>Test Setup</h3><p>The test setup we built, comprised of common features including:</p><ul><li>Unified Origin running on an <a href="https://aws.amazon.com/ec2/instance-types/">AWS EC2 instance</a> [C5n.large]</li><li>Storage on cloud-based storage e.g. S3 storing the files as fragmented MP4 [<a href="https://www.unified-streaming.com/blog/cmaf-conformance-is-this-really-cmaf">CMAF</a>]</li><li>Many clients requesting segments directly to Unified Origin</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*cC3vPXPj8KssGG-WBpLH8w.png" /></figure><p>To isolate testing of the load from Origin to the storage backend, we omitted the following elements:</p><ul><li>A Content Delivery Network (CDN)</li><li>Computing nodes (servers) were not improved/tuned at the kernel level or web server level</li><li>A shield cache between the client and Origin</li></ul><h3>Cloud Storage Configuration</h3><p>We selected the Amazon instance C5n.large for Unified Origin deployment, primarily because of its high network bandwidth and its lightweight virtualization technology provided by<a href="https://aws.amazon.com/ec2/nitro/"> AWS Nitro</a>.</p><p>A C5n.large instance is composed of 2vCPUs~1physical core, 5.25GiB of RAM, up to 25Gbps network bandwidth.</p><h3>Methodology</h3><p>The testbed included our <a href="https://github.com/unifiedstreaming/streaming-load-testing/blob/master/docs/MMSys2020-paper.pdf">load generation tool</a> running on one or more cloud instances, which allowed for the emulation of requests from a large and variable number of users. We used a workflow manager to deploy the workflow configuration and run experiments in an automated manner.</p><p>In total 250 tests were performed by increasing the load (the number of users) in steps of 5, 10, 20, or 50 every 5 or 10 seconds to a maximum total between 50 and 600 emulated users.</p><p>Performance evaluations were performed for both DASH and HLS outputs.</p><h3>Media Source</h3><p>The test content’s ABR ladder tracks were each packaged to a CMAF media container and stored on Amazon S3. The media assets contained a frame rate of 24fps, with a total content duration of 4891 seconds.</p><h3>Tests Performed</h3><p>Two cache-less configurations were A/B tested:</p><ol><li>libcurl</li><li>Subrequests</li></ol><h3>Tested Advantages of Apache Subrequests</h3><p>Overall, the evaluation of Unified Origin in combination with Apache subrequests delivered gains in three key areas:</p><ol><li>Higher throughput</li><li>Latency reduction</li><li>Higher stability of TCP connections</li></ol><h3>Throughput</h3><p>Apache subrequests provided throughput gains of up to 24% in comparison to libcurl configurations, alleviating causes of poor user experience, such as lowering of bitrate quality, continued rebuffering and stalling of playback.</p><p>The following figure illustrates the average throughput towards the client by the four tested configurations for DASH and HLS outputs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_VuW1YrmsXMudKocaRyXOw.png" /></figure><h3>Response Time</h3><p>Test results demonstrated a latency reduction of up to 27% for subrequests compared to libcurl.</p><p>The following figure presents an HLS client emulation of the configurations (<a href="https://unified.fra1.digitaloceanspaces.com/images/DASH-avarage-response-times.png?mtime=20210204171912&amp;focal=none#asset:37358@1:url">results for DASH show a similar difference</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CAA4wKz0C1xFrusI51bI9g.png" /></figure><p>Note: considering the load conditions of the experiment and the computing power available from the chosen instances, the average response time as reported by the clients, is higher than what can be achieved in a production setup.</p><h3>TCP Connections</h3><p>The following figure presents the average number of active TCP connections by the tested configurations for HLS (<a href="https://unified.fra1.digitaloceanspaces.com/images/DASH-TCP-active-connections.png?mtime=20210204171914&amp;focal=none#asset:37359@1:url">results for DASH show a similar difference</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uA_E0kSOK5HbaxYQoe2fIw.png" /></figure><p>In this performance evaluation of Unified Origin, the subrequests used fewer open TCP connections in comparison to libcurl. They also demonstrated greater stability and higher throughput towards clients. This improvement relies on the reuse and keeping alive of connections by subrequests.</p><h3>Closing Thoughts</h3><p>Taking all the results from our research into account, we observed that Apache internal subrequests provide significant performance gains over libcurl by,</p><ul><li>Increasing throughput towards the client</li><li>Reducing the response time for client manifest and media segment requests</li><li>Reducing the number of TCP/IP connections opened by Origin</li><li>Providing higher stability of Origin</li><li>Giving more flexibility in the setup configuration</li><li>Reducing hardware resource consumption such as memory and CPU usage</li></ul><p>Combined, these gains allow for more simultaneous client requests per Unified Origin and therefore in the long term decrease infrastructure costs. This should be true for all setups switching to subrequests, but even greater gains in performance can be achieved by fully tuning your setup. The methodologies and performance techniques involved in that will be discussed in a future publication.</p><p>Overall, we advise everyone using Unified Origin to enable the new subrequests functionality. This can be done in a matter of minutes.</p><p>Apache subrequests are available from release 1.10.28 onwards. For further information on installation and configuration, please consult our <a href="https://docs.unified-streaming.com/documentation/vod/storage_proxy.html">documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b30ef6a73b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unifiedstreaming/improving-unified-origins-performance-with-cloud-storage-using-apache-subrequests-6b30ef6a73b2">Improving Unified Origin’s performance with cloud storage using Apache subrequests</a> was originally published in <a href="https://medium.com/unifiedstreaming">Unified Streaming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn2Adapt in low-latency streaming]]></title>
            <link>https://medium.com/unifiedstreaming/learn2adapt-in-low-latency-streaming-a93a5bca578b?source=rss----3837f69c821c---4</link>
            <guid isPermaLink="false">https://medium.com/p/a93a5bca578b</guid>
            <category><![CDATA[low-latency]]></category>
            <category><![CDATA[adaptive-streaming]]></category>
            <category><![CDATA[low-latency-streaming]]></category>
            <dc:creator><![CDATA[Theo Karagkioules]]></dc:creator>
            <pubDate>Wed, 06 Jan 2021 14:29:49 GMT</pubDate>
            <atom:updated>2021-01-08T14:25:23.455Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog post presents an online (machine) learning bitrate adaptation solution, that focuses on low-latency applications.</p><h3>What makes streaming adaptive?</h3><p>To keep pace with the explosion of video traffic over the past decade, significant progress has been made in the development and design of adaptive video streaming solutions and standards. Most notably the MPEG Dynamic Adaptive Streaming over HTTP (DASH) ISO standard, along with IETF’s HTTP Live Streaming (HLS) specification, has been adopted as the most widespread video delivery methods, allowing Content Delivery Networks (CDN) to leverage the full capacity of existing Hypertext Transfer Protocol (HTTP) infrastructure; instead of relying upon networks of dedicated streaming servers. Such <em>adaptive</em> streaming solutions employ bitrate <em>adaptation</em> algorithms, that seamlessly adjust (or adapt) the rate of the media stream, to compensate for changing network conditions.</p><h3>Chunked CMAF: the way forward</h3><p>Adaptive streaming over HTTP has introduced settings, such as partitioning the video sequence in smaller fragments of constant duration at the server and pre-buffering at the client, that have a direct impact on the Quality of Experience (QoE) and achievable Quality of Service (QoS). In the context of streaming, as previously discussed in detail in our <a href="https://www.unified-streaming.com/blog/low-latency-with-what-youve-got">earlier blog</a>, the timeliness of video delivery is measured by latency; the time difference between the moment video content is generated and the moment it is rendered on the client’s screen. Until recently latency in the range of &gt; 30 s has been the norm, associating Over-The-Top (OTT) delivery with latency higher than broadcast (~4–5 s).</p><p>A first approach to tackle this discrepancy and to reduce end-to-end latency, to at least match broadcast standards, came in the form of shortening the segment duration. However, such an approach can diminish visual quality, while small segment durations may often lead to unstable delivery infrastructure in CDNs.</p><p>Another approach that has now been adopted as the main discipline for low-latency streaming is a combination of a new container format and the chunked transfer property supported natively in HTTP 1.1 and beyond. Common Media Application Format (CMAF) is simply a standardized container that can hold video, audio, or text data. The efficiency of CMAF, which is deployed using either HLS or DASH, is driven by the fact that CMAF-wrapped media segments can be simultaneously referenced by HLS playlists and DASH manifests. This enables content owners to package and store one set of files, halving storage costs. Media are organized according to CMAF in multiple quality presentations, i.e. multiple resolutions to meet the diverse display capabilities of different types of user devices and multiple encoding rates to facilitate adaptation to changing network characteristics. Further, each quality presentation is partitioned into multiple fragments (or chunks) to increase the granularity of the sequential bitrate decisions and to reduce latency. When coupled with chunked transfer and the newly introduced <a href="https://www.unified-streaming.com/blog/live-media-ingest-cmaf">CMAF ingest protocol</a>, all the means necessary to significantly reduce live streaming latency are in place.</p><h3>Why is low latency adaptive streaming difficult?</h3><p>Nonetheless, although chunked CMAF transfer has set the stage for latency reduction, optimal bitrate adaptation over fluctuating channels remains an elusive task. Moreover, low-latency constraints pose an additional strain on bitrate adaptation algorithms. The application-level queue at the video client used for storing downloaded parts of the video, also known as the buffer, is deployed to protect the client from abrupt changes in the communication channel (throughput, jitter, etc.). By deduction, a reduction in buffer service-time equals a reduction in latency. Therefore, in low-latency applications, the buffer length is typically constrained by an upper limit (buffer target value), in the order of the aimed latency. A shorter buffer though offers less protection against channel state estimation errors, propagated to the bitrate decisions, which in turn can have a detrimental effect on the streaming experience. Thus, one of the main challenges currently faced by the multimedia industry concerns accurate throughput estimation to support bitrate adaptation, particularly in the context of low-latency streaming.</p><h3>Our solution: Learn2Adapt</h3><h3>Motivation</h3><p>A low-latency bitrate adaptation algorithm is, in essence, an optimization solution with the objective of constraining latency, while at the same time maximizing achievable video bitrate and ensuring uninterrupted and stable streaming. Before diving into the inner workings of our solution, called <em>Learn2Adapt-LowLatency (L2A-LL)</em>, let’s first have a brief look at pre-existing solutions and their pitfalls.</p><p>Primarily, heuristic approaches have been proposed for bitrate adaptation, which are mainly classified into two main categories according to the input dynamic considered for adaptation. First, throughput-based methods estimate the available channel rate to decide on the bitrate of the streamed video. These methods are as accurate as their throughput estimation module. Second, buffer-based methods use application-level signals, such as the instantaneous buffer level to perform the adaptation. Such methods become highly unstable when used in the very small buffer regime of low-latency.</p><p>Recent adaptation algorithms, in an effort to overcome these limitations, resort to learning techniques such as reinforcement learning or dynamic programming to attain optimal quality adaptation. However, their practical implementation for low-latency may be hindered by the complexity of exploring the complete optimization space or by channel model requirements.</p><p>The scope of L2A-LL is to offer a novel perspective on the problem, from the point of view of online optimization, mitigating the requirement for throughput estimation altogether.</p><h3>How does it work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZI5hXBvZrDr-84Ie" /><figcaption>Figure 1: Schematic representation of bitrate adaptation via L2A-LL</figcaption></figure><p>L2A-LL formulates the bitrate adaptation optimization problem under an online (machine) learning framework.</p><p>First, as shown in Figure 1, we assume that the video client consists of the buffer queue that stores video data, the display that rendered the media content, and the adaptive streaming logic, that in the case of L2A-LL is modeled by a learning agent, whose objective is to minimize the average buffer displacement during the streaming session. The video client is connected to a repository that contains the video sequence in multiple representations (i.e. multiple resolutions and encoding bitrates to facilitate adaptation). Second, certain requirements regarding the decision set (available bitrates) and constraint functions are fulfilled by a) allowing the agent to make decisions on the video quality of each chunk, according to a probability distribution and by b) deriving an appropriate constraint function associated with the upper bound of the buffer queue, that adheres to time averaging constraints. Third, the channel rate evolution is modeled via an adversarial setting, that reveals the cost (i.e throughput during respective downloads) of each decision only after it has been taken. It is worth mentioning here that the sequential bitrate decisions are based on historical values in the form of feedback, without requiring any complex throughput estimation.</p><p>The bitrate adaptation optimization problem is eventually solved by L2A-LL; a novel adaptation algorithm based on the online optimization theory. One of the strong properties of L2A-LL is that its formulation is modular, allowing to incorporate more QoE factors (and their weight prioritization) to account for different QoE objectives and multiple streaming scenarios and/or user classes.</p><h3>What does it offer?</h3><p>L2A-LL provides performance guarantees, that can be very useful for commercial deployment, while it does not require any statistical assumptions or estimations for the unknowns. Overall, as proven in real experiments, L2A-LL performs well over a wide spectrum of network and application scenarios, due to its design principle; its ability to learn. This property makes L2A-LL a robust bitrate adaptation solution and allows its classification in the small set of bitrate adaptation algorithms that mitigate the main limitation of existing approaches; the dependence on complex statistical models.</p><p>A detailed technical description of L2A-LL is provided in our<a href="https://github.com/unifiedstreaming/Learn2Adapt-LowLatency/blob/master/Online_learning_for_bitrate_adaptation_in_low_latency_live_streaming_CR.pdf"> scientific publication</a>. There we have conducted an experimental evaluation that shows that L2A-LL reduces broadcast level latency by 50% while providing a high average streaming bitrate, without impairing the overall QoE. This result is independent of the channel and application scenarios. L2A-LL is lightweight and can be deployed even in mobile devices and allows for modular QoE adjustments and prioritization. This is of significant relevance in the field of modern adaptive streaming, where OTT video service providers are continuously expanding their services to include more diverse user classes, network scenarios, and streaming applications.</p><h3>Don’t take our word for it</h3><p>When a joint <a href="https://blog.twitch.tv/en/2020/01/15/twitch-invites-you-to-take-on-our-acm-mmsys-2020-grand-challenge/">public call</a> for low-latency bitrate adaptation algorithms was made by Twitch and ACM MMSys’20, L2A-LL was submitted. L2A-LL was submitted. After rigorous real experimentation, on both ends, L2A-LL proved to reduce latency significantly (to &lt;2 s levels), while providing a high average streaming bitrate and an overall high QoE; a consistent result in all tested channel and application scenarios. L2A-LL received a favorable evaluation and was ultimately selected as the winning solution.</p><h3>See it in action</h3><p>L2A-LL has been contributed in <a href="http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html">dash.js</a> (v. 3.2.0 and beyond), DASH-IF’s open-source video player. Additionally, a live demo of L2A-LL can be accessed <a href="http://reference.dashif.org/dash.js/nightly/samples/low-latency/l2all_index.html">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a93a5bca578b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unifiedstreaming/learn2adapt-in-low-latency-streaming-a93a5bca578b">Learn2Adapt in low-latency streaming</a> was originally published in <a href="https://medium.com/unifiedstreaming">Unified Streaming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Live Media Ingest (CMAF)]]></title>
            <link>https://medium.com/unifiedstreaming/live-media-ingest-cmaf-80a0ed6b177f?source=rss----3837f69c821c---4</link>
            <guid isPermaLink="false">https://medium.com/p/80a0ed6b177f</guid>
            <category><![CDATA[cmaf]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[ott]]></category>
            <category><![CDATA[redundancy]]></category>
            <category><![CDATA[scalability]]></category>
            <dc:creator><![CDATA[Jamie@Unified-Streaming]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 14:22:09 GMT</pubDate>
            <atom:updated>2020-12-15T14:22:08.116Z</atom:updated>
            <content:encoded><![CDATA[<p><em>TL;DR — How the DASH-IF Live Media Ingest Protocol — Interface 1 using the CMAF file format can be utilised when ingesting media to a smart origin (just in time packager) within a live adaptive-bitrate streaming workflow.</em></p><h3>The foundation for something groundbreaking</h3><p>The <a href="https://www.iso.org/standard/71975.html">CMAF or Common Media Application Format </a>specification published in 2018 is a set of rules used to govern how audio, video and metadata tracks are stored. While CMAF has it’s own specification, many of the guidelines are a subset of the much larger <a href="https://www.iso.org/standard/74428.html">MP4 specification</a>, formally known as ISOBMFF.</p><figure><img alt="A diagram showing  that fragmented, progressive and data-reference mp4 are part of the ISOBMFF specification" src="https://cdn-images-1.medium.com/max/1024/1*LJo6YNsyl2Fo9pA92hoVKw.png" /><figcaption><em>Image A — various types of mp4 file exist. Each guided by a specific set of rules from within the ISOBMFF specification.</em></figcaption></figure><h3>Identifying the gaps</h3><p>CMAF predominantly gets mentioned when talking about delivery of media ‘packages’ in both Live and VOD workflows. This is where an encoder will deliver multiple media fragments (often per track) alongside a HLS Playlist and DASH manifest which forms a package the client receives.</p><figure><img alt="Overview of a Push-based HTTP streaming workflow between an encoder and a cdn or cache" src="https://cdn-images-1.medium.com/max/1024/1*jS3LFsX0vfwTkDp_fedRKQ.png" /><figcaption>Image B — A generic encoder responsible for packaging media that is posted directly to a cdn or cache. Separate fragments for the same track, each with a custom url/name.</figcaption></figure><p>In Live workflows Encoder/Packagers often rely on legacy ingest specifications such as RTMP, WebRTC, MPEG2-TS or Microsoft Smooth Streaming. Specifications which are no longer developed and fail to provide the mechanisms to handle technologies such as HEVC, VVC, HDR, SCTE-35/Timed-Metadata or various forms of Subtitles.</p><p>If a specification does support one of these technologies generally it’s via an amendment. Sometimes a proprietary implementation by a specific vendor for a specific use case which fails to be widely supported or benefit the wider industry.</p><p>Whilst the above example may seem simple, limitations can arise when wanting to provide redundancy, scale to meet requirements or provide additional capabilities such as; time-based restart and track selection per device.</p><h3>Built by everyone, for the benefit of everyone</h3><p>Published in March 2020, the <a href="https://dashif-documents.azurewebsites.net/Ingest/master/DASH-IF-Ingest.html">Live Media Ingest Protocol</a> is a collaboration between Unified-Streaming, members of the DASH Industry Forum (<a href="https://dashif.org/">DASH-IF</a>) and key players operating within the OTT industry (Akamai, AWS, BBC &amp; Hulu to name a few).</p><p>Born from the need to provide a redundant, fault tolerant, scalable method of ingesting media benefiting from the existing CMAF specification and providing support for the technologies that fail to be supported by existing specifications. The specification has been developed whilst factoring in the development of other specifications such as <a href="https://www.iso.org/standard/79329.html">MPEG-DASH 4th Edition</a> and <a href="https://www.iso.org/standard/77839.html">MPEG-I Network Based Media Processing — NBMP.</a></p><p>As an evolution to the widely adopted <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-sstr/8383f27f-7efe-4c60-832a-387274457251">Microsoft Smooth Streaming Ingest Protocol</a> (fragmented-MP4), the Live Media Ingest Protocol is capable of being used in both Live and VOD streaming workflows. It fits well with existing interoperability guidelines from both Apple and DASH-IF for workflows such as ad insertion and low latency.</p><figure><img alt="Overview of a Pull-based HTTP streaming workflow between encoder, origin and cdn or cache" src="https://cdn-images-1.medium.com/max/1024/1*xfMLRXKAkqe0dv1Z2k9tCw.png" /><figcaption>Image C — A generic encoder now posts synchronised cmaf tracks of a fixed length to a generic origin. The origin responsible for packaging the media can now deliver tracks in multiple formats and configurations based upon any requirement.</figcaption></figure><p>Interface 1 outlines how CMAF tracks can be received by Packagers/Origins for archiving and/or downstream media processing. By using CMAF tracks in combination with an Origin, it’s now possible to implement redundant, scalabile, low latency workflows.</p><p>An encoder can generate media fragments as small as 1 sample/video frame ( low latency) and deliver these to an origin for processing. The origin then repackages these fragments in the desired format (HLS, DASH, MSS), fragment length (1,92s for HLS, 3,84s for DASH/MSS) and track combination (only want to provide video &amp; audio, but not subtitles) based upon client request. Now that each track is delivered as a separate file and synchronised, it provides opportunities for redundancy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e7kPs0A8eDhnNwwtnifReQ.png" /><figcaption><em>Image D — redundant encoders posting to the same origin destination</em></figcaption></figure><p>To achieve this, each encoder using its internal systemclock (UTC) as reference should timestamp the fragment with a decode time/offset based upon the same algorithm (UTC + Time Scale x Sample Duration).</p><p>By doing so this guarantees identical fragments are sent with the same decode time from each encoder, so if an encoder fails it’s not a problem. But if both encoders stop there will be a gap or discontinuity in the timeline.</p><p>The origin will use this decode time to calculate which fragments have been received and concatenate them into a single track stored locally to the origin. If encoder B sends a fragment with the decode time which has already been received from encoder A, it is simply ignored and the next fragment/decode time in the sequence is used to build a continuous media timeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKtrTy-U8mnpNweztbbJEQ.png" /><figcaption><em>Image E — combination of video frames from different encoders used to build a single track with a continuous timeline. A = frames from encoder a and B = frames from encoder b.</em></figcaption></figure><p>Now that it’s possible to guarantee synchronization between source and destination (based upon UTC timing) alongside redundancy at the encoders. Why not also provide redundancy at the Origin as most encoders are capable of posting the same streams to multiple locations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUtgoQPDCyyytpcyJeS5Iw.png" /><figcaption><em>Image F — Full redundancy across both paths with time synchronization. Providing opportunity for stream selection based upon, region, availability, configuration and more.</em></figcaption></figure><h3>This isn’t just theory — go ahead and try it yourself for free!</h3><p>DASH-IF collaborated with FFmpeg to implement support for Interface 1/CMAF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbmmwX7xS-9qkb1kZvqhAw.png" /></figure><p>Unified Streaming offers a free docker based demo to try this out for yourself using the following <a href="https://github.com/unifiedstreaming/live-demo-cmaf">Github project.</a></p><p>A free 30day license to run the project can be offered without question by <a href="https://www.unified-streaming.com/get-started">getting started here</a>.</p><p>This demonstrates how separate encoders (in this case FFMPEG) can be used to post time synchronized fragments to a single Origin. By default both encoders will be running but it’s possible to stop/start (leaving encoder running) to see how redundancy is achieved with no impact to playout from the Origin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jNY-_W0PJcUAxFZPZJQyQA.png" /></figure><p>This demonstrates how separate encoders (in this case FFMPEG) can be used to post time synchronized fragments to a single Origin. By default both encoders will be running but it’s possible to stop/start (leaving encoder running) to see encoder failure is handled.</p><p>We also offer a <a href="http://demo.unified-streaming.com/cmaf-ingest/"><strong>Live Demo</strong></a> where you can see encoder fail-over in action. Scheduled to automatically fail an encoder mid-stream at every 1 minute &amp; 5 second interval (eg, 12:01:05, 12:02:05). The Active ContainerID in the picture will change showing how encoder failure can be handled without impacting playback (no discontinuities or buffering).</p><p>If you have any questions, comments or wish to collaborate with us. Please get in touch <a href="https://www.unified-streaming.com/contact">https://www.unified-streaming.com/contact</a></p><p>For awareness, the Live Media Ingest Protocol also defines an Interface 2. Which outlines existing best practice for delivering DASH/HLS packages similar to that described earlier on. As interface 1 is the focus we have not gone into further details. Should you wish to know more please see the following <a href="https://www.unified-streaming.com/v/32581"><strong>explainer video on our website</strong></a> or read about it in <a href="https://dashif-documents.azurewebsites.net/Ingest/master/DASH-IF-Ingest.html#dash_ingest">section 6</a> of the protocol documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80a0ed6b177f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unifiedstreaming/live-media-ingest-cmaf-80a0ed6b177f">Live Media Ingest (CMAF)</a> was originally published in <a href="https://medium.com/unifiedstreaming">Unified Streaming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>