Skip to main content
Glama

extract_frames

Extract frames from YouTube videos at specific timestamps you provide. Use this tool to capture screenshots from exact moments in videos for analysis or reference.

Instructions

Extract frames from a YouTube video at specific timestamps you provide. Use this when you already know the exact timestamps you want (e.g., from get_video_timestamps or video summary).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
youtube_urlYesFull YouTube URL (youtube.com/watch?v=ID, youtu.be/ID, or youtube.com/shorts/ID)
timestampsYesArray of timestamps in seconds to extract frames from (e.g., [5, 30, 60, 120])
output_dirNoOptional directory to save screenshots. If not provided, uses SCREENSHOT_OUTPUT_DIR env var or temp directory.
resolutionNoOutput resolution: thumbnail (160p), small (360p), medium (720p), large (1080p), full (original). Default: largelarge

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/Legorobotdude/yt-analysis-mcp'

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