Skip to main content
Glama

MCP FFmpeg Helper

extract_frames

Extract specific frames from a video as sequential image files, allowing users to define frame rate, format, quality, start time, and duration for precise frame retrieval.

Instructions

Extract frames from a video as sequential image files

Input Schema

NameRequiredDescriptionDefault
durationNoDuration to extract frames (format: HH:MM:SS.mmm or seconds)
formatNoOutput image format (jpg, png, etc., default: jpg)
frameRateNoFrame extraction rate (e.g., '1' for every frame, '0.5' for every 2nd frame, '1/30' for 1 frame per 30 seconds)
inputPathYesPath to the input video file
outputDirNoDirectory to save the extracted frames (default: 'output')
qualityNoImage quality for jpg format (1-100, default: 95)
startTimeNoStart time to begin extraction (format: HH:MM:SS.mmm or seconds)

Input Schema (JSON Schema)

{ "properties": { "duration": { "description": "Duration to extract frames (format: HH:MM:SS.mmm or seconds)", "type": "string" }, "format": { "description": "Output image format (jpg, png, etc., default: jpg)", "type": "string" }, "frameRate": { "description": "Frame extraction rate (e.g., '1' for every frame, '0.5' for every 2nd frame, '1/30' for 1 frame per 30 seconds)", "type": "string" }, "inputPath": { "description": "Path to the input video file", "type": "string" }, "outputDir": { "description": "Directory to save the extracted frames (default: 'output')", "type": "string" }, "quality": { "description": "Image quality for jpg format (1-100, default: 95)", "type": "number" }, "startTime": { "description": "Start time to begin extraction (format: HH:MM:SS.mmm or seconds)", "type": "string" } }, "required": [ "inputPath" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sworddut/mcp-ffmpeg-helper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server