embed_subtitles
Embed subtitle files as selectable soft tracks inside video containers (mp4, mkv, mov) without altering the video frames. Supports SRT, VTT, and ASS subtitle formats.
Instructions
Embed a subtitle file as a soft subtitle track inside a video container (the subtitles are selectable but not burned into the video frames). Supports mp4, mkv, and mov output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output file. Defaults to same directory with '_subtitled' suffix. | |
| output_format | No | Output container format: mp4, mkv, or mov. Defaults to same format as input. | |
| subtitle_path | Yes | Absolute path to the subtitle file (.srt, .vtt, or .ass) |