The auto-hook was burned into the canonical clip in place, so editing the hook stacked a second overlay on top of the first. Hooks now follow the exact derivation pattern captions use: - main.py: auto_hook_clip writes hooked_<ts>_<clean>.mp4 next to the clean canonical instead of mutating it; captions burn on top of the hooked file (subtitled_<ts>_hooked_<ts>_<clean>). Watermark moves BEFORE the hook so the branding lives in the canonical and survives hook replacement. - app.py: _strip_burned_hook walks hooked_/legacy hook_ prefixes back like _strip_burned_captions; /api/hook strips captions AND the old hook before burning, so a new hook always REPLACES the previous one. New remove flag strips the hook entirely (captions re-applied, no metering). Burned hook recorded/cleared in clip metadata (auto_hook key) and returned as burned_hook. _canonical_clip_file resolves hooked_*/hook_* derivations. - cloud/videos.py: archive the hooked_ intermediate of a captioned hook so restored projects keep the walk-back chain editable. - ResultCard: stripBurns knows hooked_<ts>_ (the Remotion preview now composes over the truly clean clip — no more stacked preview), burned hook tracked in state, remove handler wired to the modal. - HookModal: warning now says replace, plus a 'remove hook from clip' action when one is burned. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| contexts | ||
| lib | ||
| remotion | ||
| App.css | ||
| App.jsx | ||
| config.js | ||
| index.css | ||
| landing.css | ||
| Landing.jsx | ||
| Legal.jsx | ||
| main.jsx | ||
| tokens.css | ||