A free, local tool. Paste a YouTube link and get captioned vertical clips.
- Viral mode: Gemini picks the best moments.
- Split mode: the whole video is cut into Part 1, Part 2, ...
- You set the clip length range (for example 30-60 or 90-170 seconds).
- Podcast-aware layout: crops on one speaker, shows the full frame on side-by-side shots.
- Runs on CPU. No paid services.
Windows only for now.
Downloading and re-uploading other people's videos can break YouTube's terms and copyright law.
-
Install Python 3.10 or newer from python.org. Tick "Add Python to PATH". (Developed and tested on Python 3.13.)
-
Install ffmpeg. In a terminal run: winget install Gyan.FFmpeg Then open a new terminal window.
-
Get a free Gemini API key at aistudio.google.com/apikey.
-
Save the key once. In a terminal run:
setx GEMINI_API_KEY "your-key-here"Then close that terminal. Split mode works without a key. Viral mode needs it.
-
Double-click
setup.bat. It installs everything and downloads a small face-detection model.
Double-click start_clipper.bat. Your browser opens at http://localhost:5000. Refresh 2-5 times if it shows any error.
Close the black window to stop the tool.
app.py: Flask server and job handlingpipeline.py: runs the full flow from download to clipsdownloader.py,transcribe.py,sentences.py: get the video and build sentencessplitter.py,picker.py: decide the clip ranges (Split and Viral modes)captions.py,layout.py,render.py: captions, speaker layout and final videotemplates/,static/: browser UI
- Transcription is the slow part: roughly 1 minute per 5 to 6 minutes of video on a normal CPU.
- Results are saved in the
outputfolder. The page lists previous results, and you can free disk space by deleting a video's downloaded source (clips are kept). - If downloads stop working, update the downloader:
venv\Scripts\pip install -U yt-dlp - Privacy: in Viral mode the transcript text is sent to Google's Gemini API. Do not use confidential videos.
- Face detection can miss a face when someone turns away, so a layout can occasionally switch late.