A big part of our product at Lumen5 is our video rendering engine (we’re a video creation tool, after all). A couple of years ago, we started experimenting with WebGL as a potential new way to render videos. It’s totally transformed the way we think about JavaScript development, and opened our eyes to a completely different web paradigm.
When we first started, it wasn’t clear that WebGL was the way to go for us. It took a lot of research into the different alternatives before we broke ground on our existing render engine. I want to share why we thought WebGL was the best alternative for us in our situation.
Our users come to our website and interact with our video creator application to set up a series of scenes (which are combinations of text, images, videos, animations, audio, etc). When they are happy with their set of scenes, they click “render”. We needed something that would take that data and produce a final mp4 file.
The basic requirement: Take in some data (in the form of JSON + media assets) and produce an mp4 output.
Other requirements:
Given these requirements, we set about analyzing a couple of alternatives.
#javascript #ai #render #video #programming