agentic-video Gallery

Find the frame rate and size of a clip

OrientLectureVerified
1:00CC0 · Andrew Krizhanovsky (Alexander Kirillov, lecturer)

Proof frames

Click a frame to seek

Tool calls

2 calls · agentic-video 0.3.1
probe_videobox · 32 ms

Arguments

{
  "source": "$CLIP"
}

Result

{
  "ok": true,
  "data": {
    "source_path": "~/work/cards/probe-lecture/clip.mp4",
    "duration_sec": 60,
    "width": 480,
    "height": 360,
    "fps": 24,
    "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
    "size_bytes": 2570543,
    "has_audio": true,
    "audio_codec": "aac",
    "video_codec": "h264",
    "fingerprint": "94f2c8f6542c364b1139",
    "has_video": true
  }
}
contact_sheetbox · 153 ms

Arguments

{
  "source": "$CLIP",
  "samples": 4
}

Result

{
  "ok": true,
  "data": {
    "file_path": "<cache>/94f2c8f6542c364b1139/contact_sheets/sheet_4samples_4cols_e05b35.jpg",
    "sample_count": 4,
    "rows": 1,
    "cols": 4,
    "start_sec": 7.5,
    "end_sec": 52.5,
    "timestamps": [
      7.5,
      22.5,
      37.5,
      52.5
    ],
    "frame_width": 768,
    "frame_height": 576,
    "tool_file": {
      "_tag": "ToolFile",
      "name": "sheet_4samples_4cols_e05b35.jpg",
      "mimeType": "image/jpeg",
      "encoding": "base64",
      "data": "<250784 base64 chars dropped>",
      "byteLength": 188086
    }
  }
}

Question and answer

Question
What is the frame rate of this video, and how big is it?
Answer
The file plays at 24 frames per second.
Check passedanswer 24.0, expected 24.0 ±0.05

How it was checked

Truth from
constructed
Fixed at

Planted by this recipe: ffmpeg re-encoded the source at 24 frames per second and 480 px wide (the choice is seeded from the card id). The truth is that setting; the tolerance 0.05 allows for rounding in the probe.

The source was re-encoded by a script at 24 frames per second and 480 px wide, so the answer is the setting the script chose, not a real-world camera fact.

Try it yourself

Use agentic-video to probe my video. Tell me its frame rate, width and height, then make a contact sheet of it. Use my own file.
  1. Get the .mcpb file and open it in Claude Desktop.
  2. Or: pip install agentic-video

Clip and licence

Licence
CC0
Author
Andrew Krizhanovsky (Alexander Kirillov, lecturer)
Source
commons.wikimedia.org
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.