Skip to content

EfficientTools/SilenceTrimmer

Repository files navigation

SilenceTrimmer

Removes "uh" and hesitations in your videos

Note

Mini macOS SwiftUI app that lets you select a video, transcribe its audio locally to detect and list filler words like “uh”, “um”, etc., using Whisper (OpenAI) locally.


Prerequisites

  1. Install Python and local Whisper (small model):
brew install ffmpeg
pip install --upgrade pip
pip install git+https://github.com/openai/whisper.git

Make sure your Terminal’s Python environment is accessible by your app or adjust the script to use absolute paths if needed.

  1. Open the Xcode project SilenceTrimmer.xcodeproj or .xcworkspace
  2. Add the whisper_local.sh script to the app bundle (Resources) - Note: Only add it to the main SilenceTrimmer target, not the test targets
  3. Build and run the app on macOS 12+

How it works

  • Select a video (mp4, mov)
  • Click “Start Processing”
  • The app converts the video into WAV audio
  • Transcribes locally with Whisper
  • Displays occurrences of detected words like “uh”, “um”

Author

Pierre-Henry Soria

Made with ❤️ by Pierre-Henry Soria. A super passionate & enthusiastic Problem-Solver Engineer. Also, a true cheese 🧀, ristretto ☕️ and dark chocolate lover! 😋

@phenrysay pH-7 YouTube Video BlueSky

License

This Silence Trimmer is licensed under the MIT License.