daftai-video-subtitlerlisted
Install: claude install-skill daftAI2026/daftAI-skills
# Video Subtitle Burner
Burn (hardcode) subtitle files into local video.
> **Scripts**: All scripts are in `scripts/` relative to this SKILL.md.
> **CRITICAL**: When running any `bun scripts/...` command, you MUST set the working directory (`cwd`) to this skill's base directory. Do NOT run from the user's project directory.
## Priority Chain
```
User explicit input > Project EXTEND.md > User EXTEND.md > Built-in defaults
```
## Workflow
```
- [ ] Step 0: Load preferences (EXTEND.md) ⛔ BLOCKING
- [ ] Step 1: Environment check (FFmpeg + libass + fonts)
- [ ] Step 2: Input files (video + subtitle + language detection)
- [ ] Step 3: Confirm mode (mono/bilingual/translate) ⚠️ skip if quick_mode=true
- [ ] Step 4: Preprocess (timeline fix, format convert, merge, translate)
- [ ] Step 5: Burn subtitles + watermark/source label
- [ ] Step 6: Output report
```
### Flow
```
Input → [Step 0: Preferences] ─┬─ Found → Load summary → Continue
└─ Not found → First-time setup ⛔ → Save EXTEND.md → Continue
↓
[Step 1: Env Check] → FFmpeg + libass + fonts
↓
[Step 2: Input Files] → Video + subtitle scan + language detect + timeline offset check
↓
[Step 3: Confirm Mode] → Mono / Bilingual / Translate ⚠️ skippable
↓
[Step 4: Preprocess] ─┬─ Timeline fix (if offset)
├─ VTT → SRT convert (if merge/translate)
├─ Bilingual merge (if needed)
└─ Translate subtitle (if