add-subtitles

Embed SRT subtitles into WEBM, MP4, or MKV videos using ffmpeg.

Updated Feb 11, 2018
One-click install
npx skills add https://github.com/tpott/pub_musings --skill add-subtitles
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: add-subtitles
Source: https://github.com/tpott/pub_musings/tree/main/cc_plugins/skills/add-subtitles
Command: npx skills add https://github.com/tpott/pub_musings --skill add-subtitles

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adds SRT subtitles to video files, enabling straightforward subtitle embedding for playback and distribution.

Core Features & Use Cases

  • Embeds SRT subtitle tracks into outputs using ffmpeg.
  • Supports common formats (WEBM, MP4, MKV) and produces an MP4 with embedded subtitles.
  • Typical workflow: place your .srt subtitle file next to your video, then run a command to output a subtitled MP4.

Quick Start

Embed the SRT subtitles into the video and output a new MP4 with embedded subtitles.

Frequently Asked Questions about add-subtitles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I embed SRT subtitles into an MP4 video?▼

You can embed SRT subtitles into WEBM, MP4, or MKV videos using this Skill. It processes these common input formats via ffmpeg, consistently outputting a single MP4 file that includes the embedded subtitle track.

Do I need ffmpeg to attach SRT subtitles to video files?▼

When embedding SRT subtitles, the typical workflow requires placing your .srt subtitle file next to your video. Running the command then processes both files to output a new MP4 with the subtitles permanently attached for viewing.

Does embedding subtitles with mov_text work for MKV and WEBM files?▼

Yes, embedding subtitles with mov_text works for MKV and WEBM files. The Skill accepts these common input formats and processes them to produce a subtitled MP4 output with the SRT track included.

Why output an MP4 with embedded subtitles instead of keeping files separate?▼

Outputting an MP4 with embedded subtitles consolidates the video and SRT file into a single distribution-ready format. This ensures the subtitles travel with the video for playback without needing separate file management.