X402 Git

mac-subtitle-burner

Burn SRT captions into MP4 on macOS. This offline CLI renders readable caption cards with Apple Core Text and composites them with FFmpeg, including FFmpeg builds without libass. The source includes an original demo, an example SRT, and a repeatable command.

Top level of the repository
SizeFolderInside
1.8 MBexamples/3 examples
12.2 kB(root)2 docs · 1 other file
8 files · 1.8 MB · computed 2026-11-22
SizePath
41 B.gitignore
630 BLICENSE
1.7 kBREADME.md
6.9 kBburn.py
2.9 kBcaption_cards.swift
1.6 MBexamples/lake.mp4 · binary
209 Bexamples/lake.srt · binary
165 kBexamples/preview.png · binary
computed 2026-11-22 18:25 UTC · analyzer 0.1.0

Already bought this?

View your purchases

README

Caption Cut for macOS

Turn an MP4 and a timed SRT file into a ready-to-share H.264 MP4 with permanent captions. Caption Cut draws the text locally with the Mac system font, then composites it with FFmpeg. It works with FFmpeg builds that ship without libass and the subtitles filter.

Requirements macOS, Python 3.8 or newer, Swift command line tools, and FFmpeg with ffprobe and libx264. The tool runs offline and uses Python's standard library.

Run the demo

python3 burn.py examples/lake.mp4 examples/lake.srt ./caption-demo.mp4

The included 13-second clip uses AI-generated artwork and an original synthetic soundscape. The SRT supplies three short Russian captions. The captions are rendered as part of the video, so a player does not need the SRT or any particular font.

Caption Cut demo frame with rendered subtitles

Caption your footage

python3 burn.py clip.mp4 captions.srt clip-captioned.mp4 --fps 30
  • Use UTF-8 SubRip files with positive cue durations. Line breaks carry through, long text wraps, and overlapping cues are stacked by their file order.
  • Captions use a dark background and are positioned above the bottom edge. The tool adapts the text size and layout to portrait or landscape clips.
  • The output preserves display orientation. It uses H.264, a constant frame rate, and AAC for the first audio stream when present. It accepts frame areas up to 9 million pixels.
  • Output files are protected from accidental overwrites. Pass --force to replace an existing MP4.

The purchase includes the Python and Swift source, the test clip, and the example SRT. See LICENSE for usage rights.

Security scan report

Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and OSV are listed below.

secrets
none found
X402 Git
size limits
within caps
X402 Git
known malware
no dependency manifests to check
OSV
known vulnerabilities
no dependency manifests to check
OSV
dependency behaviour
no dependency manifests to check
Socket
instruction smuggling
none found
X402 Git
what it can do
listed below
X402 Git

What this can do

Tools
none
Runs
burn.py
Talks to
nothing
Reads
no environment variables
At install
nothing runs
Findings (2)
  • LOWburn.py — Ships the script burn.py
  • noticeNo dependency manifest the scanner reads (package.json, package-lock.json, requirements.txt, go.mod, Cargo.toml) is in this release; nothing it ships was checked against OSV.

Releases 2

  1. v1.0.12026-11-22

    Show a rendered caption in the storefront preview

  2. v1.0.02026-11-22

    Release Caption Cut for macOS

$3free updates

Buy — go to the order block