Please log in to watch this conference skillscast.
At Threads, they needed to add video editing to their mobile web app, including advanced overlays and filters. They thought there would be an open source project they could use as a foundation, but it turned out that every project they tried was either far too slow or had a fraction of the feature set they needed.
By combining a canvas rendering strategy on the client side, with ffmpeg on the backend, they were able to build a video editing experience in a matter of weeks that supports near pixel-perfect previews that can be edited in real time, and highly optimised mp4 output for the fully rendered videos.
In this talk, Forbes will take you through their approach, and why they arrived at the method they chose. You'll see some of the techniques that were required to scale their canvas solution, both managing the growing complexity, and keeping a lid on their memory usage.
This talk will be especially useful to anyone considering building high-performance graphics for the browser, but it will also give any developer some new ideas about how to approach technical challenges.
YOU MAY ALSO LIKE:
- Powering Code Reuse with Render Props, Hooks and Context in React (SkillsCast recorded in August 2019)
- Fast Code: Save Money By Overcoming Bottlenecks (SkillsCast recorded in October 2019)
- Creating smaller, faster, production-worthy mobile machine learning models for Android (SkillsCast recorded in October 2019)
High Performance Video Editing for the Mobile Web
Forbes is a software developer at Threads Styling where he builds complex React and Node.js applications. In his spare time, Forbes maintains a number of open source projects, such as Pug, Promise and Cabbie.js