Rendered by the captions.js engine, not a mock-up.
Deep Diver B&W caption style
Deep Diver B&W is a free animated caption style for captions.js: Raleway bold, the spoken word in #ffffff, with the "box" 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("Deep Diver B&W"),
});npx captions.js burn video.mp4 words.json --preset "Deep Diver B&W"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: "Deep Diver B&W" });Style details
| Font | Raleway, bold |
|---|---|
| Case | As spoken |
| Text color | #8a8a8a |
| Active word | #ffffff |
| Outline | none |
| Shadow | none |
| Animation | box |
| Position | bottom |
| Lines on screen | 1 |
Box: A colored box sits behind the current line, keeping the text readable over busy footage.
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("Deep Diver B&W");
const mine = {
...base,
captionsSettings: {
...base.captionsSettings,
style: { ...base.captionsSettings.style, highlightColor: "#ff2e88" },
},
};


