Rendered by the captions.js engine, not a mock-up.

Aurora Ink caption style

Aurora Ink is a free animated caption style for captions.js: Oswald bold in uppercase, the spoken word in #ff7b00, with the "underline" word animation at the bottom of the frame. Use it live in the browser or burn it into an MP4 with FFmpeg.

Use it

Browser: overlay on a <video>
import captionsjs, { getPreset } from "captions.js";

captionsjs({
  video: document.querySelector("video")!,
  captions, // word timings: see the Whisper and Deepgram guides
  preset: getPreset("Aurora Ink"),
});
Burn into an MP4 (needs ffmpeg)
npx captions.js burn video.mp4 words.json --preset "Aurora Ink"

No servers? Render it through the captions.js Cloud API (early access).

Node.js
import { burnCaptions } from "@captionsjs/server";

await burnCaptions({ video: "video.mp4", captions: "words.json", preset: "Aurora Ink" });

Style details

FontOswald, bold
CaseUPPERCASE
Text color#fff6d9
Active word#ff7b00
Outline#3a1240
Shadow#2a0834
Animationunderline
Positionbottom
Lines on screen2

Underline: An underline draws in under the active word as it is spoken.

Make it yours

A preset is a plain object. Clone it and change colors, font or animation; the browser and the FFmpeg render both take the result.

const base = getPreset("Aurora Ink");
const mine = {
  ...base,
  captionsSettings: {
    ...base.captionsSettings,
    style: { ...base.captionsSettings.style, highlightColor: "#ff2e88" },
  },
};

More underline styles

All caption styles