/mikefluff-skills:subtitle-burnerfrom Mikefluff Skills
Burns captions/subtitles onto existing videos via ffmpeg drawtext. Supports SRT, WebVTT, plain text, and inline captions with style presets (modern, minimal, bold).
Ships in Mikefluff Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Distinct from reel-builder:
This skill does NOT:
transcribe-maker produces the SRT; feed it in here.reel-recut.voiceover-maker for that.Requires ffmpeg on PATH. install.sh offers to install it; otherwise brew install ffmpeg (Mac) / apt-get install -y ffmpeg (Debian).
Read the input video + subtitle source → parse cues (SRT / VTT / plain text) → call ffmpeg drawtext filter for each cue with chosen styling → save the subtitled video → print the path.
Resolve input video:
<video> path — local MP4 / MOV / WebM.Resolve subtitle source:
--subtitle <file> — SRT / VTT / TXT file--inline "<text>" — single caption applied to the entire video.srt / .vtt / .txt)Parse cues:
index → timecode → text blocks.WEBVTT header.Apply style preset — see references/ffmpeg-styling.md:
modern (default): white text, black 60% backplate, lower-third, 48ptminimal: white text, no backplate, lower-third, 42ptbold: yellow text, dense black backplate, larger 56pt--font-size, --font-color, --box-color)Burn via ffmpeg — calls common.runners.ffmpeg.burn_captions. drawtext filter sequence, re-encodes video, copies audio.
Output:
<video-dir>/<video-stem>-subtitled<ext>
or --output <path> for explicit destination.
subtitle-burner burn <video> --subtitle <file>
subtitle-burner burn <video> --inline "<single caption>"
subtitle-burner burn <video> --subtitle <file> --style modern|minimal|bold
subtitle-burner burn <video> --subtitle <file> --font-size 56 --font-color white
subtitle-burner burn <video> --subtitle <file> --output ./final.mp4
subtitle-burner preview --subtitle <file>
subtitle-burner preview --subtitle <txt-file> --video <video> # txt requires video for timing
subtitle-burner preview --inline "<text>"
Prints the parsed cue list (index, start/end timestamps, text) without burning. Useful to verify timing before committing.
| File | When to load |
|---|---|
| references/subtitle-formats.md | SRT vs. VTT vs. plain-text — when to use which, format specifics, parsing edge cases |
| references/ffmpeg-styling.md | Style presets + per-flag customization, font selection, multilingual glyph support |
| references/troubleshoot.md | When captions don't render, font missing, sync drift, etc. |
See examples/before-after.md — 3 calibration runs: burn an SRT onto a TikTok export, plain-text captions distributed across a 30s reel, single inline caption for an entire 5s clip.
ffmpeg required. No API calls; the skill is a pure ffmpeg wrapper. install.sh detects + offers install at setup time.
Subtitle source parsing is strict. SRT must have valid timecodes (HH:MM:SS,mmm); VTT must have WEBVTT header; TXT must have ≥1 non-empty line.
Plain text is distributed evenly. N lines across the video duration. Works for short videos with clear logical breaks; less ideal for narrative content where timing must match audio cues. For audio-synced captions, use a real subtitle tool (Whisper / Premiere / DaVinci) to produce SRT first.
Output preserves video codec where possible. ffmpeg's drawtext requires re-encoding the video stream, so the output IS re-encoded (audio is copied as-is). For large files this can take seconds-to-minutes depending on duration.
Default font may lack non-Latin glyphs. Cyrillic / CJK / Arabic captions may render as boxes on systems with only Latin-only default fonts. Workaround: specify --font /path/to/font-with-coverage.ttf (currently planned — set FFMPEG_CAPTION_FONT env var as a workaround in v1).
Style presets are starting points. Most users want some tweak. The CLI accepts per-flag override (font-size, font-color, box-color).
Position is lower-third by default. Hardcoded in ffmpeg.py:burn_captions. To change position: edit the drawtext filter in common/runners/ffmpeg.py directly (or PR a --position flag).
Single text track per run. For multiple tracks (e.g., translation overlay + original): run twice, second time using the output of the first as input.
No subtitle file is generated. Captions are burned INTO the video pixels — not soft-subtitles you can toggle off in a player. For toggleable subtitles, embed as a separate track via ffmpeg's -c:s mov_text (not handled by this skill).
Never modifies the input file. Always writes to a new file (<video>-subtitled<ext> or --output).
When the user says any of:
Defaults: burn <video> --subtitle <file> --style modern. If only --inline text is given (no file), default to single-caption-across-whole-video.
If the user mentions a STYLE preference ("bold yellow" → --style bold; "minimal no background" → --style minimal; default "modern with black backplate"):
If the user mentions an SRT/VTT file → use --subtitle <file>.
If the user mentions plain text (no file) AND a short list → use --inline for single caption OR write the text to a temp file and use it as --subtitle <tmp>.txt.
This skill is distinct from:
reel-builder — that GENERATES video + can burn captions inline. This is for existing video.voiceover-maker — that generates audio. This burns visual captions.subtitle-translator (planned, see ROADMAP) — translation; this is rendering.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makernpx claudepluginhub mikefluff/skills --plugin mikefluff-skillsOther plugins' skills for the same job