Detect Motion Peaks
detect_motion_peaksIdentify probable high-motion moments in a local video sample by comparing decoded frame differences. Returns timestamped candidate peaks for editorial review.
Instructions
Find probable high-motion moments in a bounded local video sample from decoded frame differences. Read-only editorial candidates; camera movement, flashes, cuts, and subject motion are not semantically distinguished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Minimum mean luma-frame difference from 0 through 255 (default: 12) | |
| media_path | Yes | Existing local video file | |
| maximum_events | No | Maximum returned candidates from 1 through 1000 (default: 200) | |
| sample_seconds | No | Decode duration from 1 through 300 seconds (default: 60) | |
| samples_per_second | No | Frame samples per second from 1 through 10 (default: 4) | |
| minimum_interval_seconds | No | Minimum peak spacing from 0.1 through 30 seconds (default: 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |