Snappie
This Python script creates a GUI-based video trimming tool using Tkinter, OpenCV, and MoviePy
Install / Use
/learn @MainakVerse/SnappieREADME
🎬 SNAPPIE: Smart Video Trimmer
🧩 Overview
Smart Video Trimmer is a desktop GUI tool built with Tkinter, OpenCV, and MoviePy that allows you to:
- Load and preview any video file
- Set start and end frames interactively
- Play, pause, and stop video playback
- Preview selected trim segment
- Export the trimmed clip to HD (720×1080)
- Automatically log all trims in a CSV file
Perfect for editors, data scientists, and AI researchers handling video datasets.
🛠️ Features
- 🎥 Frame-accurate trimming
- 🕹️ Full playback controls (Play / Pause / Stop)
- 🪄 In-app preview before saving
- 💾 Automatic trim log (
logs/output.csv) - 🧱 Modular, object-oriented architecture
- 📦 Easily packaged into
.exeusing PyInstaller
⚙️ Installation
git clone https://github.com/MainakVerse/Snappie.git
cd Snappie
pip install -r requirements.txt
🚀 Usage
🚀 Usage
or build an .exe (Windows):
pyinstaller --onefile --noconsole --name "Snappie" main.py
📂 Folder Structure
video_trimmer/
├── main.py
├── gui.py
├── trimmer.py
├── utils.py
├── requirements.txt
├── logs/
│ └── output.csv
└── README.md
🧰 Requirements
opencv-python>=4.9.0
Pillow>=10.0.0
moviepy>=1.0.3
tkintertable>=1.3.3
numpy>=1.26.0
imageio[ffmpeg]>=2.34.0
Install all dependencies
pip install -r requirements.txt
🌟 Contributing
Pull requests are welcome! If you’d like to enhance features (e.g., thumbnails, filters, FFmpeg optimizations), please open an issue first to discuss your ideas.
Made with ❤️ by Mainak
Related Skills
docs-writer
98.6k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
329.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
2.8kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
be
Assume the personality of the Persona described in any of the document available in the @~/.ai/personas directory.
