
Free Shorts Clip Map — Transcript to 10 Clips
What you send: a timed transcript of a long video or podcast (SRT, WebVTT, JSON, or plain text) and the platform you cut for. What you get back: a ranked map of the 10 best clips, each with start and end time, a score, the hook line, why it ranked, and what to double-check, plus a timeline of where they sit. Scores come from readable rules on the words and times only; it does not see your video and does not predict views. No network calls. Python 3.8+ only. #マーケティング
The problem
A 40-minute recording holds a handful of clips worth posting, and finding them means scrubbing the whole thing. Most picked-by-feel clips fail the same way: they open mid-thought ("and then he said..."), they start with a greeting, or they stop before the point lands. Clip Map checks those things on every possible span at once and shows you the best ten, so you cut once instead of scrubbing.
How it works
- Reads the transcript into timed cues (the format is detected, or set with
--input-format). - Decides where a clip may start and end: on a sentence end, or on a pause when the transcript has no punctuation, or on any cue edge as a last resort.
- Builds every span of whole cues that fits the length bounds.
- Scores each span from 0 to 100 with the weighted rules below.
- Picks the highest scores first, skipping any clip that overlaps one already picked, until it has the number you asked for.
How a clip is scored
Each part is 0 to 1; the weights below are the defaults and the score is shown from 0 to 100.
| Part | Default weight | What it measures |
|---|---|---|
hook |
0.35 | the first sentence: a question, a number, a tension word (why, never, mistake), speaking to the viewer, and fitting the 3-second opening window |
context |
0.15 | the clip stands alone: no connective start (and, so, but), no pronoun start (he, it), no "as I said earlier" |
length |
0.15 | how close the length is to the ideal length |
payoff |
0.10 | the last sentence closes on a takeaway or a number and does not end on a question |
pace |
0.05 | little dead air between cues (skipped when times are estimated) |
filler |
0.10 | few "um", "uh", "you know" |
terms |
0.10 | your --term words appear (counted only when you pass terms) |
A weak connective start also cuts the hook score to 40%. Parts that do not apply are dropped and the rest are re-balanced, so the score is always out of 100.
Usage
# the 10 best clips for Shorts length (the default)
python3 scripts/clip_map.py examples/podcast_en.srt
# the 3 best for Reels length, favouring your own topic words
python3 scripts/clip_map.py examples/talk_en.vtt --platform reels --top 3 --term captions
# your own length bounds, a settings file, CSV for a spreadsheet
python3 scripts/clip_map.py notes.txt --min 15 --max 40 --ideal 25 --config my_settings.json --format csv
# describe a transcript before you rank it
python3 scripts/clip_map.py examples/podcast_en.srt --check
Options
| Option | What it does |
|---|---|
--platform tiktok|reels|shorts |
length preset (default shorts); see --list-platforms |
--top N |
how many clips to pick (default 10) |
--min --max --ideal |
override the length bounds in seconds |
--term WORD |
favour clips that contain this topic word; repeat it or use commas |
--config FILE |
JSON settings file: weights, word lists, thresholds |
--input-format |
auto (default), srt, vtt, json, timed, plain |
--format |
text (default), md, json, csv |
--explain |
print the part scores under each clip |
--no-map |
leave out the timeline map |
--check |
describe the transcript and stop |
--list-platforms |
print the length presets and stop |
Limits (read these)
- It does not see or hear your video. It reads words and times only. A clip with a great line over a dull picture scores the same as one with a great picture.
- The score is a rule of thumb, not a forecast. It checks the things that commonly make an opening land or fail. It cannot tell you what will get views.
- Times in plain text are estimates. They come from reading speed, so cut points can be a few seconds off. Use an SRT or WebVTT file for exact times.
- Sentence breaks need punctuation. Auto-captions without punctuation fall back to pauses, then to cue edges, and clips may start mid-sentence.
- The word lists cover English and Japanese. Another language still gets length, pace, and your own
--termwords; add its words in the settings file for the hook and context rules. - The length presets are starting points, not platform rules. Change them to match what you post.
- Claim words are flagged, not judged. The tool lists them so a person can check the evidence.
- It cuts nothing. It gives you times; you cut in your editor.


