# Film Ear + Eye: Measure a Video's Sound and Motion

> Two local Python tools that let an agent check a video it cannot watch or hear. ear.py times and classes every sound event and measures loudness. eye.py measures cuts, camera speed, easing and holds. Both write tables, spectrograms and plots.

Film Ear + Eye: Measure a Video's Sound and Motion is a free AI agent skill on Agensi by Joyren Terken, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Joyren Terken](https://www.agensi.io/creators/joyren-terken)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/film-ear-eye-measure-a-video-s-sound-and-motion
- Tags: image, testing, audio-analysis, motion-analysis, loudness, animation, ffmpeg, python

## About this skill

**What it does**

An agent that edits video works blind and deaf, and will still say the pacing feels right. These two tools turn sound and motion into numbers and pictures it can read.

- `scripts/ear.py` finds every sound event in the mix, times it and classes it as THUD, TAP, BELL, VOICE, NOTE, WHOOSH or BOOM, and writes down why. It also reports integrated loudness (LUFS), loudness range, true peak, silences, key, pulse and energy by band, with one labelled spectrogram per window. `--samples` classes sound effects before they go in the mix, so a soft click that rings like a bell is caught early.
- `scripts/eye.py` reports cuts per minute, shot length, how much and how fast the camera moves, where in each move the speed peaks, mean-to-peak speed, jitter, holds and rhythm. It writes a table across films, a motion plot and a contact sheet per film, and a JSON list of every cut and move.

Run both on two or three reference films first, and their table becomes the target.

**When to use it**

- Before calling a film, reel, animation or edit done.
- When comparing your cut with reference films.
- When asked whether the pacing, camera easing, sound design or mix is right.

**What's inside**

- `scripts/ear.py`, `scripts/eye.py`, and `scripts/ear_tags.py` for the optional trained listener.
- `examples/make_test_clip.sh`: builds a 12-second test film with known motion and sounds.
- `tests/selftest.py`: 17 checks of both tools against what was planted.
- `requirements.txt` and two sample pictures in `docs/`.

**Requirements**

Python 3.10 or newer, ffmpeg on the PATH, numpy and matplotlib. Everything runs locally. Optional: `faster-whisper` and `soundfile` for `--words`, `onnxruntime`, `soundfile` and a local model of about 90 MB for `--tags`.

Neither tool sees design, acting or whether a joke lands.

## Requires

- Python 3.10+
- FFmpeg
- numpy
- matplotlib
- Git

## Known limitations

Motion detection can be fooled by large moving objects. Sound event peak dB only measures the first 150ms. Requires local ffmpeg installation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Film Ear + Eye: Measure a Video's Sound and Motion skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does anything leave my machine?

No. Both tools run locally. The optional --tags model is downloaded once into a local folder, and then runs locally too.

### Can it tell me whether my film is good?

No. It measures sound and motion. Classes say what a sound will be taken for, and neither tool sees design, acting or whether a joke lands.

### How do I know the measurements are right?

tests/selftest.py builds a 12-second film with planted motion and sounds and runs 17 checks of both reports against it. Run it after changing either script.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
