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
Name | Required | Description | Default |
---|---|---|---|
duration | No | Duration to extract frames (format: HH:MM:SS.mmm or seconds) | |
format | No | Output image format (jpg, png, etc., default: jpg) | |
frameRate | No | Frame extraction rate (e.g., '1' for every frame, '0.5' for every 2nd frame, '1/30' for 1 frame per 30 seconds) | |
inputPath | Yes | Path to the input video file | |
outputDir | No | Directory to save the extracted frames (default: 'output') | |
quality | No | Image quality for jpg format (1-100, default: 95) | |
startTime | No | Start time to begin extraction (format: HH:MM:SS.mmm or seconds) |