Detect Active Picture Bounds
detect_active_picture_boundsDetect probable letterbox or pillarbox bars by finding the most frequent active-picture crop rectangle in decoded video, without modifying the source.
Instructions
Detect the most frequent active-picture crop rectangle in decoded video, exposing probable letterbox or pillarbox bars without modifying the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Cropdetect black threshold from 0 through 255 (default: 24) | |
| media_path | Yes | Existing local video file | |
| sample_seconds | No | Decode sample duration from 1 through 300 seconds (default: 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |