What problem does it solve?
Hardcoding subtitles into video files requires careful ffmpeg filter configuration, font handling for CJK characters, and path escaping that differs across operating systems. This Skill handles the full burn-in pipeline so an SRT file becomes a subtitled MP4 without manual ffmpeg command construction.
Core Features & Use Cases
- Single-pass subtitle burn-in: Re-encodes video to H.264 with faststart while copying audio untouched, rendering SRT cues through libass with configurable font, size, outline, and margin.
- CJK font support: Uses a managed Noto Sans CJK font directory so Chinese, Japanese, and Korean subtitles render correctly, with automatic PlayRes probing so font size and margins map to source-video pixels.
- Safe output handling: Stages output in a temporary file, validates it with ffprobe for a decodable positive-duration stream, and atomically replaces the destination only after validation; empty SRT files are treated as a valid no-subtitle pass-through.
- Use Case: As the final step of a short-drama pipeline, take the merged final.mp4 and a translated drama.srt, then produce final_subtitled.mp4 with bottom-centered white subtitles ready for publishing.
Quick Start
Burn the subtitles from drama.srt into final.mp4 and save the result as final_subtitled.mp4 using the default Noto Sans CJK font.