Emissions opted into RefineReplay (ignored for OBS) get an owner-only
source.mp4 draft after the live or an interruption. The owner saves
revisioned marks and removed ranges, streams the source and queues an
idempotent publication; the worker renders or copies it within quota and
atomically replaces replay.mp4. Originals and drafts stay private until
publication, and the web catalogue shows "Replay en preparation".
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- ReplayEditPlan turns removed ranges into kept ranges (merge, clamp,
reject empty, out-of-range, total or excessive removals).
- FfmpegPodcastReplayEditor renders kept ranges with one accurate-seek
FFmpeg input per range, concat and H.264/AAC re-encoding (faststart).
- Share the FFmpeg runner (FfmpegProcess) with the replay remuxer.
- Tests check exact kept frames, audio/video durations, faststart and
quota, with and without a start offset.
- Document the server prototype results in doc/video-edition.md.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>