Burn Local Subtitles into Video
Render local SRT or ASS subtitles into a new MP4 with font, margin and outline controls. Includes a read-only dry run.
What it does
Burn existing local SRT or ASS text into the first video stream using FFmpeg/libass. Adjust font size, family, margins and outline. Optional font files are staged locally. Source paths containing a Windows drive colon, apostrophes, spaces or Unicode are never interpolated into the filtergraph.
How to use
Run the dry-run example below, review the plan and then remove --dry-run to render. Use a new MP4 path. Optional --fonts-dir accepts an existing directory of licensed TTF, OTF or TTC files; --font-name chooses the internal family name.
Requirements
Python 3.10 or newer and separately installed FFmpeg/ffprobe. No Python packages or binaries are bundled. FFmpeg must include libass/subtitles, libx264 and AAC; provide fonts with needed glyphs.
Caveats
No transcription, translation or subtitle proofreading. UTF-8 subtitles are recommended. Rendering reencodes video to H.264 and the optional first audio stream to AAC. Other streams are omitted. ASS inline styles and positioning may override style defaults. Inspect the result visually; fonts and glyph coverage differ by operating system. It does not download arbitrary YouTube URLs.
How to install
- Unzip the downloaded file (it contains a
video-subtitle-burn-in/folder withSKILL.md). - Copy the whole folder into your agent's skills folder.
- Claude:
~/.claude/skills/(per project:.claude/skills/) - Hermes Agent:
~/.hermes/skills/ - Codex:
~/.agents/skills// Cursor:~/.cursor/skills/ - Claude app (claude.ai): upload the ZIP in Customize → Skills
- Claude:
- Restart the agent and check that the skill appears in its skill list.
Seller
動画編集の準備から仕上がりの確認まで、毎日の作業を支援するスキルを制作しています。切り出し・字幕づくり・音声調整・文字起こしを、元の素材を残しながら進められるようにします。
10 published skills