explaingit

hrishimittal/video-captions

Analysis updated 2026-05-18

0ShellAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A fast set of Mac shell scripts that transcribes a video locally with whisper.cpp and burns the captions permanently into the picture with ffmpeg.

Mindmap

mindmap
  root((repo))
    What it does
      Transcribes speech locally
      Burns in captions
      Runs fully offline
    Tech stack
      Shell
      whisper.cpp
      ffmpeg
      Homebrew
    Use cases
      Caption videos fast
      Edit auto subtitles
      Use as Claude skill
    Audience
      Mac users
      Video creators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Burn permanent captions into a video with a single command, entirely on your own Mac.

USE CASE 2

Transcribe a video first, manually fix any misheard words, then burn in the corrected captions.

USE CASE 3

Drop the repo into a Claude Code skills folder so Claude can caption videos when asked.

What is it built with?

Shellwhisper.cppffmpegHomebrew

How does it compare?

hrishimittal/video-captions123satyajeet123/bitnet-serveralexbloch-ia/legal-data
Stars000
LanguageShellShellShell
Setup difficultyeasyeasymoderate
Complexity2/52/52/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

macOS only, requires Homebrew and downloads a roughly 1.5 GB whisper model.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

video-captions is a set of shell scripts that automatically adds burned-in captions (subtitles permanently embedded into the video picture) to any video file on a Mac. You give it a video, it converts the speech to text using whisper.cpp, a fast, locally-running transcription tool, and then uses ffmpeg to render the captions into the video. The whole process runs entirely on your own computer with no cloud service or internet connection required once set up. There are two ways to use it. The simplest is a single command that does everything at once: transcribe the audio and burn in the captions, writing a new video file next to the original. The two-step path lets you review and edit the auto-generated subtitle file before burning it in, useful when whisper.cpp mishears something. The tool is notably fast. A 6-minute 1080p60 video processes in roughly 2 minutes 40 seconds on an M3 Mac, compared to over 3 hours with a slower approach. Two design choices produce this speed: whisper.cpp uses Apple Silicon's Metal GPU acceleration for transcription, which is much faster than running the same model in Python, and the burn-in step splits the video into parallel segments that are all rendered at the same time and then joined together. The caption style (font, size, color, placement) is fixed in the script and must be edited in code to change. The tool is macOS-only and English-only by default, and requires Homebrew to install its dependencies.

Copy-paste prompts

Prompt 1
Explain how video-captions uses whisper.cpp and ffmpeg together to caption a video quickly.
Prompt 2
Walk me through running the two-step transcribe-then-burn workflow in this project.
Prompt 3
Show me how to change the caption font, color, and position in burn-captions.sh.
Prompt 4
Help me set up video-captions on my Mac using its setup.sh script.

Frequently asked questions

What is video-captions?

A fast set of Mac shell scripts that transcribes a video locally with whisper.cpp and burns the captions permanently into the picture with ffmpeg.

What language is video-captions written in?

Mainly Shell. The stack also includes Shell, whisper.cpp, ffmpeg.

What license does video-captions use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is video-captions to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is video-captions for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.