Analyze Video
analyze_videoExtract sampled frames from a video and analyze them using vision AI to gain insights, answer questions, or extract specific details.
Instructions
Analyze a local or remote video by extracting sampled frames with ffmpeg and sending them to Codex vision analysis.
Requires ffmpeg on PATH. For precise video work, extract important frames manually and use analyze_image or ui_diff_check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Detailed prompt describing what to analyze, extract, or understand from the video. | |
| frame_count | No | Optional number of frames to extract with ffmpeg before sending to Codex. Defaults to 4. | |
| image_detail | No | Optional Codex Responses input_image detail. Defaults to CODEX_VISION_IMAGE_DETAIL or high. | |
| video_source | Yes | Local file path or remote URL to the video. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes | ||
| metadata | No |