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

Popline caption style

Popline is a free animated caption style for captions.js: Raleway bold, the spoken word in #F43FE0, with the "none" 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("Popline"),
});
Burn into an MP4 (needs ffmpeg)
npx captions.js burn video.mp4 words.json --preset "Popline"

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

Style details

FontRaleway, bold
CaseAs spoken
Text color#F43FE0
Active word#F43FE0
Outline#000000
Shadownone
Animationnone
Positionbottom
Lines on screen1

No motion: Words switch color as they are spoken, with no movement. The calmest option, good for interviews and long talks.

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

More no motion styles

All caption styles