Company
Date Published
Author
Josh Allmann
Word count
617
Language
English
Hacker News points
None

Summary

This is part II in the journey Mux software developer Josh Allmann had with creating Storyboards. The main focus of this update is on making storyboards fast, which was a sticking point since the launch of Mux Video. To achieve this, Mux uses just-in-time (JIT) generation, where storyboards are generated at the first request and cached for subsequent requests, reducing performance constraints. Various techniques were employed to improve performance, including speeding up thumbnail extraction using ffmpeg, pipelining work, modulating concurrency, coalescing work as necessary, and making some compromises on image quality. These incremental improvements have resulted in a responsive experience with storyboards, and they are now available to all assets without explicit opt-in or further configuration.