blender-motion-state-inspection
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Trim the fat from raw talking footage. Turns raw video into a tight first cut by removing dead air, ums and uhs, stutters, false starts and bad takes (keeping the last good take), then checks the result by listening to it again. Use when the user says "rough cut", "first cut", "trim the fat", "cut the pauses", "remove the ums", "cut my retakes", "make it snappy", or hands over raw footage to edit.
Editors call this the assembly and the rough cut. Every usable line goes in, in order, and everything that doesn't earn its place comes out. It is not the finished video. It is the version where every second is the speaker saying the line well, so the later passes (pacing, colour, graphics, sound) work on good material.
The idea behind it: edit the words, not the waveform. Get a transcript where every word has a start and end time, decide what to keep by reading it, and the cuts follow from the timings. Descript and the text-based editing in Premiere and Resolve work this way. This skill adds two things they don't do: it snaps every cut to the real sound, and it checks the render by listening to it again.
sh ~/simcraft/skills/video/rough-cut/setup.sh
Creates .venv next to this file with Whisper (mlx-whisper on Apple Silicon, faster-whisper elsewhere). Needs ffmpeg: ffmpeg on PATH, or set $FFMPEG to its path. Run every script below with ~/simcraft/skills/video/rough-cut/.venv/bin/python.
One folder per video. If the user hasn't made one, make ~/Movies/edits/YYYY-MM-DD-<slug>/ and copy (never move) the raw files into raw/. Scripts write audio/, cuts/ and renders/ next to it. Nothing in raw/ is ever changed.
python scripts/transcribe.py <workspace> [--lang en]
Writes audio/words.json (every word: start, end, text, confidence) and audio/transcript.txt (one line per take). About 1 minute per 2 minutes of footage on an M-series Mac.
Pass --lang en when it's English (more accurate). Leave it off for Hindi/English mixed speech.
How it stays accurate (each one fixes a failure we hit on real footage):
python scripts/find_cuts.py <workspace> [--gap 0.35] [--keep-fillers]
Writes cuts/edl.json (pieces to keep, in order) and cuts/cut_sheet.md (every cut and why, plus low-confidence words to check).
| Cut | Rule |
|---|---|
| Dead air | Any pause longer than --gap (0.35s). Head and tail silence too. |
| Fillers | um, uh, erm, hmm, mm, ah. |
| Repeats | A word or chunk of up to 4 words said twice in a row ("so the so the"): keeps the second. |
| Retakes | The same line said again within 20s, matched by letters so mishearings still match ("Northwind" / "North wind", "1" / "one"): keeps the last take. |
| False starts | A line abandoned partway and then said in full ("A 300 billion." then "A 300 million dollar business."). |
| Same ending | A line rephrased at the start but ending the same way ("That's, it's Northwind's own founder" then "And that's not me saying it, it's Northwind's own founder"). |
| Ghost words | A word on its own with no voice under it. Whisper invents these in silence ("Thank you.", "hallelujah"). |
Where each cut lands:
Read cuts/cut_sheet.md next to audio/transcript.txt and fix cuts/edl.json by hand. A script can't judge these:
Each piece is {"clip", "in", "out", "text"}, and "speed" is optional. Keep cuts between words.
The cut sheet reports words per second. Snappy talking-head content sits around 3.3–3.8. If the speaker is slower, suggest a speed of 1.05–1.2 and set "speed" in edl.json for the whole video, or per piece. Pitch stays the same. Never speed up music or reactions.
python scripts/render.py <workspace> --w 854 --v 1 [--aspect 9:16]
A 480p preview goes to renders/v1_854.mp4. Bump --v for every round of notes so old versions stay.
python scripts/verify.py <workspace> --v 1 [--lang en]
It listens to the render again, piece by piece, compares it with the cut list, and writes cuts/verify_v1.md. The report has four sections:
On clean audio the target is 100% of words present, 0 cuts inside sound and 0 unexpected words. Noisy or mumbled audio gives some missing/unexpected pairs that are really mishearings. Trust the sound test over them.
Fix what it finds, render again, and verify again.
python scripts/render.py <workspace> --w <source width> --v N.On 3 minutes of raw talking-head footage with heavy retakes (9 takes of one line, 4 of another), 2:55 of talking became 0:36. It kept the last clean take of every line, and verify found 100% of words present, 0 cuts inside sound and 0 leaks.
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
ANanthropics/skills203k3,333 new stars in the last 7 days
Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.
ANanthropics/skills203k3,333 new stars in the last 7 days
HAharry0703/MoneyPrinterTurbo147k1,663 new stars in the last 7 days
SHShubhamsaboo/awesome-llm-apps146k895 new stars in the last 7 days
GAgarrytan/gstack143k636 new stars in the last 7 days