feat: export panel and Render menu, playback options, videos library (owner review 1 phase 5) (#27)
CI / Build and test (push) Successful in 9m41s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m49s
CI / PostgreSQL 16 integration (push) Successful in 8m51s
CI / PostgreSQL 17 integration (push) Successful in 9m48s
CI / Docker image (push) Successful in 54s
Release / Server image (push) Successful in 1m39s

Owner review 1 R3, R8, R9. A grouped Export step and Render menu; encoding, playback (reverse, boomerang, loops, fades, hold) and still frames; one videos library on the desktop and the server with a verified trash and copies to a videos folder.

Closes #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #27.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-05 09:18:40 +01:00
1 parent 188b2c2e55
commit 728ffa35cb
729 files changed
+26954 -1652

No files matched your search

+76
View File
@@ -5,6 +5,82 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
### Added
- **Render menu** (owner review 1, R3, phase 5): the editor header's *Render ▾* lists the recommended preset, the
batch presets and up to three recent ones of this sequence, then *Other presets ›* grouped as Video, Social,
Intermediate, Image sequence and Web, each with a size · codec · fps line and the current one checked; below them
*Render batch (n)*, *Add to queue*, *Save frame ›* and *Videos*. The project ▾ menu has *Save project file*.
- **Export panel** (R3): the preset cards become a table of 28 px rows grouped by kind (batch check box, name with
*Recommended*, size, codec, fps, estimated size and time; groups fold). The Output panel is four groups that fold,
each with a one-line summary while closed: *Output*, *Encoding*, *Playback* and *File* (with *Restore settings*);
Chronos remembers which are open. A fixed footer gives the result line (file name · size · time · duration ·
frames), *Render now*, *Add to queue*, *Batch (n)*, and *Videos (n)*, *Reveal*, *Send again*.
- **Advanced encoding** (R8): *Rate control* (Variable, Constant, Quality), *Bit rate* or *Quality*, *Keyframes* in
seconds (kept when the frame rate changes), *B-frames* and *Profile*, each offered only where the codec and depth
allow it and otherwise disabled with the reason. *Resolution* offers Preset, Source, 720p, 1080p, 1440p, 4K UHD,
DCI 4K, 5K, 6K, 8K and Custom; the chosen proportions are fitted in the box (4K at 9:16 renders 2160×3840).
- **Playback** (R8): *Direction* (Forward, Reverse, Boomerang), *Loops* (1–10), *Fade in*, *Fade out* (to and from
black) and *Hold end*. Fades longer than half the video are shortened with a warning; a boomerang with star trails
plays forward. The estimate and the footer count every loop and the hold. Batch presets inherit the playback.
- **Save frame** (R8): *Render ▾* › *Save frame ›* saves the frame under the preview's cursor as PNG, JPEG or TIFF
16-bit at the output size with every correction and look (no stacking), named `<file name> - 0413.png`. It runs
where the sequence's renders run; in a workspace project with its originals here it is saved into the project's
exports and sent home with the renders, with proxies only it is saved at the project's home.
- **Videos** (R9): a new rail section (Ctrl+4) with every render of this PC, the signed-in server and the
workspace's renders not sent yet, in one list: search, kind, codec, year, source and order, cards or list
(remembered), *Refresh*, and the sequence chip whose × clears that filter only. *Play* in a pane on the right
(*Cannot play here* when Windows lacks the decoder; a server's video plays once copied here), *Show in folder*,
*Copy to folder* (or *Download* for the server's), *Copy on server*, *Delete…*, *Open in Edit* and *Send*. Settings ›
Archive › *Videos folder* (default `Videos\Chronos`) receives the copies, never inside the archive or the
workspace.
- Copies are a *Copy videos* job on the desktop and the server: each file is checked by SHA-256 before it takes its
name, " (2)" on a name collision; the render is never touched and Chronos never deletes a copy.
- *Delete…* of a video is a dry run first (what goes, its bytes, what stays and why, "copies stay"), then a move into
the archive's trash. Archive › Maintenance › *Trash…* and the admin panel's trash list *Videos* entries; *Restore*
checks the file's hash and brings the render back with the same id.
- Admin panel › **Videos**, after Library: the same list, filters and selection; *Play* in the browser (MP4, M4V,
MOV, WebM, stills, GIF, APNG), *Download*, *Copy to folder* and *Delete…*; a sequence's renders show their kind and
hash and link to *All videos*. Settings › *Videos folder* (read-only when `CHRONOS_VIDEOS_PATH` sets it).
- Server: `/api/v1/videos` (list, get, delete with a dry run and fingerprint, copy), the `videos` capability,
`sha256` and `kind` on render DTOs, Range requests on render files, `CHRONOS_VIDEOS_PATH`, and the optional
`/videos` volume in the compose file and the Unraid template (*Videos*, *Videos path*).
- Every new render records its SHA-256 and kind (migration 0010, with the table of copies); a render Sync fetches is
checked against the server's hash (fetched again once, then the job fails without filing a damaged file).
- Known limitations: GIF and APNG show their first frame in the desktop player; HEVC plays only where Windows has
the HEVC extension; *Preview 10 s* plays forward without fades; renders made before this release are hashed the
first time they are copied, deleted or restored.
### Changed
- The editor header's button reads *Render* whatever the preset, so its width no longer changes; the preset, size,
codec, fps and estimates are in its tooltip.
- The render history line of the Export step is replaced by *Videos (n)*, which opens the Videos section on the
sequence. The Export footer keeps *Save project file* for a library sequence; a workspace project has it in its
project ▾ menu.
- Settings an encoder ignores (rate control, quality or bit rate, keyframes, B-frames) are listed as render warnings.
Encoders never overwrite a file: a render whose name another program took fails instead.
- **Upgrade:** migration 0010 adds nullable columns and a table; nothing is backfilled. The rail's shortcuts shift:
Videos is Ctrl+4, Archive, Jobs and Server move to Ctrl+5, Ctrl+6 and Ctrl+7 (Settings stays Ctrl+,). A project
that uses playback is saved as settings format 3, which Chronos 0.1.0-rc.12 and earlier open read-only (a
`.chronos` file of it too); every other project keeps its format, text and hash. Servers and nodes of this release
announce format 3; render nodes of an earlier release skip playback and *Save frame* jobs, which go to a node of
this release or the server's managed fallback, and against an earlier server this Chronos holds such projects
(*Sync*, *Send and render*, *Save frame*) and lists only this PC's videos. Server: set `CHRONOS_VIDEOS_PATH` (Docker
`/videos`, mapped to a host folder outside the archive) to turn on *Copy to folder*; unset, copying is off. The
compose file now maps `./videos` there; the Unraid template's *Videos* and *Videos path* are optional and empty.
Deleted videos live in `trash/videos/`, which an earlier build's *Empty…* leaves alone.
### Fixed
- Export and Videos, found by the phase's review before any release had them: a video deleted to the trash or restored
across drives while another program holds it open is no longer lost or half-removed (the original stays whole and is
removed at the next start); a restore never lands on a name a render is writing, and a render never overwrites a
file; a video changed since it was recorded can still be restored; a playback-free export never goes to a node that
cannot read its settings; a saved frame stays a still on an older server; star trails grow again in each loop;
encoder settings Windows ignored are listed as warnings; the Videos list fits beside the player, a downloaded server
video plays from its copy, disabled actions say why, and the server panel offers no download for image sequences or
missing files.
## [0.1.0-rc.12] — 2026-11-05
### Added
- **Visual crop** (owner review 1, R5, phase 4): on the Camera step the crop mask is on and edits the crop on the
preview: drag the box to move it, drag one of its eight handles to resize it (Alt about the centre), always locked to