ass__smoke_test
Generates a short MP4 test video from an ASS subtitle file using ffmpeg to verify subtitles render correctly. Outputs a JSON summary on success or error details on failure.
Instructions
Render a short test video from an ASS subtitle file to verify renderability. @remarks Uses ffmpeg lavfi virtual color source to generate a background, then overlays the ASS subtitles via the subtitles filter (requires libass support in ffmpeg). Outputs a JSON summary on success or an error payload on failure. @param ass_file_path Path to the ASS subtitle file to render. @param output_path Path for the output MP4 video file. @param output_dir Optional output directory fallback for relative output_path. Falls back to ASS_OUTPUT_DIR or SHELL_AS_MCP_OUTPUT_DIR. @param duration_sec Duration of the test video in seconds (1-300). Default: 10. @param resolution Output video resolution in WxH format. Default: 1920x1080. @param background_color Background color for the test video (ffmpeg color name or hex). Default: black. @param __mcp_response_mode Optional response mode: content (default) or structuredContent.
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": {
"ass_file_path": "<ass_file_path>",
"output_path": "<output_path>"
},
"name": "ass__smoke_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| resolution | No | ||
| output_path | Yes | ||
| duration_sec | No | ||
| ass_file_path | Yes | ||
| background_color | No | ||
| __mcp_response_mode | No | content |