transcript_words() strips each word, so the remapped transcript handed to
the caption generators lost the leading-space convention the block
collector uses as its word-boundary signal — every recut/reframe with
re-applied captions burned the whole line glued together
("...creesycambiatodo"). Latent since the clip-editor merge; surfaced by
the first caption burn over a recut with real words.
- Add METADATA_SCRUB + '-movflags +faststart' to the cut and concat
commands: a fast-path recut IS the delivered file, and without a fronted
moov atom the browser preview hangs (same invariant as every other
final-artifact producer in the repo).
- Unique per-invocation temp names (uuid token) for part/list files and a
uuid suffix on the output name: two concurrent recuts in one job dir no
longer overwrite or delete each other's intermediates, and same-second
saves of one clip no longer collide on the output filename.
- 1800s timeout on ffmpeg runs (matching apply_watermark) so a hung render
can't pin an executor thread and its quota reservation until restart.
Every clip now exposes its recipe (which source segments it was cut from)
via GET /api/clip/{job}/{i}/edl, and POST /api/clip/rerender re-renders it
from an edited segment list: fast path recuts from the already-reframed
canonical file, source path re-reframes from the retained source
(--keep-original now passed for URL jobs). Captions/subtitles/transcript
remap piecewise through recut.virtual_transcript for multi-segment clips.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>