Commit graph yavsc/doc/video-edition.md
Author SHA1 Message Date
e9ffbc78be
Apply retention to refined replay originals
RetentionDays (0-365, default 7) sets OriginalsExpireAt from the end of
the live, or from publication with 0 days. The replay worker purges the
segments, source and draft of published emissions and deletes emissions
never published by the deadline, marking their flow deleted. Owners can
purge published originals early with DELETE podcasts/{id}/originals.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-16 14:36:45 +00:00
46fc937443
Add private replay draft for refined podcasts
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>
2026-11-16 14:22:14 +00:00
d29124c527
Add frame-accurate server-side replay editing prototype
- 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>
2026-11-16 14:01:24 +00:00
762fc35b9c
Preview replay frames while dragging the desktop slider
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-16 13:39:34 +00:00
532ede6830
Add video edition design document
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-16 13:33:34 +00:00