agentic-video Gallery

Find the cross-dissolve where two shots are joined

Cuts and editsSpaceVerified
0:08PD · NASA Johnson Space Center

Proof frames

Click a frame to seek

Tool calls

2 calls · agentic-video 0.3.1
detect_cutsimac · 422 ms

Arguments

{
  "source": "$CLIP"
}

Result

{
  "ok": true,
  "data": {
    "cuts": [
      {
        "timestamp_sec": 1.76,
        "score": 0.152541,
        "kind": "cut"
      },
      {
        "timestamp_sec": 4.25,
        "score": 0.334396,
        "kind": "transition"
      }
    ],
    "total": 2
  }
}
inspect_windowimac · 414 ms

Arguments

{
  "source": "$CLIP",
  "start_sec": 3.28,
  "end_sec": 5.28,
  "fps": 2
}

Result

{
  "ok": true,
  "data": {
    "source_path": "~/hill/gallery/repo/cards/dissolve-space/clip.mp4",
    "start_sec": 3.28,
    "end_sec": 5.28,
    "fps": 2,
    "frames": [
      {
        "index": 1,
        "timestamp_sec": 3.28,
        "timecode": "00:00:03.280",
        "file_path": "<cache>/7439d1ee51a2dba7efbc/dense_c4c549bf3c0f59afcdac/frame_0001.jpg",
        "width": 640,
        "height": 360,
        "requested_timestamp": 3.28,
        "decoded_timestamp": null,
        "timestamp_delta": null
      },
      {
        "index": 2,
        "timestamp_sec": 3.78,
        "timecode": "00:00:03.780",
        "file_path": "<cache>/7439d1ee51a2dba7efbc/dense_c4c549bf3c0f59afcdac/frame_0002.jpg",
        "width": 640,
        "height": 360,
        "requested_timestamp": 3.78,
        "decoded_timestamp": null,
        "timestamp_delta": null
      },
      {
        "index": 3,
        "timestamp_sec": 4.28,
        "timecode": "00:00:04.280",
        "file_path": "<cache>/7439d1ee51a2dba7efbc/dense_c4c549bf3c0f59afcdac/frame_0003.jpg",
        "width": 640,
        "height": 360,
        "requested_timestamp": 4.28,
        "decoded_timestamp": null,
        "timestamp_delta": null
      },
      {
        "index": 4,
        "timestamp_sec": 4.78,
        "timecode": "00:00:04.780",
        "file_path": "<cache>/7439d1ee51a2dba7efbc/dense_c4c549bf3c0f59afcdac/frame_0004.jpg",
        "width": 640,
        "height": 360,
        "requested_timestamp": 4.78,
        "decoded_timestamp": null,
        "timestamp_delta": null
      }
    ],
    "contact_sheet_path": "/private<cache>/7439d1ee51a2dba7efbc/contact_sheets/sheet_4samples_4cols_f5171d.jpg",
    "estimated_vision_tokens": 1032,
    "tool_file": {
      "_tag": "ToolFile",
      "name": "sheet_4samples_4cols_f5171d.jpg",
      "mimeType": "image/jpeg",
      "encoding": "base64",
      "data": "<300852 base64 chars dropped>",
      "byteLength": 225637
    }
  }
}

Question and answer

Question
Is there a fade between shots? Where is it?
Answer
The tool reports a transition at 4.25 seconds, where the two shots meet.
Check passedanswer 4.25, expected 4.3 ±0.5

How it was checked

Truth from
constructed
Fixed at

Planted by this recipe before any tool ran: shot A is 4.8 s of nasa-meet-zena-cardman-crew11 from 116.68 s; shot B is 4.36 s of nasa-iss-blood-samples from 30.76 s (another source of the same domain; neither shot has a hard cut inside). ffmpeg joined them with one 1.0 s cross-dissolve (xfade fade) from 3.8 s to 4.8 s of the clip. The truth is the fade midpoint 4.3 s, with tolerance 0.5 s (half the fade), so a cut time anywhere inside the fade passes. The window given to inspect_window is the fade plus 0.5 s either side, fixed here.

A script joined two shots, one from 'NASA astronaut Zena Cardman talks to camera about Crew-11 command' and one from another clip of the same kind, with a planted 1.0 s cross-dissolve and no sound, so the answer is one time inside that fade (not its start and end); the card does not show whether detect_cuts finds other cuts.

Try it yourself

Use agentic-video on my video. Run detect_cuts on the whole video, then run inspect_window over the part where the picture fades into the next shot. Tell me the time of the fade.
  1. Get the .mcpb file and open it in Claude Desktop.
  2. Or: pip install agentic-video

Clip and licence

Licence
PD
Author
NASA Johnson Space Center
Source
commons.wikimedia.org
This file is in the public domain in the United States because it was solely created by NASA.

Also uses (insert 1)

Licence
PD
Author
NASA Johnson Space Center
Source
commons.wikimedia.org
This file is in the public domain in the United States because it was solely created by NASA.