Search code examples
videotextoverlay

What library to overlay text on a video?


I'd like to find a server side solution to overlay text on video, with following features:

  • can define timing
  • can define position
  • can use a custom font
  • basic text animation

I don't really mind the language, provided I can make it run on AWS.


Solution

  • I finally managed to implement my own solution involving :

    • HTML canvas within a nodeJS server to display, animate text and images
    • writing to disk each frame of my animation (ie. of my canvas) to a specific png
    • merging all png into a transparent background video (qtrle codec) with FFMpeg
    • overlaying the generated qtrle video with a background video still using FFMpeg

    It's been tough but it's working quite reliably