Rendered by the captions.js engine, not a mock-up.
Banger caption style
Banger is a free animated caption style for captions.js: Oswald bold in uppercase, the spoken word in #fdfa14, with the "pop" word animation at the bottom of the frame. Use it live in the browser or burn it into an MP4 with FFmpeg.
Use it
import captionsjs, { getPreset } from "captions.js";
captionsjs({
video: document.querySelector("video")!,
captions, // word timings: see the Whisper and Deepgram guides
preset: getPreset("Banger"),
});npx captions.js burn video.mp4 words.json --preset "Banger"No servers? Render it through the captions.js Cloud API (early access).
import { burnCaptions } from "@captionsjs/server";
await burnCaptions({ video: "video.mp4", captions: "words.json", preset: "Banger" });Style details
| Font | Oswald, bold |
|---|---|
| Case | UPPERCASE |
| Text color | #ffffff |
| Active word | #fdfa14 |
| Outline | #000000 |
| Shadow | none |
| Animation | pop |
| Position | bottom |
| Lines on screen | 1 |
Pop: Each word pops up as it is spoken, the punchy look of short-form edits.
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("Banger");
const mine = {
...base,
captionsSettings: {
...base.captionsSettings,
style: { ...base.captionsSettings.style, highlightColor: "#ff2e88" },
},
};


