Skip to main content
Glama

extract_frames

Extract frames from video files at specified intervals to create image sequences for analysis or processing. Configure time intervals, maximum frames, and output format to capture specific moments.

Instructions

Extract frames from a video at regular intervals.

Args: path: Absolute path to the video file. interval_seconds: Time between extracted frames (default 1 second). max_frames: Maximum number of frames to extract (default 10). output_dir: Directory to save frames. Defaults to a 'frames' subdir next to the video. format: Image format for frames ('png' or 'jpg'). Default 'png'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
interval_secondsNo
max_framesNo
output_dirNo
formatNopng

Latest Blog Posts

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/Adityaaery20/media-mcp'

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