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

    by Joyren Terken

    1

    These two tools turn sound and motion into numbers and pictures it can read.

    Free

    Security scanned

    Works with the AI Agents you already use

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

    Example session with this skill installed

    Build the 12-second self-test clip and run ear.py and eye.py on it, so I can see what each sound will be heard as and how the camera moves ease before I use the tools on my own reel.

    • Read your context and instructions
    • Compiled the film ear

    Built the clip with examples/make_test_clip.sh and ran both tools. The self-test's 17 checks pass.

    Sound events (ear.py)

    tclasswhypeak dB
    1.00BELLrings 690 ms on a clear tone near 1319 Hz (E6)-11.0
    3.00THUDshort and low: centroid 74 Hz, 68 ms, no ring-9.1
    5.00TAPshort and bright: centroid 6186 Hz, 5 ms-14.0
    7.00VOICEpitched 220.5 Hz (A3), 395 ms, voice-like range-15.1
    9.01WHOOSHnoise for 695 ms, centroid 5271 Hz-27.8

    The whoosh reads low because peak dB is measured in the first 150 ms and a whoosh swells.

    Camera (eye.py)

    {"cuts_s": [3.97, 7.97],
     "moves": [{"t": 0.03, "dur": 3.93, "peak": 78.4, "t_peak": 0.5, "smooth": 0.65},
               {"t": 7.97, "dur": 4.0, "peak": 7.6, "t_peak": 0.05, "smooth": 0.78}]}
    
    • The pan peaks halfway with mean/peak 0.65: an eased move.
    • The zoom peaks at 0.05 of its length: it starts at full speed, with no ease-in.
    • Between the cuts at 3.97 s and 7.97 s nothing moves: a hold.

    Next steps

    • Run eye.py on two or three reference films next to your cut.
    • Class each sound effect with ear.py --samples before mixing.

    Connects securely to your tools. The creator never sees your data.

    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.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 17 days ago

    • Free with an Agensi account

    Accounts
    Hugging Face
    Software
    Python 3.10+FFmpegnumpymatplotlibGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables

    Allowed Hosts

    huggingface.co
    Listed17 days ago

    What's inside

    Frequently Asked Questions

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

    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.

    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.

    New in Image & Video

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.

    Free