Here is what I have tried:
I used a library called Konva.js to create animations in the Frontend.
Animations include Text, Image, Shapes etc
Everything works fine in Frontend.
I want to make change text and render 1000s of videos in the backend.
I’m not sure whether Konva.js library is the right approach. I was able to run Text animations and save them in the Backend using an approach which converts frames to video.
However, I'm not able to do Text animations with Video as Background in the Canvas.
More details - https://leanylabs.com/blog/node-videos-konva/
I’m aware of the concept where I can render videos in the backend using headless browsers like Phantom or Pupeteer.
That would mean too much compute resource when deploying it at scale, is there any other good approach?