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
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| subtitle_path | Yes | ||
| style | No | outline | |
| font_size | No | ||
| output_path | No |