Agent skill

add-subtitles

Adds SRT formatted subtitles to a video file when you want a video to have subtitles.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/add-subtitles

SKILL.md

Add Subtitles

Instructions

This assumes you have created subtitles or have downloaded subtitles in SRT format. If you don't have subtitles then you can use the transcribe-srt skill to create SRT formatted subtitles.

Once you have subtitles, you can call ffmpeg -n -i "{INPUT FILE}.webm" -i "{INPUT FILE}.srt" -s 720x480 -c:s mov_text "{INPUT FILE}.mp4". This will output the "{INPUT FILE}.mp4" file with the "{INPUT FILE}.srt" subtitles.

Typically the video files will be stored in ~/Videos.

Examples

Can you please add the subtitles ~/Videos/my_video.srt to ~/Videos/my_video.webm?

Then you would call ffmpeg -n -i "~/Videos/my_video.webm" -i "~/Videos/my_video.srt" -s 720x480 -c:s mov_text "~/Videos/my_video.mp4".

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results