Skip to content

About

Cut long videos into short clips for TikTok, Shorts and Reels with AI subtitles, on your own PC

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

ClipCutter

Cut long videos into short clips for TikTok, Shorts and Reels — with AI subtitles, on your own PC.

Installation • Usage • What it does • Contributing • Русский

CI Python License

ClipCutter after cutting a video into three clips

ClipCutter finds the interesting moments in a video, cuts them into vertical clips and burns in word-by-word subtitles. Speech recognition and the AI model run locally, so nothing is uploaded anywhere.

Installation

You need Python 3.10+ and ffmpeg. An NVIDIA graphics card is optional but makes speech recognition much faster.

Windows

  1. Install Python from python.org and tick "Add python.exe to PATH".
  2. Download ClipCutter and unpack it.
  3. Run install.bat — it installs ffmpeg (via winget) and the Python packages.
  4. Run run.bat — the app opens in its own window.

Linux / macOS

sudo apt install ffmpeg        # or: brew install ffmpeg
git clone https://github.com/versex-arch/ClipCutter.git
cd ClipCutter
./install.sh
./run.sh

AI model (optional, free)

Whole-topic clips, clip titles and subtitle correction need a language model. Install Ollama, then in ClipCutter open AI and speech recognition and click Download qwen2.5:7b (about 4.7 GB). ClipCutter starts Ollama by itself when needed. A Claude API key (paid) works too.

The first speech recognition run downloads the Whisper model (about 1.6 GB).

Usage

Cut the best moments

Paste a link (or drop a file), choose Best moments, set the number and length of clips and press the yellow button. Clips land in clips/<video name>/ together with report.json and transcript.txt.

Cut whole topics

Whole topics lets the AI read the transcript and cut each clip from the start of a conversation to its end, so a thought is never cut off halfway. Turn on Title on top to get an AI headline on each clip.

Several videos at once

Paste several links, one per line — they are processed in turn.

Subtitles only

Subtitles only doesn't cut anything: it burns subtitles into the whole video and can translate them.

Command line

python clipcutter.py "LINK" -n 5 -l 45 --vertical --subs --style tiktok --ai-subs
python clipcutter.py "LINK" --smart --max-len 180 --vertical --subs --title
python clipcutter.py "LINK" --split -l 30 --vertical
python clipcutter.py "video.mp4" --subs-only --style karaoke --translate английский
python clipcutter.py "LINK" --sb sponsor,selfpromo,intro --ui-lang en
usage: clipcutter.py [-h] [-n CLIPS] [-l LENGTH] [--smart] [--max-len MAX_LEN] [--subs-only]
                     [--style STYLE] [--ai-subs] [--translate TRANSLATE] [--no-sponsorblock]
                     [--sb SB] [--split] [--vertical] [--subs] [--llm {auto,ollama,claude,none}]
                     [--ollama-model OLLAMA_MODEL] [--no-whisper] [--whisper-model WHISPER_MODEL]
                     [--lang LANG] [--nvenc] [-o OUT] [--whisper-device {auto,cuda,cpu}] [--title]
                     [--ui-lang {ru,en}]
                     source

What it does

Feature Details
🎯 Best moments Loudness peaks, scene changes, YouTube's "most replayed" graph and the meaning of the speech
🧠 Whole topics The AI picks where a conversation starts and ends; the clip length follows the topic
✂️ Split evenly The whole video in N-second pieces, no analysis
💬 AI subtitles Whisper with per-word timing; the spoken word is highlighted; optional AI correction and translation; .srt next to each clip
🎨 8 subtitle styles Live preview drawn by the same engine as the final video; font, size, colors, outline, position, box
🏷️ Title on top A short AI headline on every clip
🚫 No ads Sponsor segments are skipped using SponsorBlock
🔗 Any link YouTube and 1000+ sites via yt-dlp, direct .mp4 links, videos found inside a page
📱 Vertical 9:16 Blurred background fill for TikTok, Shorts and Reels
🌐 Two languages Russian and English interface

Subtitle styles

Disclaimer

ClipCutter is a tool for cutting your own videos or videos you have permission
to use. Re-uploading someone else's content without permission may break
copyright law and platform rules. You are responsible for how you use it.
The authors are not liable for any misuse.

License

MIT © versex-arch

See LICENSE and SECURITY.md.

About

Cut long videos into short clips for TikTok, Shorts and Reels with AI subtitles, on your own PC

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages