ffmpeg__extract_frames_for_vision
Extract image frames from a video for multimodal vision prompts, returning JSON with frame paths and frame count for direct LLM ingestion.
Instructions
Extract image frames for multimodal vision prompts. @remarks Returns JSON in stdout with frame_paths and frame_count for direct LLM/prompt ingestion. @param input_path Source video path. @param output_dir Optional output directory. Falls back to FFMPEG_OUTPUT_DIR or SHELL_AS_MCP_OUTPUT_DIR. @param start_time Optional start timestamp. @param end_time Optional end timestamp. @param fps Optional extraction fps (for example 0.5 for one frame every two seconds). @param keyframes_only Whether to extract only keyframes (I-frames). @param max_resolution Optional longest-edge cap for generated frames. @param __mcp_response_mode Optional response mode: content (default) or structuredContent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| end_time | No | ||
| input_path | Yes | ||
| output_dir | No | ||
| start_time | No | ||
| keyframes_only | No | ||
| max_resolution | No | ||
| __mcp_response_mode | No | content |