Skip to main content
Glama

ffmpeg_add_subtitles

Burn subtitles into video files using FFmpeg. Supports SRT, ASS, and VTT formats with customizable styles and font sizes for permanent subtitle display.

Instructions

Add subtitles to a video file (burn-in/hardcode).

Args:
    file_path: Path to the input video file
    subtitle_path: Path to the subtitle file (SRT, ASS, VTT)
    style: Subtitle style - "outline" (default), "shadow", "background", or "glow"
    font_size: Font size for subtitles (default: 24)
    output_path: Optional output file path. If not specified, saves to default output directory.

Returns:
    Path to the output video with subtitles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
subtitle_pathYes
styleNooutline
font_sizeNo
output_pathNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinwatt/ffmpeg-mcp-lite'

If you have feedback or need assistance with the MCP directory API, please join our Discord server