The proposal stays visible
Proposed in/out points, landed edges, drift, and the rule that moved each boundary remain side by side. Manual edits update the audit trail instead of erasing it.
ClipJam turns long-form YouTube video into reviewable social clips and a stitched compilation. Gemini proposes the moment. Deterministic code decides where the blade lands. A human approves before anything renders.
Private repository · source access available on request
cut points off a word edge
measured cut error
no-network verification suite
player range enforcement
01 / THE PREMISE
The model is good at judging which moment matters. It is not allowed to guess timing, arithmetic, deduplication, encoding, or whether the finished file is technically sound.
ClipJam scopes probabilistic judgement to the one place it earns its keep—and surrounds it with deterministic gates that can be inspected, repeated, and measured.
02 / THE WORKBENCH
The review page is not a dashboard painted over model output. It is an audit surface for the exact place a proposed moment became a real cut.
Replay the proposed range, then inspect where deterministic snapping landed.
Added by hand in manual mode.
Keep the breath before the first sentence.
03 / THE PIPELINE
Each stage reads a file and writes the next one. Stop anywhere. Inspect everything. Hand-edit an artifact and resume.
Scan transcripts cheaply, then spend video tokens only on the moments that survive. Or paste timestamps manually with no API key at all.
Snap every proposed edge to a sentence, silence, or word boundary inside a strict drift budget. The model never chooses the final frame.
Approve, reject, nudge, retitle, annotate, and order clips in a local cutting room where every edit writes straight to clips.json.
Cut real media, normalize geometry, burn captions, stitch the compilation, then verify duration, first-frame luma, and A/V continuity.
sources.jsoncandidates.jsonclips.jsonclips/*.mp4compilation.mp404 / THE DIFFERENCE
Proposed in/out points, landed edges, drift, and the rule that moved each boundary remain side by side. Manual edits update the audit trail instead of erasing it.
There is no browser session to drift and no save button to forget. Every mutation is a read-modify-write of clips.json under a lock.
A cut is not done because it looks plausible. ClipJam checks its duration, geometry, first frame, audio/video drift, and frame continuity.
Python, FastAPI, JSON, yt-dlp, and ffmpeg. No account, database, cloud renderer, frontend build pipeline, or opaque project file.
05 / THE OUTPUT
ClipJam cuts source media with ffmpeg, normalizes every clip before concatenation, and can produce vertical 9:16 output with captions burned from the same word onsets that informed the boundary.
uv run clipjam cutuv run clipjam renderClipJam is a working local tool and an argument for a particular kind of AI product: agents propose, deterministic gates dispose, and the human can see the seam.