This skill should be used when the user asks "check subtitles", "audit subs", "subtitle font issues", "ASS vs SRT", "missing fonts", "subtitle timing", or wants to analyze subtitle tracks for issues like missing fonts, timing problems, or format limitations.
Analyze subtitle tracks for issues including missing fonts, timing problems, format capabilities, and proper tagging.
Capabilities:
Requirements:
Capabilities:
Limitations:
Capabilities:
Limitations:
mediainfo video.mkv
Look for Subtitle sections showing:
Using ffprobe:
ffprobe -v error -select_streams s -show_entries \
stream=index,codec_name:stream_tags=language,title \
-of csv=p=0 video.mkv
# Extract first subtitle track
ffmpeg -i video.mkv -map 0:s:0 subtitles.ass
# Extract by language
ffmpeg -i video.mkv -map 0:s:m:language:eng output.srt
Using Aegisub:
Manual inspection: Open ASS file in text editor, look for Style lines:
Style: Default,Arial,48,&H00FFFFFF,...
The second field after style name is the font.
For MKV files, check attachments:
mediainfo video.mkv | grep -A 20 "Attachment"
Should show font files (TTF, OTF) if fonts are embedded.
Extract embedded fonts:
mkvextract attachments video.mkv 1:font1.ttf 2:font2.ttf
Check for issues:
Using Aegisub:
Symptoms:
Solutions:
Symptoms:
Fix with MKVToolNix:
mkvpropedit video.mkv --edit track:s1 --set language=eng
Symptoms:
Fix:
# Delay subtitles by 2 seconds
ffmpeg -i input.srt -itsoffset 2 -i input.srt -c copy output.srt
Or use Aegisub: Timing → Shift Times
MKV: Full ASS support, can embed fonts MP4: No ASS support, SRT only (basic), or must hardsub WebM: Limited subtitle support
# With MKVToolNix
mkvmerge -o output.mkv input.mkv subtitles.ass
# With ffmpeg
ffmpeg -i video.mkv -i subtitles.ass -map 0 -map 1 -c copy output.mkv
mkvmerge -o output.mkv input.mkv \
--language 0:eng --default-track 0:yes subtitles.ass
mkvmerge -o output.mkv input.mkv subtitles.ass \
--attach-file font1.ttf --attach-file font2.ttf
| Format | Styling | Fonts | Container Support | |--------|---------|-------|-------------------| | ASS | Full | Required | MKV only | | SRT | Basic/None | N/A | Most containers | | PGS | Image-based | N/A | MKV, M2TS | | VobSub | Image-based | N/A | MKV, AVI |
When distributing ASS subtitles:
${CLAUDE_PLUGIN_ROOT}/references/tools.md - Tool recommendations${CLAUDE_PLUGIN_ROOT}/references/encoding-commands.md - Subtitle extraction/muxing commandsEdit PDFs with natural-language instructions using the nano-pdf CLI.
Control Sonos speakers (discover/status/play/volume/group).
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Capture frames or clips from RTSP/ONVIF cameras.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Category:tools