Subtitle Burner logo

Subtitle Burner

Community
Mikefluff
subtitle-burner

Burn captions / subtitles onto a video via ffmpeg. Supports SRT, WebVTT, plain text. Presets: modern (white on black lower-third), minimal, bold (yellow, denser). Subcommands: burn, preview. Pure ffmpeg. Use when: 'add subtitles to my video', 'burn captions onto this MP4', 'subtitle my reel', 'добавь субтитры к видео', 'жёстко вшей субтитры'.

Overview

PublisherMikefluff
Repositoryskills
Skill namesubtitle-burner
Stars
26
Forks
2
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Mikefluff on GitHub. Read the source before you install it.

Installation

Install the Subtitle Burner AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Mikefluff/skills/tree/main/skills/subtitle-burner
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/subtitle-burner .claude/skills/subtitle-burner
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Subtitle Burner in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Subtitle Burner on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Subtitle Burner is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Distinct from reel-builder:

  • reel-builder generates the video itself (T2V) + can optionally burn its own captions.
  • This skill takes an EXISTING video as input. No generation.

This skill does NOT:

  • Generate the video — the input is yours.
  • Auto-transcribe audio to captions — requires Whisper, planned for a separate transcribe skill (see ROADMAP).
  • Translate captions between languages — pass already-translated subtitles.
  • Re-encode video at different resolutions / formats beyond what ffmpeg's drawtext requires (output matches input resolution + codec where possible).
  • Add audio (TTS overlay) — use voiceover-maker for that.
  • Mix multiple subtitle tracks — single track per run.

Requires ffmpeg on PATH. install.sh offers to install it; otherwise brew install ffmpeg (Mac) / apt-get install -y ffmpeg (Debian).

ROLE

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.

PIPELINE

  1. Resolve input video:

    • <video> path — local MP4 / MOV / WebM.
    • Must exist + be readable.
  2. Resolve subtitle source:

    • --subtitle <file> — SRT / VTT / TXT file
    • --inline "<text>" — single caption applied to the entire video
    • File extension determines parser (.srt / .vtt / .txt)
  3. Parse cues:

    • SRT: standard subtitle format with index → timecode → text blocks.
    • VTT: WebVTT with WEBVTT header.
    • TXT: plain text, one cue per line, distributed evenly across the video duration (ffprobe used for duration detection).
    • Inline: one cue starting at 0:00, ending at end-of-video.
  4. Apply style preset — see references/ffmpeg-styling.md:

    • modern (default): white text, black 60% backplate, lower-third, 48pt
    • minimal: white text, no backplate, lower-third, 42pt
    • bold: yellow text, dense black backplate, larger 56pt
    • Custom: override per-flag (--font-size, --font-color, --box-color)
  5. Burn via ffmpeg — calls common.runners.ffmpeg.burn_captions. drawtext filter sequence, re-encodes video, copies audio.

  6. Output:

    <video-dir>/<video-stem>-subtitled<ext>

    or --output <path> for explicit destination.

MODES

Burn

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

Preview (no burn)

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.

REFERENCES (load on demand)

FileWhen to load
references/subtitle-formats.mdSRT vs. VTT vs. plain-text — when to use which, format specifics, parsing edge cases
references/ffmpeg-styling.mdStyle presets + per-flag customization, font selection, multilingual glyph support
references/troubleshoot.mdWhen captions don't render, font missing, sync drift, etc.

EXAMPLES

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.

CONSTRAINTS

  • 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).

INVOCATION HINTS

When the user says any of:

  • "add subtitles to my video", "burn captions onto this MP4"
  • "subtitle my reel", "caption this video"
  • "make the captions yellow and bold" (style customization)
  • "I have an SRT file, apply it to this video"
  • "добавь субтитры к видео", "вшей субтитры"
  • "сделай надписи на видео"

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Subtitle Burner AI skill do?

Burn captions / subtitles onto a video via ffmpeg. Supports SRT, WebVTT, plain text. Presets: modern (white on black lower-third), minimal, bold (yellow, denser). Subcommands: burn, preview. Pure ffmpeg. Use when: 'add subtitles to my video', 'burn captions onto this MP4', 'subtitle my reel', 'добавь субтитры к видео', 'жёстко вшей субтитры'.

Why use Subtitle Burner on TypingMind?

Because you install it once and use it with any model. Subtitle Burner is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Subtitle Burner in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mikefluff/skills/tree/main/skills/subtitle-burner. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Subtitle Burner?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Subtitle Burner?

As many as you like. As long as a model supports skills, you can use Subtitle Burner with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Subtitle Burner AI skill free?

Yes. It is published on GitHub by Mikefluff under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇