Burn subtitles
burn_subtitlesRender .srt or .ass subtitle files permanently into a video as hard subs, with optional font, size, and color styling for SRT.
Instructions
Render an .srt or .ass subtitle file permanently onto the video (hard subs). Use force_style for SRT to tweak font/size/color (libass syntax, e.g. "FontName=Arial,FontSize=24").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"subtitles": "<subtitles>",
"output": "<output>"
},
"name": "burn_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source video. | |
| output | Yes | Path for the subtitled output video. | |
| overwrite | No | Overwrite the output file if it already exists. | |
| subtitles | Yes | Path to the .srt or .ass subtitle file. | |
| forceStyle | No | libass style overrides for SRT, e.g. "FontSize=24,PrimaryColour=&H00FFFF&". |