<story><title>How Video Works</title><url>https://howvideo.works</url></story><parent_chain></parent_chain><comment><author>AnotherGoodName</author><text>One thing i&amp;#x27;d love to see added here is a blurb about the importance of the location of the video metadata in the file. Specifically that you need to have the metadata at the start of the file rather than the end of the file (which is the default) for low-latency playback on web.&lt;p&gt;Explained: Freshly recorded MPEG (and almost all other container types) typically saves the header at the end of the file. This is the logical place to store header information after recording as you just append to the end of the file you&amp;#x27;ve just written. It&amp;#x27;s the default.&lt;p&gt;Unfortunately having the header at the end of the file is terrible for web playback. A user must download the entire video before playback starts. You absolutely need to re-encode the video with FAST-Start set.&lt;p&gt;The header location is the number one mistake that i&amp;#x27;ve seen a lot of website and developers make. If you find your website videos have a spinner that&amp;#x27;s seconds long before the video playback starts check the encoding. Specifically check that you&amp;#x27;ve set fast start.&lt;p&gt;I&amp;#x27;ve seen companies who have a perfectly reasonable static site behind a CDN spend a fortune hosting their videos with a third party to fix the latency issues they were seeing. The expensive third party was ultimately fixing the issue because they re-encoded the videos with fast start set. The reality is their existing solution backed by a CDN would also have worked if they encoded the videos correctly.</text></comment>
<story><title>How Video Works</title><url>https://howvideo.works</url></story><parent_chain></parent_chain><comment><author>Sean-Der</author><text>I really love all the work the Mux team is doing! They don&amp;#x27;t just throw APIs over the wall. They are putting in lots of effort to educate&amp;#x2F;empower developers. This is good stuff, and not just propietary knowledge to sell something.&lt;p&gt;Also check out the video-dev Slack[0] and demuxed. Pion WebRTC and WebRTC for the Curious was motivated by conversations I had with other developers in their Slack.&lt;p&gt;[0] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;video-dev.herokuapp.com&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;video-dev.herokuapp.com&lt;/a&gt;&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;demuxed.com&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;demuxed.com&lt;/a&gt;</text></comment>