Extract Video Scenes
video.extract_scenesExtract timestamped screenshots from local videos using scene detection or fallback sampling.
Instructions
Extract timestamped local screenshots from a video using ffmpeg scene detection with fallback sampling. Audio is not analyzed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto uses scene detection then fallback sampling if too sparse. | |
| path | Yes | Path to a local video file. | |
| maxFrames | No | Maximum returned frames. Default: min(80, max(12, ceil(durationSeconds / 3))). | |
| outputDir | No | Optional directory for generated screenshots. | |
| sensitivity | No | Scene-change sensitivity. Default: 0.3. | |
| minGapSeconds | No | Minimum gap between returned frames. Default: 1.5. |