lattifai/omni-captions-skills/omnicaptions-convert
Claude Code and agent skill by lattifai/omni-captions-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when converting between caption formats (SRT, VTT, ASS, TTML, Gemini MD, etc.). Supports 30+ caption formats.
Install
npx vskill@latest install lattifai/omni-captions-skills/omnicaptions-convertSKILL.md
Caption Format Conversion
Convert between 30+ caption/caption formats using lattifai-captions.
⚡ YouTube Workflow
When to Use
- Converting SRT to VTT, ASS, TTML, etc.
- Converting Gemini markdown transcript to standard caption formats
- Converting YouTube VTT (with word-level timestamps) to other formats
- Batch format conversion
When NOT to Use
- Need transcription (use
/omnicaptions:transcribe) - Need translation (use
/omnicaptions:translate)
Setup
Quick Reference
| Format | Extension | Read | Write | |
|---|---|---|---|---|
| SRT | .srt | ✓ | ✓ | |
| VTT | .vtt | ✓ | ✓ | |
| ASS/SSA | .ass | ✓ | ✓ | |
| TTML | .ttml | ✓ | ✓ | |
| Gemini MD | .md | ✓ | ✓ | |
| JSON | .json | ✓ | ✓ | |
| TXT | .txt | ✓ | ✓ |
Full list: SRT, VTT, ASS, SSA, TTML, DFXP, SBV, SUB, LRC, JSON, TXT, TSV, Audacity, Audition, FCPXML, EDL, and more.
CLI Usage
ASS Style Presets
When converting to ASS format, use --style to apply preset styles:
| Preset | Position | Line 1 | Line 2 | Use Case | |
|---|---|---|---|---|---|
default | Bottom | White | White | Standard captions | |
top | Top | White | White | When bottom is occupied | |
bilingual | Bottom | White | Yellow | Bilingual captions (原文 + 译文) | |
yellow | Bottom | Yellow | Yellow | High visibility |
Bilingual Example
If your SRT has two-line captions like:
Use --style bilingual or custom colors:
Custom Color Options
| Option | Description | |
|---|---|---|
--line1-color "#RRGGBB" | First line (original) color | |
--line2-color "#RRGGBB" | Second line (translation) color |
Common colors: #FFFFFF (white), #FFFF00 (yellow), #00FF00 (green), #00FFFF (cyan), #FF6600 (orange)
Font Size and Resolution
Font size is auto-calculated based on video resolution. Resolution is detected from (priority order):
--resolutionargument (e.g.,1080p,4k,1920x1080)--videoargument (uses ffprobe to detect).meta.jsonfile (saved byomnicaptions download)- Default: 1080p
| Resolution | PlayRes | Auto FontSize | |
|---|---|---|---|
| 480p | 854×480 | 24 | |
| 720p | 1280×720 | 32 | |
| 1080p | 1920×1080 | 48 (default) | |
| 2K | 2560×1440 | 64 | |
| 4K | 3840×2160 | 96 |
Karaoke Mode
Generate karaoke subtitles with word-level highlighting. Requires word-level timing (use LaiCut alignment first).
| Effect | ASS Tag | Description | |
|---|---|---|---|
sweep | \kf | Gradual fill from left to right (default) | |
instant | \k | Instant word highlight | |
outline | \ko | Outline fills, then text fills |
Karaoke Workflow
Python Usage
Common Mistakes
| Mistake | Fix | |
|---|---|---|
| Format not detected | Use --from / --to flags | |
| Missing timestamps | Source format must have timing info | |
| Encoding error | Specify encoding="utf-8" |
Related Skills
| Skill | Use When | |
|---|---|---|
/omnicaptions:transcribe | Need transcript from audio/video | |
/omnicaptions:translate | Translate with Gemini API | |
/omnicaptions:translate | Translate with Claude (no API key) | |
/omnicaptions:download | Download video/captions first |
Workflow Examples
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/omnicaptions-convert/SKILL.md
Popularity
- Repository stars
- 22
- Repository forks
- 2
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lattifai/omni-captions-skills/omnicaptions-convert)