What problem does it solve?
Manually timing subtitle cues for short-form video is tedious and error-prone. This Skill converts a structured 3-shot drama script (with per-shot durations and voiceover lines) into a ready-to-burn SRT subtitle file with correctly accumulated timestamps, without any LLM calls or network access.
Core Features & Use Cases
- Script-to-SRT Conversion: Parses
=== SHOT_N === blocks, reads each shot's DURATION_S and VOICEOVER, and emits cumulative-timestamped SRT cues.
- Timing Controls: Supports a configurable end-gap (
gap_ms) so subtitles vanish before shot cuts, and a leading_offset_ms to shift cues past a prepended cover clip.
- CJK-Safe Output: Writes UTF-8 encoded files so Chinese voiceover lines survive ffmpeg's
subtitles= filter.
- Use Case: In a short-drama video pipeline, after merging shot clips, pipe the final script into this Skill to produce
drama.srt, then burn it into the video with ffmpeg.
Quick Start
Ask the agent to build an SRT subtitle file from your ai-video-script formatted script, specifying the output path and optionally the gap and leading offset in milliseconds.