Skip to content

unsaid 0.1.0

Choose a tag to compare

@Necromancervbh Necromancervbh released this 27 Oct 08:28
· 13 commits to main since this release

The first release of unsaid: edit video by editing text, on your own machine.

uv tool install git+https://github.com/Necromancervbh/unsaid@v0.1.0
unsaid cut talk.mp4                            # filler words out -> talk.unsaid.mp4
unsaid transcribe talk.mp4                     # writes talk.unsaid.txt, one sentence per line
unsaid cut talk.mp4 --script talk.unsaid.txt   # ...and everything you deleted from it

What's in it

  • Local transcription with word timestamps (faster-whisper). Whisper is primed to keep "um" and "uh" instead of cleaning them up, across the whole recording.
  • Filler removal in one command (um, uh, hmm, ...), plus --aggressive for "like", "you know" and "I mean" when they're set off by commas, and --filler for your own verbal tics.
  • Edit by deleting text: delete words or sentences from the script and they're cut from the video. A typo next to a deletion doesn't undo it, and changed words are kept and reported.
  • Cuts that sound natural: cuts only land in silence. Each cut edge moves to where the audio really goes quiet, since Whisper's word timestamps can be off by a tenth of a second, and each cut keeps the shorter of the pauses around it. Audio gets an 8 ms fade at every cut, and --max-pause tightens long pauses.
  • Never cuts speech Whisper skipped: a voice-activity check flags speech that has no words, and unsaid leaves it alone.
  • Frame-accurate sync: cut points snap to the frame grid, so audio and video stay in sync however many cuts there are.
  • Offline after the first run: the model loads from disk, with no network check.

Tested on real speech

Two unscripted English interviews (CC BY, from Wikimedia Commons), default settings, on a laptop CPU:

  • 4:20 press Q&A: transcribed in 85 s, 23 fillers cut, 4:20.3 → 4:03.2.
  • 3:55 interview: transcribed in 62 s, 15 fillers cut, 3:54.9 → 3:41.8.

The cut files were transcribed again and compared with the words unsaid meant to keep. They matched at 98.6% and 99.2%, with no differences near a cut.

Known limitations

  • Output is always re-encoded (H.264 + AAC).
  • Whisper can still mishear a word or invent one. Delete invented words in the script.
  • The filler prompt is English. Other languages are transcribed, but Whisper may clean up their fillers.

Coming next: a browser editor (unsaid edit, #1) and an agent skill so Claude Code, Codex or Cursor can make the edit (#2).