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

Desert caption style

Desert is a free animated caption style for captions.js: Montserrat black in uppercase, the spoken word in #8F2EED, with the "bounce" 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("Desert"),
});
Burn into an MP4 (needs ffmpeg)
npx captions.js burn video.mp4 words.json --preset "Desert"

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: "Desert" });

Style details

FontMontserrat, black
CaseUPPERCASE
Text color#FFFFFF
Active word#8F2EED
Outlinenone
Shadownone
Animationbounce
Positionbottom
Lines on screen2

Bounce: The active word pops in with a slight overshoot and pushes its neighbours aside, so lines never overlap.

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("Desert");
const mine = {
  ...base,
  captionsSettings: {
    ...base.captionsSettings,
    style: { ...base.captionsSettings.style, highlightColor: "#ff2e88" },
  },
};

More bounce styles

All caption styles