get_video_info
Retrieve technical metadata about a video using ffprobe. This tool makes no AI API calls — it works entirely with the bundled ffprobe binary.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
videoPath | string | ✓ | Path to the video, file:// URI, or remote URL |
Returned Information
Section titled “Returned Information”The tool returns a JSON object with the input path plus these fields:
| Field | Example | Description |
|---|---|---|
duration | 222.46 | Total video length in seconds |
width | 1920 | Video width in pixels |
height | 1080 | Video height in pixels |
fps | 29.97 | Frames per second |
codec | "h264" | Video codec |
fileSize | 130023424 | File size in bytes |
format | "mp4" | Container format |
hasAudio | true | Whether the file contains an audio track |
Usage Examples
Section titled “Usage Examples”Check a local file:
“Get the metadata for
./video.mp4”
Check a remote file:
“What are the technical specs of
https://cdn.example.com/sample.webm?”
Before analyzing a large video:
“How long is
./conference-recording.mp4and what resolution is it?”