feat: phase 5 groundwork (playback format 3, videos contracts, migration 0010, strings)
Lays down every contract the later parcels of owner review 1 phase 5 build on, so they compile against shared types without touching each other's files. - Settings format 3: export.playback (direction, loops, fades, hold), omitted at its default and member by member; RequiredFormat is 3 only while used. - OutputProgram public API with a forward-only body; still-frame job parameters (StillFrame, StillPhoto) routed to format-3 nodes only. - Render.Sha256/Kind, RenderCopy, RenderKind; JobKind.VideoCopy = 24. - Migration 0010 (sqlite, postgres): renders.sha256/kind, ix_renders_created, render_copies without a foreign key. - Videos protocol DTOs, client calls, ServerCapabilities.Videos (declared, not announced yet), ServerSettingsDto.VideosPath. - IVideoLibrary with a NotImplemented stub registered on the server; TrashKind.Videos, VideoTrashNames, VideoErrors. - en and it strings for the whole phase, five icons, decisions 1-22 and the open-question defaults; tests that used format 3 as "newer" now use 4. Refs #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
86aa07c1d7
commit
d472dfdec1
67 files changed
+2233
-244
No files matched your search
@@ -162,6 +162,14 @@ I["Mirror"] = ("M8 1.5 V3 M8 5.5 V7.5 M8 10 V12 M8 14 V14.5 M6 4 V12.5 H1.5 Z",
|
||||
I["Flip"] = ("M1.5 8 H3 M5.5 8 H7.5 M10 8 H12 M14 8 H14.5 M4 6 H12.5 V1.5 Z", "M4 10 L12.5 14.5 V10 Z")
|
||||
I["Straighten"] = ("M1.5 12.5 H14.5 M2.5 12.5 L13 6 "+arc(2.5,12.5,7,58.2,90), None)
|
||||
|
||||
# Owner review 1, phase 5: the Videos section (a clip in front of the stack of the others), Copy to folder, Save frame
|
||||
# (one frame of a filmstrip held), the playback fades (a ramp from black) and the boomerang direction (there and back).
|
||||
I["Videos"] = (rr(1.5,4,11,10,1.5)+" M4.5 1.5 H13 A1.5 1.5 0 0 1 14.5 3 V11.5", "M5.5 6.5 L9.5 9 L5.5 11.5 Z")
|
||||
I["CopyToFolder"] = (I["Folder"][0]+" M8 6.5 V11 M6 9 L8 11 L10 9", None)
|
||||
I["StillFrame"] = (I["Filmstrip"][0], rr(6,5.5,4,5,0.5))
|
||||
I["Fade"] = (rr(1.5,2.5,13,11,1.5), "M3 12 L13 4 V12 Z")
|
||||
I["Boomerang"] = ("M2 5 H11 A3 3 0 0 1 11 11 H3 M5 8.8 L2.8 11 L5 13.2", None)
|
||||
|
||||
# Glyphs that point along the reading direction (arrows, chevrons, start-aligned text lines): mirrored in RTL.
|
||||
# Everything else (clocks, media controls, the ▶ rendered status, symmetric shapes) never mirrors.
|
||||
DIRECTIONAL = {"Back", "Forward", "ChevronLeft", "ChevronRight", "ExternalLink", "Jobs", "Logs", "ViewList"}
|
||||
@@ -206,7 +214,8 @@ WEB = {"dashboard": "Library", "library": "Image", "users": "Users", "archive":
|
||||
"logs": "Logs", "menu": "Menu", "power": "Power", "moon": "Moon", "refresh": "Refresh", "close": "Close", "plus": "Plus",
|
||||
"copy": "Copy", "search": "Search", "grid": "ViewGrid", "list": "ViewList", "trash": "Delete", "upload": "Upload",
|
||||
"download": "Download", "back": "Back", "previous": "ChevronLeft", "next": "ChevronRight", "star": "Star",
|
||||
"starFilled": "StarFilled", "hero": "Hero", "image": "Image", "warning": "Warning"}
|
||||
"starFilled": "StarFilled", "hero": "Hero", "image": "Image", "warning": "Warning", "videos": "Videos",
|
||||
"play": "Play", "copyToFolder": "CopyToFolder", "stillFrame": "StillFrame", "fade": "Fade", "boomerang": "Boomerang"}
|
||||
STROKE = 'fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"'
|
||||
with write(os.path.join(here, "..", "..", "src", "Chronos.Server", "Admin", "web", "icons.js")) as f:
|
||||
f.write("// Generated by branding/ui-icons/icons.py (same 16-px set as the desktop apps). Do not edit by hand.\n")
|
||||
|
||||
+227
-204
@@ -1,4 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="770" style="background:#1f1f23">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="840" style="background:#1f1f23">
|
||||
<g transform="translate(37,14) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M8 7 V11 M8 4.8 V5.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
@@ -20,420 +20,443 @@
|
||||
</g>
|
||||
<text x="409" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Back</text>
|
||||
<g transform="translate(487,14) scale(1.5)">
|
||||
<path d="M2 5 H11 A3 3 0 0 1 11 11 H3 M5 8.8 L2.8 11 L5 13.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Boomerang</text>
|
||||
<g transform="translate(577,14) scale(1.5)">
|
||||
<path d="M3.0 3 H13.0 A1.5 1.5 0 0 1 14.5 4.5 V13.0 A1.5 1.5 0 0 1 13.0 14.5 H3.0 A1.5 1.5 0 0 1 1.5 13.0 V4.5 A1.5 1.5 0 0 1 3.0 3 Z M1.5 6.5 H14.5 M5 1.5 V4 M11 1.5 V4" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Calendar</text>
|
||||
<g transform="translate(577,14) scale(1.5)">
|
||||
<text x="589" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Calendar</text>
|
||||
<g transform="translate(667,14) scale(1.5)">
|
||||
<path d="M1.5 5 A1 1 0 0 1 2.5 4 H4.5 L6 2.5 H10 L11.5 4 H13.5 A1 1 0 0 1 14.5 5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z M5.2 8.5 A2.8 2.8 0 1 0 10.8 8.5 A2.8 2.8 0 1 0 5.2 8.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Camera</text>
|
||||
<g transform="translate(667,14) scale(1.5)">
|
||||
<text x="679" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Camera</text>
|
||||
<g transform="translate(757,14) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M5.8 5.8 L10.2 10.2 M10.2 5.8 L5.8 10.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Cancel</text>
|
||||
<g transform="translate(757,14) scale(1.5)">
|
||||
<text x="769" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Cancel</text>
|
||||
<g transform="translate(847,14) scale(1.5)">
|
||||
<path d="M4.5 1.5 H10 L12.5 4 V13.5 A1 1 0 0 1 11.5 14.5 H4.5 A1 1 0 0 1 3.5 13.5 V2.5 A1 1 0 0 1 4.5 1.5 Z M6 3.5 V5.5 M8 3.5 V5.5 M10 4.5 V5.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Card</text>
|
||||
<g transform="translate(847,14) scale(1.5)">
|
||||
<text x="859" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Card</text>
|
||||
<g transform="translate(37,84) scale(1.5)">
|
||||
<path d="M2 2 V14 H14 M4.5 10.5 L7.5 7 L9.5 9 L13.5 4" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="66" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Chart</text>
|
||||
<g transform="translate(37,84) scale(1.5)">
|
||||
<text x="49" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Chart</text>
|
||||
<g transform="translate(127,84) scale(1.5)">
|
||||
<path d="M3 8.5 L6.5 12 L13 4.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Check</text>
|
||||
<g transform="translate(127,84) scale(1.5)">
|
||||
<text x="139" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Check</text>
|
||||
<g transform="translate(217,84) scale(1.5)">
|
||||
<path d="M4 6 L8 10 L12 6" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronDown</text>
|
||||
<g transform="translate(217,84) scale(1.5)">
|
||||
<text x="229" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronDown</text>
|
||||
<g transform="translate(307,84) scale(1.5)">
|
||||
<path d="M10 4 L6 8 L10 12" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronLeft</text>
|
||||
<g transform="translate(307,84) scale(1.5)">
|
||||
<text x="319" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronLeft</text>
|
||||
<g transform="translate(397,84) scale(1.5)">
|
||||
<path d="M6 4 L10 8 L6 12" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronRight</text>
|
||||
<g transform="translate(397,84) scale(1.5)">
|
||||
<text x="409" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronRight</text>
|
||||
<g transform="translate(487,84) scale(1.5)">
|
||||
<path d="M4 10 L8 6 L12 10" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronUp</text>
|
||||
<g transform="translate(487,84) scale(1.5)">
|
||||
<text x="499" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ChevronUp</text>
|
||||
<g transform="translate(577,84) scale(1.5)">
|
||||
<path d="M4.0 2.5 H12.0 A1.5 1.5 0 0 1 13.5 4.0 V13.0 A1.5 1.5 0 0 1 12.0 14.5 H4.0 A1.5 1.5 0 0 1 2.5 13.0 V4.0 A1.5 1.5 0 0 1 4.0 2.5 Z M6.3 1.5 H9.7 A0.8 0.8 0 0 1 10.5 2.3 V3.2 A0.8 0.8 0 0 1 9.7 4.0 H6.3 A0.8 0.8 0 0 1 5.5 3.2 V2.3 A0.8 0.8 0 0 1 6.3 1.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Clipboard</text>
|
||||
<g transform="translate(577,84) scale(1.5)">
|
||||
<text x="589" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Clipboard</text>
|
||||
<g transform="translate(667,84) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M8 4.5 V8 L10.5 9.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Clock</text>
|
||||
<g transform="translate(667,84) scale(1.5)">
|
||||
<text x="679" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Clock</text>
|
||||
<g transform="translate(757,84) scale(1.5)">
|
||||
<path d="M4 4 L12 12 M12 4 L4 12" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Close</text>
|
||||
<g transform="translate(757,84) scale(1.5)">
|
||||
<text x="769" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Close</text>
|
||||
<g transform="translate(847,84) scale(1.5)">
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M8 1 V15" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Compare</text>
|
||||
<g transform="translate(847,84) scale(1.5)">
|
||||
<text x="859" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Compare</text>
|
||||
<g transform="translate(37,154) scale(1.5)">
|
||||
<path d="M6.5 5 H13.0 A1.5 1.5 0 0 1 14.5 6.5 V13.0 A1.5 1.5 0 0 1 13.0 14.5 H6.5 A1.5 1.5 0 0 1 5 13.0 V6.5 A1.5 1.5 0 0 1 6.5 5 Z M11 5 V2.5 A1 1 0 0 0 10 1.5 H2.5 A1 1 0 0 0 1.5 2.5 V10 A1 1 0 0 0 2.5 11 H5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="136" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Copy</text>
|
||||
<g transform="translate(37,154) scale(1.5)">
|
||||
<text x="49" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Copy</text>
|
||||
<g transform="translate(127,154) scale(1.5)">
|
||||
<path d="M1.5 4 A1 1 0 0 1 2.5 3 H6 L7.5 4.5 H13.5 A1 1 0 0 1 14.5 5.5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z M8 6.5 V11 M6 9 L8 11 L10 9" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">CopyToFolder</text>
|
||||
<g transform="translate(217,154) scale(1.5)">
|
||||
<path d="M4 1.5 V12 H14.5 M1.5 4 H12 V14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">CropMask</text>
|
||||
<g transform="translate(127,154) scale(1.5)">
|
||||
<text x="229" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">CropMask</text>
|
||||
<g transform="translate(307,154) scale(1.5)">
|
||||
<path d="M4.5 4.5 L11.5 11.5 M11.5 4.5 L4.5 11.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Cross</text>
|
||||
<g transform="translate(217,154) scale(1.5)">
|
||||
<text x="319" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Cross</text>
|
||||
<g transform="translate(397,154) scale(1.5)">
|
||||
<path d="M2.5 3.8 C2.5 2.5 13.5 2.5 13.5 3.8 C13.5 5.1 2.5 5.1 2.5 3.8 Z M2.5 3.8 V12.2 C2.5 13.5 13.5 13.5 13.5 12.2 V3.8 M2.5 8 C2.5 9.3 13.5 9.3 13.5 8" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Database</text>
|
||||
<g transform="translate(307,154) scale(1.5)">
|
||||
<text x="409" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Database</text>
|
||||
<g transform="translate(487,154) scale(1.5)">
|
||||
<path d="M2.5 4 H13.5 M6 4 V2.5 H10 V4 M3.8 4 L4.6 14 H11.4 L12.2 4 M6.6 6.8 V11.2 M9.4 6.8 V11.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Delete</text>
|
||||
<g transform="translate(397,154) scale(1.5)">
|
||||
<text x="499" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Delete</text>
|
||||
<g transform="translate(577,154) scale(1.5)">
|
||||
<path d="M4.5 8 A3.5 3.5 0 1 0 11.5 8 A3.5 3.5 0 1 0 4.5 8 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="409" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Dot</text>
|
||||
<g transform="translate(487,154) scale(1.5)">
|
||||
<text x="589" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Dot</text>
|
||||
<g transform="translate(667,154) scale(1.5)">
|
||||
<path d="M8 2 V10 M4.5 6.5 L8 10 L11.5 6.5 M2.5 13.5 H13.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Download</text>
|
||||
<g transform="translate(577,154) scale(1.5)">
|
||||
<text x="679" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Download</text>
|
||||
<g transform="translate(757,154) scale(1.5)">
|
||||
<path d="M3.0 4.5 H13.0 A1.5 1.5 0 0 1 14.5 6.0 V10.0 A1.5 1.5 0 0 1 13.0 11.5 H3.0 A1.5 1.5 0 0 1 1.5 10.0 V6.0 A1.5 1.5 0 0 1 3.0 4.5 Z M4.5 8 H4.6 M7 8 H11.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Drive</text>
|
||||
<g transform="translate(667,154) scale(1.5)">
|
||||
<text x="769" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Drive</text>
|
||||
<g transform="translate(847,154) scale(1.5)">
|
||||
<path d="M6.5 5 H13.0 A1.5 1.5 0 0 1 14.5 6.5 V13.0 A1.5 1.5 0 0 1 13.0 14.5 H6.5 A1.5 1.5 0 0 1 5 13.0 V6.5 A1.5 1.5 0 0 1 6.5 5 Z M11 5 V2.5 A1 1 0 0 0 10 1.5 H2.5 A1 1 0 0 0 1.5 2.5 V10 A1 1 0 0 0 2.5 11 H5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Duplicate</text>
|
||||
<g transform="translate(757,154) scale(1.5)">
|
||||
<text x="859" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Duplicate</text>
|
||||
<g transform="translate(37,224) scale(1.5)">
|
||||
<path d="M8 2.8 L13 9.5 H3 Z" fill="#f2f3f5"/>
|
||||
<path d="M3 13 H13" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Eject</text>
|
||||
<g transform="translate(847,154) scale(1.5)">
|
||||
<text x="49" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Eject</text>
|
||||
<g transform="translate(127,224) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M5.8 5.8 L10.2 10.2 M10.2 5.8 L5.8 10.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="206" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ErrorCircle</text>
|
||||
<g transform="translate(37,224) scale(1.5)">
|
||||
<text x="139" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ErrorCircle</text>
|
||||
<g transform="translate(217,224) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M3.4 12.6 L12.6 3.4" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Exclude</text>
|
||||
<g transform="translate(127,224) scale(1.5)">
|
||||
<text x="229" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Exclude</text>
|
||||
<g transform="translate(307,224) scale(1.5)">
|
||||
<path d="M8 10 V1.8 M4.8 5 L8 1.8 L11.2 5 M5 7.5 H3 A1 1 0 0 0 2 8.5 V13.5 A1 1 0 0 0 3 14.5 H13 A1 1 0 0 0 14 13.5 V8.5 A1 1 0 0 0 13 7.5 H11" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Export</text>
|
||||
<g transform="translate(217,224) scale(1.5)">
|
||||
<text x="319" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Export</text>
|
||||
<g transform="translate(397,224) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M3.4 12.6 L12.6 3.4 M4.5 6 H7 M5.75 4.75 V7.25 M9 10 H11.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Exposure</text>
|
||||
<g transform="translate(307,224) scale(1.5)">
|
||||
<text x="409" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Exposure</text>
|
||||
<g transform="translate(487,224) scale(1.5)">
|
||||
<path d="M9.5 2 H14 V6.5 M14 2 L7.5 8.5 M12 9.5 V13 A1 1 0 0 1 11 14 H3 A1 1 0 0 1 2 13 V5 A1 1 0 0 1 3 4 H6.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ExternalLink</text>
|
||||
<g transform="translate(397,224) scale(1.5)">
|
||||
<text x="499" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ExternalLink</text>
|
||||
<g transform="translate(577,224) scale(1.5)">
|
||||
<path d="M1.5 8 C3.5 4 12.5 4 14.5 8 C12.5 12 3.5 12 1.5 8 Z M5.8 8 A2.2 2.2 0 1 0 10.2 8 A2.2 2.2 0 1 0 5.8 8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Eye</text>
|
||||
<g transform="translate(487,224) scale(1.5)">
|
||||
<text x="589" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Eye</text>
|
||||
<g transform="translate(667,224) scale(1.5)">
|
||||
<path d="M3 12 L13 4 V12 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Fade</text>
|
||||
<g transform="translate(757,224) scale(1.5)">
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M4.5 2.5 V13.5 M11.5 2.5 V13.5 M1.5 6 H4.5 M1.5 10 H4.5 M11.5 6 H14.5 M11.5 10 H14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Filmstrip</text>
|
||||
<g transform="translate(577,224) scale(1.5)">
|
||||
<text x="769" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Filmstrip</text>
|
||||
<g transform="translate(847,224) scale(1.5)">
|
||||
<path d="M1.5 2.5 H14.5 L9.5 8.5 V13.5 L6.5 12 V8.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Filter</text>
|
||||
<g transform="translate(667,224) scale(1.5)">
|
||||
<text x="859" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Filter</text>
|
||||
<g transform="translate(37,294) scale(1.5)">
|
||||
<path d="M4 10 L12.5 14.5 V10 Z" fill="#f2f3f5"/>
|
||||
<path d="M1.5 8 H3 M5.5 8 H7.5 M10 8 H12 M14 8 H14.5 M4 6 H12.5 V1.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Flip</text>
|
||||
<g transform="translate(757,224) scale(1.5)">
|
||||
<text x="49" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Flip</text>
|
||||
<g transform="translate(127,294) scale(1.5)">
|
||||
<path d="M1.5 4 A1 1 0 0 1 2.5 3 H6 L7.5 4.5 H13.5 A1 1 0 0 1 14.5 5.5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Folder</text>
|
||||
<g transform="translate(847,224) scale(1.5)">
|
||||
<text x="139" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Folder</text>
|
||||
<g transform="translate(217,294) scale(1.5)">
|
||||
<path d="M1.5 12.5 V4 A1 1 0 0 1 2.5 3 H6 L7.5 4.5 H12.5 V6.5 M1.5 12.5 L3.5 7 H14.5 L12.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="276" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">FolderOpen</text>
|
||||
<g transform="translate(37,294) scale(1.5)">
|
||||
<text x="229" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">FolderOpen</text>
|
||||
<g transform="translate(307,294) scale(1.5)">
|
||||
<path d="M3 8 H13 M9 4 L13 8 L9 12" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Forward</text>
|
||||
<g transform="translate(127,294) scale(1.5)">
|
||||
<text x="319" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Forward</text>
|
||||
<g transform="translate(397,294) scale(1.5)">
|
||||
<path d="M2 6 V2 H6 M10 2 H14 V6 M14 10 V14 H10 M6 14 H2 V10" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Fullscreen</text>
|
||||
<g transform="translate(217,294) scale(1.5)">
|
||||
<text x="409" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Fullscreen</text>
|
||||
<g transform="translate(487,294) scale(1.5)">
|
||||
<path d="M5.0 3.5 H11.0 A1.5 1.5 0 0 1 12.5 5.0 V11.0 A1.5 1.5 0 0 1 11.0 12.5 H5.0 A1.5 1.5 0 0 1 3.5 11.0 V5.0 A1.5 1.5 0 0 1 5.0 3.5 Z M6.5 6 H9.5 A0.5 0.5 0 0 1 10 6.5 V9.5 A0.5 0.5 0 0 1 9.5 10 H6.5 A0.5 0.5 0 0 1 6 9.5 V6.5 A0.5 0.5 0 0 1 6.5 6 Z M6 1.5 V3.5 M10 1.5 V3.5 M6 12.5 V14.5 M10 12.5 V14.5 M1.5 6 H3.5 M1.5 10 H3.5 M12.5 6 H14.5 M12.5 10 H14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Gpu</text>
|
||||
<g transform="translate(307,294) scale(1.5)">
|
||||
<text x="499" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Gpu</text>
|
||||
<g transform="translate(577,294) scale(1.5)">
|
||||
<path d="M5 4 A1 1 0 1 0 7 4 A1 1 0 1 0 5 4 ZM9 4 A1 1 0 1 0 11 4 A1 1 0 1 0 9 4 ZM5 8 A1 1 0 1 0 7 8 A1 1 0 1 0 5 8 ZM9 8 A1 1 0 1 0 11 8 A1 1 0 1 0 9 8 ZM5 12 A1 1 0 1 0 7 12 A1 1 0 1 0 5 12 ZM9 12 A1 1 0 1 0 11 12 A1 1 0 1 0 9 12 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="319" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Grip</text>
|
||||
<g transform="translate(397,294) scale(1.5)">
|
||||
<text x="589" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Grip</text>
|
||||
<g transform="translate(667,294) scale(1.5)">
|
||||
<path d="M8 4.5 A3.5 3.5 0 0 1 8 11.5 Z" fill="#f2f3f5"/>
|
||||
<path d="M4.5 8 A3.5 3.5 0 1 0 11.5 8 A3.5 3.5 0 1 0 4.5 8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">HalfDot</text>
|
||||
<g transform="translate(487,294) scale(1.5)">
|
||||
<text x="679" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">HalfDot</text>
|
||||
<g transform="translate(757,294) scale(1.5)">
|
||||
<path d="M8 4.8 L8.9 6.9 L11.1 7.1 L9.4 8.5 L9.9 10.7 L8 9.5 L6.1 10.7 L6.6 8.5 L4.9 7.1 L7.1 6.9 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Hero</text>
|
||||
<g transform="translate(577,294) scale(1.5)">
|
||||
<text x="769" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Hero</text>
|
||||
<g transform="translate(847,294) scale(1.5)">
|
||||
<path d="M9.600000000000001 5.6 A1.2 1.2 0 1 0 12.0 5.6 A1.2 1.2 0 1 0 9.600000000000001 5.6 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M1.5 11 L5.5 7 L9 10.5 L11 8.5 L14.5 12" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Image</text>
|
||||
<g transform="translate(667,294) scale(1.5)">
|
||||
<text x="859" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Image</text>
|
||||
<g transform="translate(37,364) scale(1.5)">
|
||||
<path d="M8 2V10 M4.5 6.5 L8 10 L11.5 6.5 M2.5 13.5 H13.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Import</text>
|
||||
<g transform="translate(757,294) scale(1.5)">
|
||||
<text x="49" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Import</text>
|
||||
<g transform="translate(127,364) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M8 7 V11 M8 4.8 V5.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Info</text>
|
||||
<g transform="translate(847,294) scale(1.5)">
|
||||
<text x="139" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Info</text>
|
||||
<g transform="translate(217,364) scale(1.5)">
|
||||
<path d="M3 8 H13 M3 4 H13 M3 12 H9" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="346" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Jobs</text>
|
||||
<g transform="translate(37,364) scale(1.5)">
|
||||
<text x="229" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Jobs</text>
|
||||
<g transform="translate(307,364) scale(1.5)">
|
||||
<path d="M2 10.5 A3 3 0 1 0 8 10.5 A3 3 0 1 0 2 10.5 Z M7.2 8.3 L13.5 2 M11.5 4 L13 5.5 M9.8 5.7 L11 6.9" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Key</text>
|
||||
<g transform="translate(127,364) scale(1.5)">
|
||||
<text x="319" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Key</text>
|
||||
<g transform="translate(397,364) scale(1.5)">
|
||||
<path d="M8 2 L13 8 L8 14 L3 8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Keyframe</text>
|
||||
<g transform="translate(217,364) scale(1.5)">
|
||||
<text x="409" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Keyframe</text>
|
||||
<g transform="translate(487,364) scale(1.5)">
|
||||
<path d="M8 1.8 L14.5 5.2 L8 8.6 L1.5 5.2 Z M1.5 8.2 L8 11.6 L14.5 8.2 M1.5 11 L8 14.4 L14.5 11" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Layers</text>
|
||||
<g transform="translate(307,364) scale(1.5)">
|
||||
<text x="499" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Layers</text>
|
||||
<g transform="translate(577,364) scale(1.5)">
|
||||
<path d="M2.5 1.5 H6.0 A1 1 0 0 1 7.0 2.5 V6.0 A1 1 0 0 1 6.0 7.0 H2.5 A1 1 0 0 1 1.5 6.0 V2.5 A1 1 0 0 1 2.5 1.5 ZM10 1.5 H13.5 A1 1 0 0 1 14.5 2.5 V6.0 A1 1 0 0 1 13.5 7.0 H10 A1 1 0 0 1 9 6.0 V2.5 A1 1 0 0 1 10 1.5 ZM2.5 9 H6.0 A1 1 0 0 1 7.0 10 V13.5 A1 1 0 0 1 6.0 14.5 H2.5 A1 1 0 0 1 1.5 13.5 V10 A1 1 0 0 1 2.5 9 ZM10 9 H13.5 A1 1 0 0 1 14.5 10 V13.5 A1 1 0 0 1 13.5 14.5 H10 A1 1 0 0 1 9 13.5 V10 A1 1 0 0 1 10 9 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Library</text>
|
||||
<g transform="translate(397,364) scale(1.5)">
|
||||
<text x="589" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Library</text>
|
||||
<g transform="translate(667,364) scale(1.5)">
|
||||
<path d="M6.8 9.2 L9.2 6.8 M7.5 4.5 L9 3 A2.8 2.8 0 0 1 13 7 L11.5 8.5 M8.5 11.5 L7 13 A2.8 2.8 0 0 1 3 9 L4.5 7.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Link</text>
|
||||
<g transform="translate(487,364) scale(1.5)">
|
||||
<text x="679" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Link</text>
|
||||
<g transform="translate(757,364) scale(1.5)">
|
||||
<path d="M4.5 7 H11.5 A1.5 1.5 0 0 1 13 8.5 V13.0 A1.5 1.5 0 0 1 11.5 14.5 H4.5 A1.5 1.5 0 0 1 3 13.0 V8.5 A1.5 1.5 0 0 1 4.5 7 Z M5.5 7 V5 A2.5 2.5 0 0 1 10.5 5 V7" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Lock</text>
|
||||
<g transform="translate(577,364) scale(1.5)">
|
||||
<text x="769" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Lock</text>
|
||||
<g transform="translate(847,364) scale(1.5)">
|
||||
<path d="M3.5 1.5 H9.5 L12.5 4.5 V14.5 H3.5 Z M5.5 7 H10.5 M5.5 9.5 H10.5 M5.5 12 H8.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Logs</text>
|
||||
<g transform="translate(667,364) scale(1.5)">
|
||||
<text x="859" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Logs</text>
|
||||
<g transform="translate(37,434) scale(1.5)">
|
||||
<path d="M2.5 4 H13.5 M2.5 8 H13.5 M2.5 12 H13.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Menu</text>
|
||||
<g transform="translate(757,364) scale(1.5)">
|
||||
<text x="49" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Menu</text>
|
||||
<g transform="translate(127,434) scale(1.5)">
|
||||
<path d="M3 8 H13" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Minus</text>
|
||||
<g transform="translate(847,364) scale(1.5)">
|
||||
<text x="139" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Minus</text>
|
||||
<g transform="translate(217,434) scale(1.5)">
|
||||
<path d="M10 4 L14.5 12.5 H10 Z" fill="#f2f3f5"/>
|
||||
<path d="M8 1.5 V3 M8 5.5 V7.5 M8 10 V12 M8 14 V14.5 M6 4 V12.5 H1.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="416" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Mirror</text>
|
||||
<g transform="translate(37,434) scale(1.5)">
|
||||
<text x="229" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Mirror</text>
|
||||
<g transform="translate(307,434) scale(1.5)">
|
||||
<path d="M9.5 1.8 A6.5 6.5 0 1 0 14.2 11.2 A5.5 5.5 0 0 1 9.5 1.8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Moon</text>
|
||||
<g transform="translate(127,434) scale(1.5)">
|
||||
<text x="319" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Moon</text>
|
||||
<g transform="translate(397,434) scale(1.5)">
|
||||
<path d="M2.4 8 A1.1 1.1 0 1 0 4.6 8 A1.1 1.1 0 1 0 2.4 8 ZM6.9 8 A1.1 1.1 0 1 0 9.1 8 A1.1 1.1 0 1 0 6.9 8 ZM11.4 8 A1.1 1.1 0 1 0 13.6 8 A1.1 1.1 0 1 0 11.4 8 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="139" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">More</text>
|
||||
<g transform="translate(217,434) scale(1.5)">
|
||||
<text x="409" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">More</text>
|
||||
<g transform="translate(487,434) scale(1.5)">
|
||||
<path d="M1.5 8 C3.5 3 5.5 3 7.5 8 C9.5 13 11.5 13 14.5 8" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Motion</text>
|
||||
<g transform="translate(307,434) scale(1.5)">
|
||||
<text x="499" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Motion</text>
|
||||
<g transform="translate(577,434) scale(1.5)">
|
||||
<path d="M6.9 13 A1.1 1.1 0 1 0 9.1 13 A1.1 1.1 0 1 0 6.9 13 Z" fill="#f2f3f5"/>
|
||||
<path d="M2 6 A8.5 8.5 0 0 1 14 6 M4 8.5 A5.5 5.5 0 0 1 12 8.5 M6 11 A2.6 2.6 0 0 1 10 11" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Network</text>
|
||||
<g transform="translate(397,434) scale(1.5)">
|
||||
<text x="589" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Network</text>
|
||||
<g transform="translate(667,434) scale(1.5)">
|
||||
<path d="M7 2 L8.2 5.8 L12 7 L8.2 8.2 L7 12 L5.8 8.2 L2 7 L5.8 5.8 Z M12.5 10.5 L13 12 L14.5 12.5 L13 13 L12.5 14.5 L12 13 L10.5 12.5 L12 12 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Optimise</text>
|
||||
<g transform="translate(487,434) scale(1.5)">
|
||||
<text x="679" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Optimise</text>
|
||||
<g transform="translate(757,434) scale(1.5)">
|
||||
<path d="M4.8 3 H5.8 A0.8 0.8 0 0 1 6.6 3.8 V12.2 A0.8 0.8 0 0 1 5.8 13 H4.8 A0.8 0.8 0 0 1 4 12.2 V3.8 A0.8 0.8 0 0 1 4.8 3 ZM10.200000000000001 3 H11.2 A0.8 0.8 0 0 1 12.0 3.8 V12.2 A0.8 0.8 0 0 1 11.2 13 H10.200000000000001 A0.8 0.8 0 0 1 9.4 12.2 V3.8 A0.8 0.8 0 0 1 10.200000000000001 3 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="499" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Pause</text>
|
||||
<g transform="translate(577,434) scale(1.5)">
|
||||
<text x="769" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Pause</text>
|
||||
<g transform="translate(847,434) scale(1.5)">
|
||||
<path d="M4.5 2.8 L13 8 L4.5 13.2 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="589" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Play</text>
|
||||
<g transform="translate(667,434) scale(1.5)">
|
||||
<text x="859" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Play</text>
|
||||
<g transform="translate(37,504) scale(1.5)">
|
||||
<path d="M8 3 V13 M3 8 H13" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Plus</text>
|
||||
<g transform="translate(757,434) scale(1.5)">
|
||||
<text x="49" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Plus</text>
|
||||
<g transform="translate(127,504) scale(1.5)">
|
||||
<path d="M8 1.8 V7.5 M11.54 4.59 A5.5 5.5 0 1 1 4.46 4.59" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Power</text>
|
||||
<g transform="translate(847,434) scale(1.5)">
|
||||
<text x="139" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Power</text>
|
||||
<g transform="translate(217,504) scale(1.5)">
|
||||
<path d="M10.75 3.24 A5.5 5.5 0 1 1 4.46 3.79 M13.2 2.6 L13.2 5.3 L10.5 5.3" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="486" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Refresh</text>
|
||||
<g transform="translate(37,504) scale(1.5)">
|
||||
<text x="229" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Refresh</text>
|
||||
<g transform="translate(307,504) scale(1.5)">
|
||||
<path d="M1.5 9.5 C4 8 6 10.5 8.5 9 C10.5 7.8 12.5 8.5 14.5 9.5 M1.5 13.5 H14.5 M1.5 2.5 H14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Regions</text>
|
||||
<g transform="translate(127,504) scale(1.5)">
|
||||
<text x="319" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Regions</text>
|
||||
<g transform="translate(397,504) scale(1.5)">
|
||||
<path d="M6.5 5.5 L10.8 8 L6.5 10.5 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Render</text>
|
||||
<g transform="translate(217,504) scale(1.5)">
|
||||
<text x="409" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Render</text>
|
||||
<g transform="translate(487,504) scale(1.5)">
|
||||
<path d="M3.67 6.00 A5 5 0 1 1 5.50 12.83 M3.2 3.2 V6.2 H6.2" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Reset</text>
|
||||
<g transform="translate(307,504) scale(1.5)">
|
||||
<text x="499" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Reset</text>
|
||||
<g transform="translate(577,504) scale(1.5)">
|
||||
<path d="M10.75 3.24 A5.5 5.5 0 1 1 4.46 3.79 M13.2 2.6 L13.2 5.3 L10.5 5.3" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Retry</text>
|
||||
<g transform="translate(397,504) scale(1.5)">
|
||||
<text x="589" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Retry</text>
|
||||
<g transform="translate(667,504) scale(1.5)">
|
||||
<path d="M4.5 8 A3.5 3.5 0 1 0 11.5 8 A3.5 3.5 0 1 0 4.5 8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Ring</text>
|
||||
<g transform="translate(487,504) scale(1.5)">
|
||||
<text x="679" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Ring</text>
|
||||
<g transform="translate(757,504) scale(1.5)">
|
||||
<path d="M5.5 9.5 H10.5 A1 1 0 0 1 11.5 10.5 V13.5 A1 1 0 0 1 10.5 14.5 H5.5 A1 1 0 0 1 4.5 13.5 V10.5 A1 1 0 0 1 5.5 9.5 Z M3.02 6.18 A5.5 5.5 0 0 1 13.17 10.38 M2.39 3.86 L3.02 6.18 L5.19 5.16" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">RotateLeft</text>
|
||||
<g transform="translate(577,504) scale(1.5)">
|
||||
<text x="769" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">RotateLeft</text>
|
||||
<g transform="translate(847,504) scale(1.5)">
|
||||
<path d="M5.5 9.5 H10.5 A1 1 0 0 1 11.5 10.5 V13.5 A1 1 0 0 1 10.5 14.5 H5.5 A1 1 0 0 1 4.5 13.5 V10.5 A1 1 0 0 1 5.5 9.5 Z M2.83 10.38 A5.5 5.5 0 0 1 12.98 6.18 M10.81 5.16 L12.98 6.18 L13.61 3.86" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">RotateRight</text>
|
||||
<g transform="translate(667,504) scale(1.5)">
|
||||
<text x="859" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">RotateRight</text>
|
||||
<g transform="translate(37,574) scale(1.5)">
|
||||
<path d="M2.5 7 A4.5 4.5 0 1 0 11.5 7 A4.5 4.5 0 1 0 2.5 7 Z M10.4 10.4 L14 14" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Search</text>
|
||||
<g transform="translate(757,504) scale(1.5)">
|
||||
<text x="49" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Search</text>
|
||||
<g transform="translate(127,574) scale(1.5)">
|
||||
<path d="M2 12.5 L11.5 3 L13 4.5 L3.5 14 H2 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sequence</text>
|
||||
<g transform="translate(847,504) scale(1.5)">
|
||||
<text x="139" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sequence</text>
|
||||
<g transform="translate(217,574) scale(1.5)">
|
||||
<path d="M4.5 12.5 A3 3 0 0 1 4.2 6.5 A4 4 0 0 1 11.9 5.5 A3.5 3.5 0 0 1 12.2 12.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="556" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Server</text>
|
||||
<g transform="translate(37,574) scale(1.5)">
|
||||
<text x="229" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Server</text>
|
||||
<g transform="translate(307,574) scale(1.5)">
|
||||
<path d="M7.15 3.48 L7.4 1.53 A6.5 6.5 0 0 1 8.6 1.53 L8.85 3.48 A4.6 4.6 0 0 1 10.6 4.2 L12.15 3 A6.5 6.5 0 0 1 13 3.85 L11.8 5.4 A4.6 4.6 0 0 1 12.52 7.15 L14.47 7.4 A6.5 6.5 0 0 1 14.47 8.6 L12.52 8.85 A4.6 4.6 0 0 1 11.8 10.6 L13 12.15 A6.5 6.5 0 0 1 12.15 13 L10.6 11.8 A4.6 4.6 0 0 1 8.85 12.52 L8.6 14.47 A6.5 6.5 0 0 1 7.4 14.47 L7.15 12.52 A4.6 4.6 0 0 1 5.4 11.8 L3.85 13 A6.5 6.5 0 0 1 3 12.15 L4.2 10.6 A4.6 4.6 0 0 1 3.48 8.85 L1.53 8.6 A6.5 6.5 0 0 1 1.53 7.4 L3.48 7.15 A4.6 4.6 0 0 1 4.2 5.4 L3 3.85 A6.5 6.5 0 0 1 3.85 3 L5.4 4.2 A4.6 4.6 0 0 1 7.15 3.48 Z M6.3 8 A1.7 1.7 0 1 0 9.7 8 A1.7 1.7 0 1 0 6.3 8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Settings</text>
|
||||
<g transform="translate(127,574) scale(1.5)">
|
||||
<text x="319" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Settings</text>
|
||||
<g transform="translate(397,574) scale(1.5)">
|
||||
<path d="M5 2.5 V13.5 M2.5 11 L5 13.5 L7.5 11 M11 13.5 V2.5 M8.5 5 L11 2.5 L13.5 5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sort</text>
|
||||
<g transform="translate(217,574) scale(1.5)">
|
||||
<text x="409" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sort</text>
|
||||
<g transform="translate(487,574) scale(1.5)">
|
||||
<path d="M0.8 13 A1.2 1.2 0 1 0 3.2 13 A1.2 1.2 0 1 0 0.8 13 ZM12.8 3 A1.2 1.2 0 1 0 15.2 3 A1.2 1.2 0 1 0 12.8 3 Z" fill="#f2f3f5"/>
|
||||
<path d="M2 13 C5 13 5 3 8 8 C11 13 11 3 14 3" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Spline</text>
|
||||
<g transform="translate(307,574) scale(1.5)">
|
||||
<text x="499" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Spline</text>
|
||||
<g transform="translate(577,574) scale(1.5)">
|
||||
<path d="M8 1.8 L14.5 5.2 L8 8.6 L1.5 5.2 Z M1.5 8.2 L8 11.6 L14.5 8.2 M1.5 11 L8 14.4 L14.5 11" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Stack</text>
|
||||
<g transform="translate(397,574) scale(1.5)">
|
||||
<text x="589" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Stack</text>
|
||||
<g transform="translate(667,574) scale(1.5)">
|
||||
<path d="M8 1.8 L9.9 5.8 L14.2 6.3 L11 9.3 L11.9 13.6 L8 11.4 L4.1 13.6 L5 9.3 L1.8 6.3 L6.1 5.8 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Star</text>
|
||||
<g transform="translate(487,574) scale(1.5)">
|
||||
<text x="679" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Star</text>
|
||||
<g transform="translate(757,574) scale(1.5)">
|
||||
<path d="M8 1.8 L9.9 5.8 L14.2 6.3 L11 9.3 L11.9 13.6 L8 11.4 L4.1 13.6 L5 9.3 L1.8 6.3 L6.1 5.8 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="499" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">StarFilled</text>
|
||||
<g transform="translate(577,574) scale(1.5)">
|
||||
<text x="769" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">StarFilled</text>
|
||||
<g transform="translate(847,574) scale(1.5)">
|
||||
<path d="M6.5 5.5 H9.5 A0.5 0.5 0 0 1 10 6.0 V10.0 A0.5 0.5 0 0 1 9.5 10.5 H6.5 A0.5 0.5 0 0 1 6 10.0 V6.0 A0.5 0.5 0 0 1 6.5 5.5 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M4.5 2.5 V13.5 M11.5 2.5 V13.5 M1.5 6 H4.5 M1.5 10 H4.5 M11.5 6 H14.5 M11.5 10 H14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">StillFrame</text>
|
||||
<g transform="translate(37,644) scale(1.5)">
|
||||
<path d="M5.0 3.5 H11.0 A1.5 1.5 0 0 1 12.5 5.0 V11.0 A1.5 1.5 0 0 1 11.0 12.5 H5.0 A1.5 1.5 0 0 1 3.5 11.0 V5.0 A1.5 1.5 0 0 1 5.0 3.5 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="589" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Stop</text>
|
||||
<g transform="translate(667,574) scale(1.5)">
|
||||
<text x="49" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Stop</text>
|
||||
<g transform="translate(127,644) scale(1.5)">
|
||||
<path d="M1.5 12.5 H14.5 M2.5 12.5 L13 6 M8.45 8.81 A7 7 0 0 1 9.50 12.50" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Straighten</text>
|
||||
<g transform="translate(757,574) scale(1.5)">
|
||||
<text x="139" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Straighten</text>
|
||||
<g transform="translate(217,644) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M5 8.3 L7.1 10.3 L11 6" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">SuccessCircle</text>
|
||||
<g transform="translate(847,574) scale(1.5)">
|
||||
<text x="229" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">SuccessCircle</text>
|
||||
<g transform="translate(307,644) scale(1.5)">
|
||||
<path d="M5 8 A3 3 0 1 0 11 8 A3 3 0 1 0 5 8 Z M8 1 V2.5 M8 13.5 V15 M1 8 H2.5 M13.5 8 H15 M3 3 L4 4 M12 12 L13 13 M3 13 L4 12 M12 4 L13 3" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="626" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sun</text>
|
||||
<g transform="translate(37,644) scale(1.5)">
|
||||
<text x="319" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sun</text>
|
||||
<g transform="translate(397,644) scale(1.5)">
|
||||
<path d="M9.88 2.83 A5.5 5.5 0 0 1 9.88 13.17 M6.12 13.17 A5.5 5.5 0 0 1 6.12 2.83 M13.5 6.5 L13.2 9.4 L10.6 8.4 M2.5 9.5 L2.8 6.6 L5.4 7.6" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sync</text>
|
||||
<g transform="translate(127,644) scale(1.5)">
|
||||
<text x="409" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Sync</text>
|
||||
<g transform="translate(487,644) scale(1.5)">
|
||||
<path d="M1.5 2.5 A1 1 0 0 1 2.5 1.5 H7.5 L14.5 8.5 L8.5 14.5 L1.5 7.5 Z M5 5 H5.1" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Tag</text>
|
||||
<g transform="translate(217,644) scale(1.5)">
|
||||
<text x="499" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Tag</text>
|
||||
<g transform="translate(577,644) scale(1.5)">
|
||||
<path d="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M8 4.5 V8 L10.5 9.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Time</text>
|
||||
<g transform="translate(307,644) scale(1.5)">
|
||||
<text x="589" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Time</text>
|
||||
<g transform="translate(667,644) scale(1.5)">
|
||||
<path d="M1.5 9.5 H5 L6.5 11.5 H9.5 L11 9.5 H14.5 M1.5 9.5 L3.5 3 H12.5 L14.5 9.5 V13.5 H1.5 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Tray</text>
|
||||
<g transform="translate(397,644) scale(1.5)">
|
||||
<text x="679" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Tray</text>
|
||||
<g transform="translate(757,644) scale(1.5)">
|
||||
<path d="M8 3 L13.5 12.5 H2.5 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="409" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Triangle</text>
|
||||
<g transform="translate(487,644) scale(1.5)">
|
||||
<text x="769" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Triangle</text>
|
||||
<g transform="translate(847,644) scale(1.5)">
|
||||
<path d="M5 3 L12 8 L5 13 Z" fill="#f2f3f5"/>
|
||||
</g>
|
||||
<text x="499" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">TriangleRight</text>
|
||||
<g transform="translate(577,644) scale(1.5)">
|
||||
<text x="859" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">TriangleRight</text>
|
||||
<g transform="translate(37,714) scale(1.5)">
|
||||
<path d="M8 10.5 V2.5 M4.5 6 L8 2.5 L11.5 6 M2.5 13.5 H13.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Upload</text>
|
||||
<g transform="translate(667,644) scale(1.5)">
|
||||
<text x="49" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Upload</text>
|
||||
<g transform="translate(127,714) scale(1.5)">
|
||||
<path d="M5 5 A3 3 0 1 0 11 5 A3 3 0 1 0 5 5 Z M2.5 14 A5.5 5.5 0 0 1 13.5 14" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="679" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">User</text>
|
||||
<g transform="translate(757,644) scale(1.5)">
|
||||
<text x="139" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">User</text>
|
||||
<g transform="translate(217,714) scale(1.5)">
|
||||
<path d="M5 5 A3 3 0 1 0 11 5 A3 3 0 1 0 5 5 Z M2.5 14 A5.5 5.5 0 0 1 13.5 14" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="769" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Users</text>
|
||||
<g transform="translate(847,644) scale(1.5)">
|
||||
<text x="229" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Users</text>
|
||||
<g transform="translate(307,714) scale(1.5)">
|
||||
<path d="M2.5 12.5 L7 8 M7 8 H4.5 M7 8 V10.5 M9 7 L13.5 2.5 M13.5 2.5 H11 M13.5 2.5 V5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="859" y="696" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Vectors</text>
|
||||
<g transform="translate(37,714) scale(1.5)">
|
||||
<text x="319" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Vectors</text>
|
||||
<g transform="translate(397,714) scale(1.5)">
|
||||
<path d="M8 1.5 L13.5 3.5 V7.5 C13.5 11 11 13.3 8 14.5 C5 13.3 2.5 11 2.5 7.5 V3.5 Z M5.5 8 L7.3 9.8 L10.6 6.3" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="49" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Verify</text>
|
||||
<g transform="translate(127,714) scale(1.5)">
|
||||
<text x="409" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Verify</text>
|
||||
<g transform="translate(487,714) scale(1.5)">
|
||||
<path d="M5.5 6.5 L9.5 9 L5.5 11.5 Z" fill="#f2f3f5"/>
|
||||
<path d="M3.0 4 H11.0 A1.5 1.5 0 0 1 12.5 5.5 V12.5 A1.5 1.5 0 0 1 11.0 14 H3.0 A1.5 1.5 0 0 1 1.5 12.5 V5.5 A1.5 1.5 0 0 1 3.0 4 Z M4.5 1.5 H13 A1.5 1.5 0 0 1 14.5 3 V11.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Videos</text>
|
||||
<g transform="translate(577,714) scale(1.5)">
|
||||
<path d="M2.5 1.5 H6.0 A1 1 0 0 1 7.0 2.5 V6.0 A1 1 0 0 1 6.0 7.0 H2.5 A1 1 0 0 1 1.5 6.0 V2.5 A1 1 0 0 1 2.5 1.5 ZM10 1.5 H13.5 A1 1 0 0 1 14.5 2.5 V6.0 A1 1 0 0 1 13.5 7.0 H10 A1 1 0 0 1 9 6.0 V2.5 A1 1 0 0 1 10 1.5 ZM2.5 9 H6.0 A1 1 0 0 1 7.0 10 V13.5 A1 1 0 0 1 6.0 14.5 H2.5 A1 1 0 0 1 1.5 13.5 V10 A1 1 0 0 1 2.5 9 ZM10 9 H13.5 A1 1 0 0 1 14.5 10 V13.5 A1 1 0 0 1 13.5 14.5 H10 A1 1 0 0 1 9 13.5 V10 A1 1 0 0 1 10 9 Z" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="139" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewGrid</text>
|
||||
<g transform="translate(217,714) scale(1.5)">
|
||||
<text x="589" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewGrid</text>
|
||||
<g transform="translate(667,714) scale(1.5)">
|
||||
<path d="M5.5 4 H13.5 M5.5 8 H13.5 M5.5 12 H13.5 M2.5 4 H2.6 M2.5 8 H2.6 M2.5 12 H2.6" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="229" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewList</text>
|
||||
<g transform="translate(307,714) scale(1.5)">
|
||||
<text x="679" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewList</text>
|
||||
<g transform="translate(757,714) scale(1.5)">
|
||||
<path d="M2 13.5 H14 M3.5 11 V8 M6 11 V5 M8.5 11 V7 M11 11 V3.5 M13.5 11 V9" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="319" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewTimeline</text>
|
||||
<g transform="translate(397,714) scale(1.5)">
|
||||
<text x="769" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">ViewTimeline</text>
|
||||
<g transform="translate(847,714) scale(1.5)">
|
||||
<path d="M8 1.8 L14.8 13.8 H1.2 Z M8 6.2 V9.6 M8 11.7 V11.8" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="409" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Warning</text>
|
||||
<g transform="translate(487,714) scale(1.5)">
|
||||
<text x="859" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Warning</text>
|
||||
<g transform="translate(37,784) scale(1.5)">
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M1.5 5.5 H14.5" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="499" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Window</text>
|
||||
<g transform="translate(577,714) scale(1.5)">
|
||||
<text x="49" y="836" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Window</text>
|
||||
<g transform="translate(127,784) scale(1.5)">
|
||||
<path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M8 1 V15" fill="none" stroke="#f2f3f5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<text x="589" y="766" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Wipe</text>
|
||||
<text x="139" y="836" fill="#a9aeb9" font-size="10" text-anchor="middle" font-family="sans-serif">Wipe</text>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 41 KiB |
@@ -734,3 +734,27 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-04 | Phase 4 review fixes, routing and gates: render routing sizes a job from its resolved preset box, never from the size posted with it (the posted size only without a preset size); the server's wait for a node re-routes the job as the claim does; the remote editor lets edits happen but refuses to save settings the server cannot read (`NeedsNewerServer` toast); archive sync keeps such settings here (`ServerFormatException`, the row stays LocalAhead with the reason; the server's format is cached for 1 minute, none announced = 1); a workspace push is refused whole, before its first version, when any unpushed version needs a newer home, and Sync's reason includes the unpushed versions; a local render of a workspace project (`RendersLocally`) is not gated by the server's format; the Library's Render on a remote card applies the editor's older-server gate and sizes the job on the project it read, without embedding it (the server renders the sequence's settings of the moment). (Owner review 1, phase 4.) | Let the server refuse | Nothing an older server would store and then fail to render is sent to it, and no job waits for a node that never takes it. |
|
||||
| 2026-11-04 | Phase 4 review fixes, editing: a turn or mirror on one side and a framing edit on the other (crop, keyframes, offsets, aspect, keyframes of waiting photos) are one merge conflict at the orientation member, settled with that side's framing; the derived top-level `version` is no settings difference while both are at most this Chronos's; a quarter turn transposes the aspect text without reducing it (21:9 → 9:21); an out-of-range crop is turned as it renders (clamped first); off-grid crop and keyframe values land on the 12-decimal grid at their first press and the keyframe centre sliders write gridded values; the Rotation row shows the turn as seen (reversed while exactly one of Mirror and Flip is on); Reset framing undoes the orientation press by press so keyframes and aspect stay on their content; the look strength minimum is 1 % and 0 or less clears the look; motion vectors are computed without the look and the knee; the horizon advisor maps its rows through turn, flip, straighten and cover zoom (the mirror moves only columns); inside a box with no slack a press pans while zoomed and the middle button always pans; the selected box shows a 2 px Accent ring; translations of keys whose English meaning changed are deleted (English fallback) instead of new keys. (Owner review 1, phase 4.) | — | Simplest safe choices for the review's findings. |
|
||||
| 2026-11-04 | Project text is written with LF on every OS (`NewLine = "\n"` in the `ProjectJson` source-gen options and in `ProjectSettings.IndentedJson`), so a project's canonical text and content hash are the same on Windows and on the Linux server. Versions already stored keep their text and hash (a Windows build's are CRLF): `ProjectContent.SameChoices` compares both texts with CRLF read as LF (lossless: a raw CR or LF in the JSON is whitespace between tokens), and the places that ask "is this text that version" (the workspace's tip and base, the head a render names, the render job's version, the send's matching version, the history's current marker) use `ProjectContent.MatchesHash`, true for the hash of the text's LF or CRLF form. Integrity checks (`Verifies` of a stored or pushed version, stored hash against stored hash) stay exact. The other indented JSON writers (`AdvisorJson`, `ArchiveJsonIndented`, `WorkspaceJson`, `WorkspaceMoveJson`, the `ProjectBundle` writer, settings files) feed no project hash and are left as they are. | LF only, comparisons exact | With LF alone, every version a Windows build stored would stop matching the text the new build writes: unchanged projects would read as modified at the upgrade. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (1): the editor header's Render button reads "Render" (Ctrl+R, `Editor.RenderButton`) at a fixed width; its tooltip (`Tooltips.Editor.RenderDetails`) gives preset, size, codec, fps, estimated size and time and the blocked reason; the Render menu's checked item shows the current preset. Supersedes "Render · preset" (`Editor.Render`, removed in phase 5's prune). | Keep the preset in the label (Q3) | The label's width changed with every preset and pushed the header around; the details stay one hover away. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (2): the Render menu lists, in order, the recommended preset, the batch presets, up to 3 recent presets of this sequence's render history and "Other presets ›" grouped by `ExportPreset.Group`; then a separator, Render batch (n), Add to queue, Save frame ›, Videos of this sequence. Each preset item has a muted size · codec · fps line; no estimates in the menu. | Estimates per item | An estimate costs a render plan per preset; the menu must open at once. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (3): a grouped preset table (28 px rows, collapsible group headers; columns batch ☐, Name + Recommended chip, Size, Codec, fps, Est. size, Est. time) replaces the preset cards of the Export step; a row click selects, the checkbox adds to the batch. Supersedes the card grid. | Keep the cards | Twenty presets as cards did not fit the measure area; a table compares them. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (4): collapsible setting groups are a new DESIGN §4 pattern: the header is the group name (Text.Body 600) with a chevron and, collapsed, a muted one-line summary; the state is kept per group in app settings, not in the project. Defaults: Output open, Encoding collapsed, Playback collapsed, File open. | Tabs inside the step | One scroll keeps every value reachable; summaries show the collapsed values. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (5): the Export footer stays fixed below the scrolling groups with the summary "<result name> · <size> · <time> · <duration> · <frames>", Render now (primary), Add to queue, Batch (n) and the links Videos (n), Reveal, Send again / Not sent. "Save project file" moves to the project ▾ menu; "Restore settings" becomes a row of the File group. Supersedes the earlier footer placement. | Actions inside the groups | The actions stay visible whatever group is open. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (6): advanced encoding edits the existing `ExportOverrides`, no format raise: rate control VBR/CBR/Quality (H.264, HEVC, AV1), bit rate for VBR/CBR, quality 1–100; keyframes in seconds (0.5–10, step 0.5, or Auto) stored as `GopFrames = round(s × fps)`; B-frames 0–4 or Auto, disabled with a reason for Baseline, MJPEG, GIF, APNG and the image sequences; profiles limited to what the codec and depth allow (H.264 Baseline/Main/High, HEVC Main or Main 10, AV1 Main only). Any edit makes the export Custom (BRIEF §11.4). | New settings members | The overrides already carry every value; older readers keep reading the projects. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (7): the Resolution choice offers Preset, Source, 720p, 1080p, 1440p, 4K UHD, DCI 4K, 5K, 6K, 8K and Custom; a standard choice writes the landscape box into `Overrides.Width/Height` and `RenderSize.Of` fits the chosen proportions (4K at 9:16 gives 2160×3840). Custom shows phase 4's W×H fields. | Portrait variants of each size | Proportions already win in `RenderSize.Of`; one list serves both orientations. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (8): playback is `export.playback` `{ direction, loops, fadeIn, fadeOut, holdEnd }` (forward/reverse/boomerang, 1–10, seconds), each member omitted at its default and the object omitted (normalised to null) when all are; settings format 3 (`ProjectSettings.CurrentVersion = 3`, `PlaybackVersion`), `RequiredFormat` is 3 only when the playback is not the default, else phase 4's rule. Lives in the export, so batch presets inherit it. The direction is a string (unknown values read as forward with `Export.Render.DirectionUnknown`). | Playback in Timing; an enum | The export is what a render reads; strings keep an unknown value from a newer Chronos. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (9): `OutputProgram.Build(plan, playback, frameRate)` turns the plan into the emitted (plan index, duration90k, gain) entries: reverse is the plan reversed; boomerang is forward then back without repeating the turning frame, and from the second loop starts at its second frame; hold extends the last entry; held frames inside a fade split per slot; fades longer than half the program are scaled to fit (`Export.Render.FadesShortened`); each loop is rendered again, and the estimate multiplies by the loop count. | Cache the first pass | Caching a whole pass needs disk the size of the video; renders are already resumable per frame. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (10): a fade goes to and from black, applied as the last FrameFinish step (after look and knee) in linear light with gain `SrgbToLinear(t)`; "Preview 10 s" does not play fades or direction (Q4). | Fade to white; fade in the preview | Black is the convention of video editors; the preview stays the plan as it is. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (11): window stacks (median, mean) play in program order; star trails accumulate in program order, so reversed trails grow from the end; boomerang with star trails is disabled with `Tooltips.Export.BoomerangStack` and, when set anyway, renders forward with `Export.Render.BoomerangStack` (Q5). | Trails that shrink on the way back | An accumulator cannot un-add frames without a second pass. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (12): Save frame › renders the frame under the preview cursor as PNG, JPEG or TIFF 16-bit (Q7) at the export's output size, with every correction and no playback. Job parameters gain `StillFrame` and `StillPhoto` (the photo's sha256 wins) with `RequiredSettingsFormat = 3`, so an older node never renders a whole video instead; the file is the name template + " - " + the 1-based frame number in 4 digits (Q8); recorded as a render with `kind = "still"`, fps 0, duration 0; routed like other renders. | Linear DNG; a separate job kind | A still is a render of one frame: same routing, same history, same videos library. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (13): migration 0010 (sqlite and postgres) adds `renders.sha256` and `renders.kind` (null = video or image sequence, told apart by the codec), `ix_renders_created` and the table `render_copies (id, render_id, path, sha256, bytes, copied_at, copied_by)` without a foreign key to `renders`. No backfill. | A foreign key | A copy of a server video downloaded to a PC has no local render row, and a copy outlives its render. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (14): every new single-file render is hashed (sha256) when recorded (RenderJobHandler, workspace ledger and send filing, render uploads); image-sequence folders keep a null hash and are verified file by file when copied; older renders are hashed lazily on their first copy, delete or restore (Q13). | Hash every old render at start-up | Hashing a library of large videos at start-up would take minutes for nothing. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (15): the videos folder is Settings › Archive › "Videos folder" on the desktop (default `%USERPROFILE%\Videos\Chronos`, `SpecialFolder.MyVideos`) and `videosPath` on the server (locked by `CHRONOS_VIDEOS_PATH`; Docker volume `/videos`, unset by default, copy disabled with `videos_folder_unset`) (Q12). A folder inside the archive root or the workspace is refused. Flat, " (2)" on collisions (Q11). | Per-sequence subfolders | Users browse these files outside Chronos; a flat folder is what a video player lists. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (16): copying is the job `JobKind.VideoCopy = 24` ("video-copy"), desktop and server, at the IO priority level: check free space; copy to `.incoming-<id>.part` and flush; hash and compare with the source's sha256 (hashing the source first when null); rename without overwrite; record `render_copies`. A mismatch deletes the part file and fails the item; the source is never touched; a server-only video is downloaded through `ISyncRemote.DownloadRenderAsync`. | Copy inline in the request | Copies of large files take minutes; a job shows progress, survives restarts and is cancellable. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (17): deleting a video moves it to the trash: `POST …/videos/delete` with `dryRun` returns items, bytes, blocked items (a running send/upload/copy, a missing file) and a fingerprint the real call must repeat; the file moves under the sequence lease with a `.pending` journal into `.chronos/trash/videos/<render id>-<ticks>/` with the record `trash/videos/<entry>.json`; the render row goes and `rendered_count` is recounted; copies in the videos folder stay (said in the confirmation); a missing file removes only its row. Entry names are `videos-<render id>-<ticks>`, `TrashKind.Videos` lists as "videos". | Hard delete | Destructive operations are dry-run, verified and reversible (BRIEF); records under `trash/videos/` are never read as sequence records by older builds. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (18): restoring a video re-hashes the trashed file against its record (refused with `trash_hash_mismatch`), moves it back with a free name if the original is taken, re-inserts the row with the same render id, and fails with `sequence_gone` when its sequence is not in the library; `EmptyTrash` includes video entries in its fingerprint. | Restore with a new id | The same id keeps sync links and copies pointing at the render. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (19): the server API is `/api/v1/videos`: list and get (Read), delete plan and delete (Delete, audited), copy (Edit, audited, as render uploads) (Q14); restore uses `/archive/trash/{name}/restore` (ManageArchive). Capability `ServerCapabilities.Videos = "videos"` (announced from phase 5's server package); without it the desktop lists local videos only and greys the server group with a reason. `RenderDto` gains `Sha256`, `Kind` (trailing, optional). | A new permission | The existing rights already separate reading, editing, deleting and archive management. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (20): Videos is a new rail section after Edit on Ctrl+4; Archive, Jobs and Server move to Ctrl+5…7 and Settings stays Ctrl+, (Q1, in the CHANGELOG). It lists local archive renders, the signed-in server's videos and the workspace's unsent renders, de-duplicated by render id (a synced render shows "Here and on server"); workspace renders are read-only rows (Play, Show in folder, Send) with "Not sent" (Q9). No "Remove copy": copies are user files (Q10). | A view inside Library | Videos are the product of every sequence; a section of their own is one click from anywhere. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (21): desktop playback runs in-process in a player pane of the Videos view: WPF `MediaElement` for MP4/MOV (H.264/HEVC where Windows has the decoder) and an image view for stills, GIF and APNG; when Windows cannot decode the file the pane says "Cannot play here" and Show in folder stays (Q2). No external process (BRIEF §8.6). | Show in folder only | Checking a render without leaving Chronos is the point of the section; MediaElement is part of WPF. |
|
||||
| 2026-11-05 | Owner review 1 phase 5 (22): the admin panel gains a Videos page after Library: list and cards, filters, sort, multi-select, Copy to videos folder, Delete… (dry-run dialog), Download, and Play in an HTML5 `<video>` dialog (the session cookie authorises the GET); restore goes through Library › Trash (kind Videos). No editing and no rendering (owner review 2, R6). | Restore on the Videos page | One trash view for every kind keeps restore in one place. |
|
||||
| 2026-11-05 | Owner review 1 phase 5, open questions without an answer take the plan's defaults: Q1 own section, Ctrl+4; Q2 MediaElement pane with fallback; Q3 "Render" only; Q4 preview stays forward; Q5 reverse trails in program order, boomerang disabled; Q6 loops 1–10, fades 0–30 s (slider 0–10), hold 0–60 s (slider 0–10) (`PlaybackSettings.MaxLoops/MaxFadeSeconds/MaxHoldSeconds`); Q7 PNG, JPEG, TIFF 16-bit; Q8 `<template> - 0123.<ext>`; Q9 unsent workspace renders listed read-only; Q10 no Remove copy; Q11 flat folder; Q12 `%USERPROFILE%\Videos\Chronos`, server unset; Q13 lazy hashing; Q14 copy needs Edit, delete Delete, restore ManageArchive. | Wait for the owner | The brief asks to choose the simplest safe option and continue. |
|
||||
| 2026-11-05 | Phase 5 groundwork (P0) contracts beyond the plan's list: `PlaybackDirection` string constants; `ProjectSettings.PlaybackVersion`; `RenderKind` (`Of(kind, codec)`); `RenderRules.StillFormat`, `StillCodecs` and a still-aware `RequiredFormat` overload; `ProcessingJobs.Still` (working); `RenderJobParameters.IsStill`; trailing optional `Kind` on `RenderResultRequest` and `RenderUploadRequest`; `ServerSettingsDto.VideosPath` (in Protocol, where the DTO lives); `VideoQueryDto`, `VideoCopyResultDto`, `VideoStates`, `VideoSorts`, `VideoBlockReasons`; `VideoErrors`, `VideoLibraryException`, `VideoTrashNames` in Data; `TrashKind.Videos`; `ArchiveService.Videos` (the `NotImplementedVideoLibrary` stub until P2) registered as `IVideoLibrary` on the server. The capability `videos` is declared but not announced until P3 serves the API. The section's strings use `Shell.Nav.Videos` / `Tooltips.Nav.Videos` (the rail builds `Shell.Nav.<key>`), not the plan's `Shell.Section.Videos`; `Editor.Render` stays until P5 moves the header to the existing `Editor.RenderButton`; `Tooltips.Nav.Archive/Jobs/Server` keep Ctrl+4…6 until P7 shifts the shortcuts. Italian follows the repository's terms ("Renderizza", "serie", "Attività", "Modifica"). Until P1 and P2 land, format 3 is written but `OutputProgram` is forward-only and still jobs are not handled by the render job handler. | Exactly the plan's names | Every later parcel compiles against P0 without touching shared files; the names follow the code that reads them. |
|
||||
@@ -1089,4 +1089,86 @@
|
||||
<data name="Admin.Users.User" xml:space="preserve"><value>User</value></data>
|
||||
<data name="Admin.Users.Username" xml:space="preserve"><value>Username</value></data>
|
||||
<data name="Admin.Users.Username.Tip" xml:space="preserve"><value>Letters, digits, dot and dash; cannot be changed later</value></data>
|
||||
<data name="Admin.Nav.Videos" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Admin.Nav.Videos.Tip" xml:space="preserve"><value>Every render: play, download, copy to the videos folder, delete into the trash</value></data>
|
||||
<data name="Admin.Job.Kind.VideoCopy" xml:space="preserve"><value>Copy videos</value></data>
|
||||
<data name="Admin.Trash.Kind.Videos" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Admin.Trash.RestoreVideos.Tip" xml:space="preserve"><value>Put the video back into its sequence's folder after a SHA-256 check; the sequence must be in the library</value></data>
|
||||
<data name="Admin.Trash.RestoredVideo" xml:space="preserve"><value>{0} is back in {1}.</value><comment>long; {0} file name; {1} sequence title</comment></data>
|
||||
<data name="Admin.Logs.Action.VideosDeleted" xml:space="preserve"><value>Videos deleted</value></data>
|
||||
<data name="Admin.Logs.Action.VideosCopied" xml:space="preserve"><value>Videos copied</value></data>
|
||||
<data name="Admin.Activity.VideosDeleted" xml:space="preserve"><value>{0} deleted videos · {1}</value><comment>long</comment></data>
|
||||
<data name="Admin.Activity.VideosCopied" xml:space="preserve"><value>{0} copied videos to the videos folder · {1}</value><comment>long</comment></data>
|
||||
<data name="Admin.Videos.Title" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Admin.Videos.Search" xml:space="preserve"><value>Search title, preset, file</value></data>
|
||||
<data name="Admin.Videos.Search.Tip" xml:space="preserve"><value>Show the videos whose title, preset or file name contains this text</value></data>
|
||||
<data name="Admin.Videos.Kind" xml:space="preserve"><value>Kind</value></data>
|
||||
<data name="Admin.Videos.Kind.Tip" xml:space="preserve"><value>Show videos, stills or image sequences</value></data>
|
||||
<data name="Admin.Videos.Kind.All" xml:space="preserve"><value>All kinds</value></data>
|
||||
<data name="Admin.Videos.Kind.Video" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Admin.Videos.Kind.Still" xml:space="preserve"><value>Stills</value></data>
|
||||
<data name="Admin.Videos.Kind.Sequence" xml:space="preserve"><value>Image sequences</value></data>
|
||||
<data name="Admin.Videos.Codec" xml:space="preserve"><value>Codec</value></data>
|
||||
<data name="Admin.Videos.Codec.Tip" xml:space="preserve"><value>Show the videos of one codec</value></data>
|
||||
<data name="Admin.Videos.Codec.All" xml:space="preserve"><value>All codecs</value></data>
|
||||
<data name="Admin.Videos.Year" xml:space="preserve"><value>Year</value></data>
|
||||
<data name="Admin.Videos.Year.Tip" xml:space="preserve"><value>Show the videos made in one year</value></data>
|
||||
<data name="Admin.Videos.Year.All" xml:space="preserve"><value>All years</value></data>
|
||||
<data name="Admin.Videos.Sort" xml:space="preserve"><value>Sort</value></data>
|
||||
<data name="Admin.Videos.Sort.Tip" xml:space="preserve"><value>Order of the videos</value></data>
|
||||
<data name="Admin.Videos.Sort.Newest" xml:space="preserve"><value>Newest</value></data>
|
||||
<data name="Admin.Videos.Sort.Oldest" xml:space="preserve"><value>Oldest</value></data>
|
||||
<data name="Admin.Videos.Sort.Largest" xml:space="preserve"><value>Largest</value></data>
|
||||
<data name="Admin.Videos.Sort.Title" xml:space="preserve"><value>Title</value></data>
|
||||
<data name="Admin.Videos.View.Cards" xml:space="preserve"><value>Cards</value></data>
|
||||
<data name="Admin.Videos.View.Cards.Tip" xml:space="preserve"><value>Show the videos as cards</value></data>
|
||||
<data name="Admin.Videos.View.List" xml:space="preserve"><value>List</value></data>
|
||||
<data name="Admin.Videos.View.List.Tip" xml:space="preserve"><value>Show the videos as a list</value></data>
|
||||
<data name="Admin.Videos.Selected" xml:space="preserve"><value>Selected: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Admin.Videos.Select.Tip" xml:space="preserve"><value>Select this video</value></data>
|
||||
<data name="Admin.Videos.SelectAll.Tip" xml:space="preserve"><value>Select every video shown</value></data>
|
||||
<data name="Admin.Videos.Play" xml:space="preserve"><value>Play</value></data>
|
||||
<data name="Admin.Videos.Play.Tip" xml:space="preserve"><value>Play the video in the browser</value></data>
|
||||
<data name="Admin.Videos.Download" xml:space="preserve"><value>Download</value></data>
|
||||
<data name="Admin.Videos.Download.Tip" xml:space="preserve"><value>Download the file</value></data>
|
||||
<data name="Admin.Videos.Download.One.Tip" xml:space="preserve"><value>Select one video to download it</value></data>
|
||||
<data name="Admin.Videos.Copy" xml:space="preserve"><value>Copy to folder</value></data>
|
||||
<data name="Admin.Videos.Copy.Tip" xml:space="preserve"><value>Copy into the server's videos folder, checked by hash; the original stays</value></data>
|
||||
<data name="Admin.Videos.Copy.NoFolder.Tip" xml:space="preserve"><value>Set a videos folder in Settings first</value></data>
|
||||
<data name="Admin.Videos.Copy.NoRight.Tip" xml:space="preserve"><value>Your account cannot copy videos</value></data>
|
||||
<data name="Admin.Videos.Copy.Queued" xml:space="preserve"><value>Copy queued: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Admin.Videos.Delete" xml:space="preserve"><value>Delete…</value></data>
|
||||
<data name="Admin.Videos.Delete.Tip" xml:space="preserve"><value>Move into the archive's trash after a check of what goes; copies in the videos folder stay</value></data>
|
||||
<data name="Admin.Videos.Delete.NoRight.Tip" xml:space="preserve"><value>Your account cannot delete videos</value></data>
|
||||
<data name="Admin.Videos.Delete.Title" xml:space="preserve"><value>Delete videos</value></data>
|
||||
<data name="Admin.Videos.Delete.Summary" xml:space="preserve"><value>Videos: {0} · {1}</value><comment>{0} a count; {1} a size</comment></data>
|
||||
<data name="Admin.Videos.Delete.CopiesStay" xml:space="preserve"><value>Copies in the videos folder stay where they are.</value><comment>long</comment></data>
|
||||
<data name="Admin.Videos.Delete.Missing" xml:space="preserve"><value>File missing: only its entry goes</value><comment>long</comment></data>
|
||||
<data name="Admin.Videos.Delete.Blocked" xml:space="preserve"><value>Not deleted: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Admin.Videos.Delete.Confirm" xml:space="preserve"><value>Move to trash</value></data>
|
||||
<data name="Admin.Videos.Delete.Confirm.Tip" xml:space="preserve"><value>Move the listed videos into the trash; each can be restored from Library › Trash</value></data>
|
||||
<data name="Admin.Videos.Delete.Done" xml:space="preserve"><value>Moved to the trash: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Admin.Videos.Blocked.Busy" xml:space="preserve"><value>In use by a job</value></data>
|
||||
<data name="Admin.Videos.Blocked.NotFound" xml:space="preserve"><value>Not found</value></data>
|
||||
<data name="Admin.Videos.Empty" xml:space="preserve"><value>No videos</value></data>
|
||||
<data name="Admin.Videos.Column.Title" xml:space="preserve"><value>Title</value></data>
|
||||
<data name="Admin.Videos.Column.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Admin.Videos.Column.Kind" xml:space="preserve"><value>Kind</value></data>
|
||||
<data name="Admin.Videos.Column.Format" xml:space="preserve"><value>Format</value></data>
|
||||
<data name="Admin.Videos.Column.Duration" xml:space="preserve"><value>Duration</value></data>
|
||||
<data name="Admin.Videos.Column.Size" xml:space="preserve"><value>Size</value></data>
|
||||
<data name="Admin.Videos.Column.Date" xml:space="preserve"><value>Date</value></data>
|
||||
<data name="Admin.Videos.Column.Hash" xml:space="preserve"><value>SHA-256</value><comment>invariant</comment></data>
|
||||
<data name="Admin.Videos.Column.State" xml:space="preserve"><value>State</value></data>
|
||||
<data name="Admin.Videos.State.Missing" xml:space="preserve"><value>Missing</value></data>
|
||||
<data name="Admin.Videos.State.Missing.Tip" xml:space="preserve"><value>The file is not where it was rendered; Delete removes only its entry</value></data>
|
||||
<data name="Admin.Videos.State.Copied" xml:space="preserve"><value>Copied</value></data>
|
||||
<data name="Admin.Videos.State.Copied.Tip" xml:space="preserve"><value>Copied to the videos folder: {0}</value><comment>{0} copy path</comment></data>
|
||||
<data name="Admin.Videos.Player.NoPlay" xml:space="preserve"><value>This file does not play in the browser; download it.</value><comment>long</comment></data>
|
||||
<data name="Admin.Videos.Player.Close.Tip" xml:space="preserve"><value>Close the player</value></data>
|
||||
<data name="Admin.Videos.AllVideos" xml:space="preserve"><value>All videos</value></data>
|
||||
<data name="Admin.Videos.AllVideos.Tip" xml:space="preserve"><value>Open Videos filtered on this sequence</value></data>
|
||||
<data name="Admin.Videos.Kind.Still.Label" xml:space="preserve"><value>Still</value></data>
|
||||
<data name="Admin.Settings.VideosPath" xml:space="preserve"><value>Videos folder</value></data>
|
||||
<data name="Admin.Settings.VideosPath.Tip" xml:space="preserve"><value>Where Copy to folder puts videos (the /videos volume in Docker); empty turns copying off</value></data>
|
||||
</root>
|
||||
@@ -448,4 +448,5 @@
|
||||
<data name="Archive.Log.WorkspaceVersionNotHome" xml:space="preserve"><value>{0}: the render's version is not at the home; sent with the project only</value><comment>long: job log line; {0} project name</comment></data>
|
||||
<data name="Archive.Log.WorkspaceSendNoProvenance" xml:space="preserve"><value>{0}: the server kept the render without its project; update the server to keep it</value><comment>long: job log line; {0} render file name</comment></data>
|
||||
<data name="Archive.Log.WorkspaceMoveLeft" xml:space="preserve"><value>Moved; {0} still holds {1} item(s) that could not be cleared</value><comment>long: job log line; {0} old folder; {1} a count</comment></data>
|
||||
<data name="Archive.Trash.Kind.Videos" xml:space="preserve"><value>Videos</value></data>
|
||||
</root>
|
||||
@@ -492,4 +492,12 @@
|
||||
<data name="Editor.Workspace.SavedForRender" xml:space="preserve"><value>Version {0} saved for render</value><comment>{0} version number</comment></data>
|
||||
<data name="Editor.RemoveCopy.UnsentRenders" xml:space="preserve"><value>Renders not sent</value></data>
|
||||
<data name="Editor.RemoveCopy.LastOriginals" xml:space="preserve"><value>Last originals</value></data>
|
||||
<data name="Editor.RenderMenu.Recommended" xml:space="preserve"><value>Recommended</value></data>
|
||||
<data name="Editor.RenderMenu.Recent" xml:space="preserve"><value>Recent</value></data>
|
||||
<data name="Editor.RenderMenu.Other" xml:space="preserve"><value>Other presets</value></data>
|
||||
<data name="Editor.RenderMenu.Batch" xml:space="preserve"><value>Render batch ({0})</value><comment>{0} number of presets in the batch</comment></data>
|
||||
<data name="Editor.RenderMenu.SaveFrame" xml:space="preserve"><value>Save frame</value></data>
|
||||
<data name="Editor.RenderMenu.Videos" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Editor.RenderMenu.Details" xml:space="preserve"><value>{0} · {1} · {2}</value><comment>invariant: a preset's size, codec and frame rate</comment></data>
|
||||
<data name="Editor.Still.Queued" xml:space="preserve"><value>Frame save queued</value></data>
|
||||
</root>
|
||||
@@ -116,4 +116,13 @@
|
||||
<data name="Errors.Workspace.MoveVerify" xml:space="preserve"><value>{0} did not match its source after it was copied; the workspace stays where it was.</value></data>
|
||||
<data name="Errors.Workspace.MoveNoRoom" xml:space="preserve"><value>The target drive needs {0} GB more for the workspace.</value></data>
|
||||
<data name="Errors.Workspace.SendSequence" xml:space="preserve"><value>{0} is an image sequence: a server takes one file per render, so it stays in the workspace.</value></data>
|
||||
<data name="Errors.Videos.FolderUnset" xml:space="preserve"><value>Choose a videos folder first: Settings › Archive.</value></data>
|
||||
<data name="Errors.Videos.FolderInsideArchive" xml:space="preserve"><value>The videos folder cannot be inside the archive or the workspace.</value></data>
|
||||
<data name="Errors.Videos.HashMismatch" xml:space="preserve"><value>{0} did not match its render after copying; the copy was removed.</value><comment>{0} file name</comment></data>
|
||||
<data name="Errors.Videos.NoSpace" xml:space="preserve"><value>Not enough free space in the videos folder: {0} more needed.</value><comment>{0} a size</comment></data>
|
||||
<data name="Errors.Videos.SequenceGone" xml:space="preserve"><value>Restore the sequence {0} first: the video belongs to it.</value><comment>{0} sequence title</comment></data>
|
||||
<data name="Errors.Videos.Fingerprint" xml:space="preserve"><value>The videos changed since the plan was made; review it again.</value></data>
|
||||
<data name="Errors.Videos.TrashMismatch" xml:space="preserve"><value>The trashed video no longer matches its record; it stays in the trash.</value></data>
|
||||
<data name="Errors.Videos.Busy" xml:space="preserve"><value>A job is using {0}; try again when it ends.</value><comment>{0} file name</comment></data>
|
||||
<data name="Errors.Videos.CannotPlay" xml:space="preserve"><value>Windows cannot decode this file here; Show in folder opens its folder.</value></data>
|
||||
</root>
|
||||
@@ -83,4 +83,70 @@
|
||||
<data name="Export.Warning.UnknownPreset" xml:space="preserve"><value>Unknown preset; the default preset is used.</value><comment>long</comment></data>
|
||||
<data name="Export.Warning.UnknownProfile" xml:space="preserve"><value>Unknown profile; the codec's default profile is used.</value><comment>long</comment></data>
|
||||
<data name="Export.Warning.UnknownRateControl" xml:space="preserve"><value>Unknown rate control; the preset's rate control is used.</value><comment>long</comment></data>
|
||||
<data name="Export.Group.Output" xml:space="preserve"><value>Output</value></data>
|
||||
<data name="Export.Group.Encoding" xml:space="preserve"><value>Encoding</value></data>
|
||||
<data name="Export.Group.Playback" xml:space="preserve"><value>Playback</value></data>
|
||||
<data name="Export.Group.File" xml:space="preserve"><value>File</value></data>
|
||||
<data name="Export.Auto" xml:space="preserve"><value>Auto</value></data>
|
||||
<data name="Export.RateControl" xml:space="preserve"><value>Rate control</value></data>
|
||||
<data name="Export.RateControl.Vbr" xml:space="preserve"><value>Variable</value></data>
|
||||
<data name="Export.RateControl.Cbr" xml:space="preserve"><value>Constant</value></data>
|
||||
<data name="Export.RateControl.Quality" xml:space="preserve"><value>Quality</value></data>
|
||||
<data name="Export.BitRate" xml:space="preserve"><value>Bit rate</value></data>
|
||||
<data name="Export.Keyframes" xml:space="preserve"><value>Keyframes</value></data>
|
||||
<data name="Export.Seconds" xml:space="preserve"><value>{0} s</value><comment>invariant: a duration in seconds</comment></data>
|
||||
<data name="Export.BFrames" xml:space="preserve"><value>B-frames</value></data>
|
||||
<data name="Export.Profile" xml:space="preserve"><value>Profile</value></data>
|
||||
<data name="Export.Profile.Baseline" xml:space="preserve"><value>Baseline</value><comment>invariant</comment></data>
|
||||
<data name="Export.Profile.Main" xml:space="preserve"><value>Main</value><comment>invariant</comment></data>
|
||||
<data name="Export.Profile.High" xml:space="preserve"><value>High</value><comment>invariant</comment></data>
|
||||
<data name="Export.Profile.Main10" xml:space="preserve"><value>Main 10</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.Standard" xml:space="preserve"><value>Resolution</value></data>
|
||||
<data name="Export.Resolution.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Export.Resolution.Source" xml:space="preserve"><value>Source</value></data>
|
||||
<data name="Export.Resolution.Custom" xml:space="preserve"><value>Custom</value></data>
|
||||
<data name="Export.Resolution.720p" xml:space="preserve"><value>720p</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.1080p" xml:space="preserve"><value>1080p</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.1440p" xml:space="preserve"><value>1440p</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.Uhd4k" xml:space="preserve"><value>4K UHD</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.Dci4k" xml:space="preserve"><value>DCI 4K</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.5k" xml:space="preserve"><value>5K</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.6k" xml:space="preserve"><value>6K</value><comment>invariant</comment></data>
|
||||
<data name="Export.Resolution.8k" xml:space="preserve"><value>8K</value><comment>invariant</comment></data>
|
||||
<data name="Export.Direction" xml:space="preserve"><value>Direction</value></data>
|
||||
<data name="Export.Direction.Forward" xml:space="preserve"><value>Forward</value></data>
|
||||
<data name="Export.Direction.Reverse" xml:space="preserve"><value>Reverse</value></data>
|
||||
<data name="Export.Direction.Boomerang" xml:space="preserve"><value>Boomerang</value></data>
|
||||
<data name="Export.Loops" xml:space="preserve"><value>Loops</value></data>
|
||||
<data name="Export.FadeIn" xml:space="preserve"><value>Fade in</value></data>
|
||||
<data name="Export.FadeOut" xml:space="preserve"><value>Fade out</value></data>
|
||||
<data name="Export.HoldEnd" xml:space="preserve"><value>Hold end</value></data>
|
||||
<data name="Export.Summary.NoFades" xml:space="preserve"><value>no fades</value></data>
|
||||
<data name="Export.Summary.Fades" xml:space="preserve"><value>fades {0} / {1}</value><comment>{0} fade in, {1} fade out, as durations</comment></data>
|
||||
<data name="Export.Summary.Hold" xml:space="preserve"><value>hold {0}</value><comment>{0} a duration</comment></data>
|
||||
<data name="Export.Summary.Loops" xml:space="preserve"><value>×{0}</value><comment>invariant: the number of passes</comment></data>
|
||||
<data name="Export.Summary.Keyframes" xml:space="preserve"><value>GOP {0}</value><comment>invariant: {0} the keyframe interval</comment></data>
|
||||
<data name="Export.Summary.BFrames" xml:space="preserve"><value>B {0}</value><comment>invariant: {0} the B-frame count</comment></data>
|
||||
<data name="Export.Footer.Videos" xml:space="preserve"><value>Videos ({0})</value><comment>{0} number of renders of the sequence</comment></data>
|
||||
<data name="Export.Footer.Batch" xml:space="preserve"><value>Batch ({0})</value><comment>{0} number of ticked presets</comment></data>
|
||||
<data name="Export.Footer.Summary" xml:space="preserve"><value>{0} · {1} · {2} · {3} · {4}</value><comment>invariant: file name, estimated size, estimated time, duration, frame count</comment></data>
|
||||
<data name="Export.Footer.Frames.one" xml:space="preserve"><value>{0:N0} frame</value></data>
|
||||
<data name="Export.Footer.Frames.other" xml:space="preserve"><value>{0:N0} frames</value></data>
|
||||
<data name="Export.Preset.Group.Video" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Export.Preset.Group.Social" xml:space="preserve"><value>Social</value></data>
|
||||
<data name="Export.Preset.Group.Intermediate" xml:space="preserve"><value>Intermediate</value></data>
|
||||
<data name="Export.Preset.Group.Sequence" xml:space="preserve"><value>Image sequence</value></data>
|
||||
<data name="Export.Preset.Group.Web" xml:space="preserve"><value>Web</value></data>
|
||||
<data name="Export.Preset.GroupCount" xml:space="preserve"><value>{0} ({1})</value><comment>invariant: a preset group and how many presets it holds</comment></data>
|
||||
<data name="Export.Column.Name" xml:space="preserve"><value>Name</value></data>
|
||||
<data name="Export.Column.Size" xml:space="preserve"><value>Size</value></data>
|
||||
<data name="Export.Column.Codec" xml:space="preserve"><value>Codec</value></data>
|
||||
<data name="Export.Column.Fps" xml:space="preserve"><value>fps</value><comment>invariant</comment></data>
|
||||
<data name="Export.Column.EstimatedSize" xml:space="preserve"><value>Est. size</value></data>
|
||||
<data name="Export.Column.EstimatedTime" xml:space="preserve"><value>Est. time</value></data>
|
||||
<data name="Export.Render.FadesShortened" xml:space="preserve"><value>The fades were longer than half of the video and were shortened to fit.</value><comment>long</comment></data>
|
||||
<data name="Export.Render.DirectionUnknown" xml:space="preserve"><value>Direction “{0}” not known; the video plays forward.</value><comment>long; {0} direction as stored</comment></data>
|
||||
<data name="Export.Render.BoomerangStack" xml:space="preserve"><value>A boomerang is not rendered with star trails; the video plays forward.</value><comment>long</comment></data>
|
||||
<data name="Export.Log.StillSaved" xml:space="preserve"><value>Frame {0} saved as {1}</value><comment>long: job log line; {0} frame number from 1; {1} file name</comment></data>
|
||||
<data name="Export.Job.Verifying" xml:space="preserve"><value>Verifying the file</value><comment>job progress stage</comment></data>
|
||||
</root>
|
||||
@@ -206,4 +206,5 @@
|
||||
<data name="Jobs.Log.WorkspaceSkip.Unreadable" xml:space="preserve"><value>it cannot be read</value></data>
|
||||
<data name="Jobs.Log.WorkspaceSkip.NoMedia" xml:space="preserve"><value>no media to remove</value></data>
|
||||
<data name="Jobs.Log.WorkspaceSkip.JustCopied" xml:space="preserve"><value>just copied</value></data>
|
||||
<data name="Jobs.Kind.VideoCopy" xml:space="preserve"><value>Copy videos</value></data>
|
||||
</root>
|
||||
@@ -264,4 +264,11 @@
|
||||
<data name="Server.Version" xml:space="preserve"><value>v{0}</value></data>
|
||||
<data name="Server.Error.ProjectMismatch" xml:space="preserve"><value>The project or version named with this render is not one of this sequence's.</value><comment>long</comment></data>
|
||||
<data name="Server.PauseMeteredTransfers" xml:space="preserve"><value>Pause metered transfers</value></data>
|
||||
<data name="Server.Setting.Playback" xml:space="preserve"><value>Playback</value></data>
|
||||
<data name="Server.Error.VideosFolderUnset" xml:space="preserve"><value>No videos folder is set on the server: set one in the admin panel's Settings.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.VideosFolderInvalid" xml:space="preserve"><value>The videos folder cannot be inside the archive.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.VideosNoSpace" xml:space="preserve"><value>The videos folder's volume lacks the space the copy needs.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.TrashHashMismatch" xml:space="preserve"><value>The trashed video no longer matches its record; it stays in the trash.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SequenceGone" xml:space="preserve"><value>The video's sequence is not in the library: restore the sequence first.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.VideoBusy" xml:space="preserve"><value>A job is using this video; try again when it ends.</value><comment>long</comment></data>
|
||||
</root>
|
||||
@@ -260,4 +260,8 @@
|
||||
<data name="Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>Move not finished</value></data>
|
||||
<data name="Settings.Workspace.MoveUnfinishedMessage" xml:space="preserve"><value>A move of the workspace to {0} stopped before it ended; its projects are still in {1}.</value><comment>long; {0} the target folder; {1} the folder in use</comment></data>
|
||||
<data name="Settings.Workspace.ResumeMove" xml:space="preserve"><value>Resume</value></data>
|
||||
<data name="Settings.Archive.VideosFolder" xml:space="preserve"><value>Videos folder</value></data>
|
||||
<data name="Settings.Archive.VideosPickTitle" xml:space="preserve"><value>Choose the videos folder</value></data>
|
||||
<data name="Settings.Archive.VideosBrowse" xml:space="preserve"><value>Choose…</value></data>
|
||||
<data name="Settings.Archive.VideosOpen" xml:space="preserve"><value>Open folder</value></data>
|
||||
</root>
|
||||
@@ -47,4 +47,5 @@
|
||||
<data name="Shell.Welcome.Server.Found" xml:space="preserve"><value>{0} on this network · {1}</value></data>
|
||||
<data name="Shell.Welcome.Title" xml:space="preserve"><value>Welcome to Chronos</value></data>
|
||||
<data name="Shell.WindowTitle" xml:space="preserve"><value>{0} — {1}</value><comment>{0} program name; {1} screen title</comment></data>
|
||||
<data name="Shell.Nav.Videos" xml:space="preserve"><value>Videos</value></data>
|
||||
</root>
|
||||
@@ -1001,4 +1001,81 @@
|
||||
<data name="Tooltips.Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>A move stopped before it ended: resume it first</value></data>
|
||||
<data name="Tooltips.Editor.Project.HasOriginals" xml:space="preserve"><value>The originals are in the workspace already</value></data>
|
||||
<data name="Tooltips.Editor.Project.ProxiesAlready" xml:space="preserve"><value>The workspace holds only the proxies already</value></data>
|
||||
<data name="Tooltips.Editor.RenderDetails" xml:space="preserve"><value>Render {0} · {1} · {2} · {3} · ~{4} · ~{5} · Ctrl+R</value><comment>{0} preset; {1} size; {2} codec and depth; {3} frame rate; {4} estimated size; {5} estimated time</comment></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Recommended" xml:space="preserve"><value>The advisor's pick for this sequence</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Recent" xml:space="preserve"><value>A preset this sequence was rendered with</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Other" xml:space="preserve"><value>Every other preset, by group</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Preset" xml:space="preserve"><value>Render with {0}: {1}</value><comment>{0} preset name; {1} its size, codec and frame rate</comment></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Batch" xml:space="preserve"><value>Render every preset of the batch, one job each</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.BatchEmpty" xml:space="preserve"><value>Tick presets in the Export step first</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.AddToQueue" xml:space="preserve"><value>Queue the render with the selected preset and keep editing</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.SaveFrame" xml:space="preserve"><value>Save the frame under the cursor as one image, with every correction</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.SaveFormat" xml:space="preserve"><value>Save the frame under the cursor as {0} at the output size</value><comment>{0} image format</comment></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Videos" xml:space="preserve"><value>Show the videos of this sequence</value></data>
|
||||
<data name="Tooltips.Export.StillNeedsFrame" xml:space="preserve"><value>Move the cursor onto a frame first</value></data>
|
||||
<data name="Tooltips.Export.StillReadOnly" xml:space="preserve"><value>This project opens read-only: no frame can be saved from it</value></data>
|
||||
<data name="Tooltips.Export.Group.Output" xml:space="preserve"><value>Show or hide the container, codec, size, frame rate and depth</value></data>
|
||||
<data name="Tooltips.Export.Group.Encoding" xml:space="preserve"><value>Show or hide the encoder, rate control, keyframes, B-frames and profile</value></data>
|
||||
<data name="Tooltips.Export.Group.Playback" xml:space="preserve"><value>Show or hide direction, loops, fades and hold</value></data>
|
||||
<data name="Tooltips.Export.Group.File" xml:space="preserve"><value>Show or hide the file name, folder and sync</value></data>
|
||||
<data name="Tooltips.Export.RateControl" xml:space="preserve"><value>Variable keeps quality, constant keeps a steady bit rate, quality targets a level</value></data>
|
||||
<data name="Tooltips.Export.RateControlNA" xml:space="preserve"><value>{0} has no rate control</value><comment>{0} codec name</comment></data>
|
||||
<data name="Tooltips.Export.BitRate" xml:space="preserve"><value>Average bit rate; more keeps detail and gradients, files grow</value></data>
|
||||
<data name="Tooltips.Export.Quality" xml:space="preserve"><value>Quality level 1–100; higher keeps more detail, files grow</value></data>
|
||||
<data name="Tooltips.Export.Keyframes" xml:space="preserve"><value>Seconds between keyframes; shorter seeks faster, files grow · Auto: the preset's</value></data>
|
||||
<data name="Tooltips.Export.BFrames" xml:space="preserve"><value>Frames predicted from both sides; more make smaller files · Auto: the preset's</value></data>
|
||||
<data name="Tooltips.Export.BFramesNA" xml:space="preserve"><value>{0} uses no B-frames</value><comment>{0} codec or profile name</comment></data>
|
||||
<data name="Tooltips.Export.Profile" xml:space="preserve"><value>Codec profile; the list follows the codec and the colour depth</value></data>
|
||||
<data name="Tooltips.Export.ProfileNA" xml:space="preserve"><value>{0} has a single profile</value><comment>{0} codec name</comment></data>
|
||||
<data name="Tooltips.Export.Resolution" xml:space="preserve"><value>A standard size, fitted to the chosen proportions; Custom takes width and height</value></data>
|
||||
<data name="Tooltips.Export.Direction" xml:space="preserve"><value>Play the frames forward, backward, or forward then back</value></data>
|
||||
<data name="Tooltips.Export.BoomerangStack" xml:space="preserve"><value>Boomerang is not available with star trails</value></data>
|
||||
<data name="Tooltips.Export.Loops" xml:space="preserve"><value>Times the video plays through; each pass is rendered again, so the render takes longer</value></data>
|
||||
<data name="Tooltips.Export.LoopsNA" xml:space="preserve"><value>A still frame plays once</value></data>
|
||||
<data name="Tooltips.Export.FadeIn" xml:space="preserve"><value>Seconds of fade from black at the start · Enter applies, Esc reverts</value></data>
|
||||
<data name="Tooltips.Export.FadeOut" xml:space="preserve"><value>Seconds of fade to black at the end · Enter applies, Esc reverts</value></data>
|
||||
<data name="Tooltips.Export.HoldEnd" xml:space="preserve"><value>Seconds the last frame stays on screen · Enter applies, Esc reverts</value></data>
|
||||
<data name="Tooltips.Export.PlaybackReset" xml:space="preserve"><value>Return to forward, once, without fades or hold</value></data>
|
||||
<data name="Tooltips.Export.ResetValue" xml:space="preserve"><value>Return to the preset's value</value></data>
|
||||
<data name="Tooltips.Export.Footer.Summary" xml:space="preserve"><value>Result file, estimated size and time, duration and frames</value></data>
|
||||
<data name="Tooltips.Export.Footer.Videos" xml:space="preserve"><value>Open Videos filtered on this sequence</value></data>
|
||||
<data name="Tooltips.Export.Footer.Batch" xml:space="preserve"><value>Queue every ticked preset; the sequence is prepared once</value></data>
|
||||
<data name="Tooltips.Export.PresetRow" xml:space="preserve"><value>Select {0}; the tick adds it to the batch</value><comment>{0} preset name</comment></data>
|
||||
<data name="Tooltips.Export.PresetGroup" xml:space="preserve"><value>Show or hide the presets of {0}</value><comment>{0} preset group name</comment></data>
|
||||
<data name="Tooltips.Export.PresetBatch" xml:space="preserve"><value>Include {0} when the batch is rendered</value><comment>{0} preset name</comment></data>
|
||||
<data name="Tooltips.Nav.Videos" xml:space="preserve"><value>Every render of this PC and the server: play, copy, delete · Ctrl+4</value></data>
|
||||
<data name="Tooltips.Videos.Search" xml:space="preserve"><value>Show the videos whose title, preset or file name contains this text</value></data>
|
||||
<data name="Tooltips.Videos.Kind" xml:space="preserve"><value>Show videos, stills or image sequences</value></data>
|
||||
<data name="Tooltips.Videos.Codec" xml:space="preserve"><value>Show the videos of one codec</value></data>
|
||||
<data name="Tooltips.Videos.Year" xml:space="preserve"><value>Show the videos made in one year</value></data>
|
||||
<data name="Tooltips.Videos.Source" xml:space="preserve"><value>Show the renders of this PC, of the server, or not sent yet</value></data>
|
||||
<data name="Tooltips.Videos.Sort" xml:space="preserve"><value>Order of the videos</value></data>
|
||||
<data name="Tooltips.Videos.View" xml:space="preserve"><value>Show the videos as cards or as a list</value></data>
|
||||
<data name="Tooltips.Videos.Play" xml:space="preserve"><value>Play in the pane on the right</value></data>
|
||||
<data name="Tooltips.Videos.ShowInFolder" xml:space="preserve"><value>Show the file in Explorer</value></data>
|
||||
<data name="Tooltips.Videos.Copy" xml:space="preserve"><value>Copy into the videos folder, checked by hash; the original stays</value></data>
|
||||
<data name="Tooltips.Videos.Download" xml:space="preserve"><value>Download from the server into the videos folder, checked by hash</value></data>
|
||||
<data name="Tooltips.Videos.CopyOnServer" xml:space="preserve"><value>Copy into the server's videos folder, checked by hash</value></data>
|
||||
<data name="Tooltips.Videos.Delete" xml:space="preserve"><value>Move into the archive's trash after a check of what goes; copies in the videos folder stay</value></data>
|
||||
<data name="Tooltips.Videos.DeleteConfirm" xml:space="preserve"><value>Move the listed videos into the trash; each can be restored</value></data>
|
||||
<data name="Tooltips.Videos.OpenInEdit" xml:space="preserve"><value>Open the sequence in Edit</value></data>
|
||||
<data name="Tooltips.Videos.ClosePlayer" xml:space="preserve"><value>Close the player</value></data>
|
||||
<data name="Tooltips.Videos.CannotPlay" xml:space="preserve"><value>Windows cannot decode this file here; Show in folder opens its folder</value></data>
|
||||
<data name="Tooltips.Videos.ServerOld" xml:space="preserve"><value>The server's Chronos has no videos library; update it to list its videos</value></data>
|
||||
<data name="Tooltips.Videos.ServerOffline" xml:space="preserve"><value>Not connected to a server: only this PC's videos are listed</value></data>
|
||||
<data name="Tooltips.Videos.FolderUnset" xml:space="preserve"><value>Choose a videos folder in Settings › Archive first</value></data>
|
||||
<data name="Tooltips.Videos.NoEditRight" xml:space="preserve"><value>Your account cannot copy on the server</value></data>
|
||||
<data name="Tooltips.Videos.NoDeleteRight" xml:space="preserve"><value>Your account cannot delete on the server</value></data>
|
||||
<data name="Tooltips.Videos.WorkspaceRow" xml:space="preserve"><value>Rendered in the workspace and not sent yet: play it, show it or send it</value></data>
|
||||
<data name="Tooltips.Videos.Missing" xml:space="preserve"><value>The file is not where it was rendered; Delete removes only its entry</value></data>
|
||||
<data name="Tooltips.Videos.Copied" xml:space="preserve"><value>Copied to the videos folder: {0}</value><comment>{0} copy path</comment></data>
|
||||
<data name="Tooltips.Videos.Here" xml:space="preserve"><value>The file is on this PC</value></data>
|
||||
<data name="Tooltips.Videos.OnServer" xml:space="preserve"><value>The file is on the server</value></data>
|
||||
<data name="Tooltips.Videos.HereAndServer" xml:space="preserve"><value>The same render is on this PC and on the server</value></data>
|
||||
<data name="Tooltips.Videos.NotSent" xml:space="preserve"><value>Rendered in the workspace, not in the library yet</value></data>
|
||||
<data name="Tooltips.Videos.Select" xml:space="preserve"><value>Select the video; Ctrl and Shift add to the selection</value></data>
|
||||
<data name="Tooltips.Settings.VideosFolder" xml:space="preserve"><value>Where Copy to folder puts videos; not inside the archive or the workspace</value></data>
|
||||
<data name="Tooltips.Settings.VideosBrowse" xml:space="preserve"><value>Choose the videos folder</value></data>
|
||||
<data name="Tooltips.Settings.VideosOpen" xml:space="preserve"><value>Open the videos folder in Explorer</value></data>
|
||||
<data name="Tooltips.Archive.TrashRestoreVideo" xml:space="preserve"><value>Move this video back into its folder after a hash check; its sequence must be in the library</value></data>
|
||||
</root>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype"><value>text/microsoft-resx</value></resheader>
|
||||
<resheader name="version"><value>2.0</value></resheader>
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Videos.Play" xml:space="preserve"><value>Play</value></data>
|
||||
<data name="Videos.ShowInFolder" xml:space="preserve"><value>Show in folder</value></data>
|
||||
<data name="Videos.Copy" xml:space="preserve"><value>Copy to folder</value></data>
|
||||
<data name="Videos.Download" xml:space="preserve"><value>Download</value></data>
|
||||
<data name="Videos.CopyOnServer" xml:space="preserve"><value>Copy on server</value></data>
|
||||
<data name="Videos.Delete" xml:space="preserve"><value>Delete…</value></data>
|
||||
<data name="Videos.OpenInEdit" xml:space="preserve"><value>Open in Edit</value></data>
|
||||
<data name="Videos.State.Here" xml:space="preserve"><value>Here</value></data>
|
||||
<data name="Videos.State.OnServer" xml:space="preserve"><value>On server</value></data>
|
||||
<data name="Videos.State.HereAndServer" xml:space="preserve"><value>Here and on server</value></data>
|
||||
<data name="Videos.State.Copied" xml:space="preserve"><value>Copied</value></data>
|
||||
<data name="Videos.State.Missing" xml:space="preserve"><value>Missing</value></data>
|
||||
<data name="Videos.State.NotSent" xml:space="preserve"><value>Not sent</value></data>
|
||||
<data name="Videos.Kind.All" xml:space="preserve"><value>All kinds</value></data>
|
||||
<data name="Videos.Kind.Video" xml:space="preserve"><value>Videos</value></data>
|
||||
<data name="Videos.Kind.Still" xml:space="preserve"><value>Stills</value></data>
|
||||
<data name="Videos.Kind.Sequence" xml:space="preserve"><value>Image sequences</value></data>
|
||||
<data name="Videos.Codec.All" xml:space="preserve"><value>All codecs</value></data>
|
||||
<data name="Videos.Year.All" xml:space="preserve"><value>All years</value></data>
|
||||
<data name="Videos.Source.All" xml:space="preserve"><value>All sources</value></data>
|
||||
<data name="Videos.Source.Local" xml:space="preserve"><value>This PC</value></data>
|
||||
<data name="Videos.Source.Server" xml:space="preserve"><value>Server</value></data>
|
||||
<data name="Videos.Source.NotSent" xml:space="preserve"><value>Not sent</value></data>
|
||||
<data name="Videos.Search" xml:space="preserve"><value>Search videos</value></data>
|
||||
<data name="Videos.Sort.Newest" xml:space="preserve"><value>Newest</value></data>
|
||||
<data name="Videos.Sort.Oldest" xml:space="preserve"><value>Oldest</value></data>
|
||||
<data name="Videos.Sort.Largest" xml:space="preserve"><value>Largest</value></data>
|
||||
<data name="Videos.Sort.Title" xml:space="preserve"><value>Title</value></data>
|
||||
<data name="Videos.View.Grid" xml:space="preserve"><value>Grid</value></data>
|
||||
<data name="Videos.View.List" xml:space="preserve"><value>List</value></data>
|
||||
<data name="Videos.Selected" xml:space="preserve"><value>Selected: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Videos.Empty" xml:space="preserve"><value>No videos</value></data>
|
||||
<data name="Videos.ServerUnreachable" xml:space="preserve"><value>Server not reachable</value></data>
|
||||
<data name="Videos.Column.Title" xml:space="preserve"><value>Title</value></data>
|
||||
<data name="Videos.Column.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Videos.Column.Format" xml:space="preserve"><value>Format</value></data>
|
||||
<data name="Videos.Column.Duration" xml:space="preserve"><value>Duration</value></data>
|
||||
<data name="Videos.Column.Size" xml:space="preserve"><value>Size</value></data>
|
||||
<data name="Videos.Column.Date" xml:space="preserve"><value>Date</value></data>
|
||||
<data name="Videos.Column.State" xml:space="preserve"><value>State</value></data>
|
||||
<data name="Videos.Details" xml:space="preserve"><value>{0}×{1} · {2} · {3} · {4}</value><comment>invariant: width, height, codec, duration, size</comment></data>
|
||||
<data name="Videos.Player.CannotPlay" xml:space="preserve"><value>Cannot play here</value></data>
|
||||
<data name="Videos.Player.Close" xml:space="preserve"><value>Close player</value></data>
|
||||
<data name="Videos.Delete.Title" xml:space="preserve"><value>Delete videos</value></data>
|
||||
<data name="Videos.Delete.Confirm" xml:space="preserve"><value>Move to trash</value></data>
|
||||
<data name="Videos.Delete.Summary" xml:space="preserve"><value>Videos: {0} · {1}</value><comment>{0} a count; {1} a size</comment></data>
|
||||
<data name="Videos.Delete.CopiesStay" xml:space="preserve"><value>Copies in the videos folder stay where they are.</value><comment>long</comment></data>
|
||||
<data name="Videos.Delete.Missing" xml:space="preserve"><value>File missing: only its entry goes.</value><comment>long</comment></data>
|
||||
<data name="Videos.Delete.Blocked" xml:space="preserve"><value>Not deleted: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Videos.Delete.Done" xml:space="preserve"><value>Moved to the trash: {0}</value><comment>{0} a count</comment></data>
|
||||
<data name="Videos.Blocked.Busy" xml:space="preserve"><value>In use by a job</value></data>
|
||||
<data name="Videos.Blocked.NotFound" xml:space="preserve"><value>Not found</value></data>
|
||||
<data name="Videos.Copy.Queued" xml:space="preserve"><value>Copy queued</value></data>
|
||||
<data name="Videos.Job.Copying" xml:space="preserve"><value>Copying videos</value><comment>job progress stage</comment></data>
|
||||
<data name="Videos.Job.Verifying" xml:space="preserve"><value>Verifying copies</value><comment>job progress stage</comment></data>
|
||||
<data name="Videos.Log.Copied" xml:space="preserve"><value>{0} copied to {1}</value><comment>long: job log line; {0} file name; {1} copy path</comment></data>
|
||||
<data name="Videos.Log.Mismatch" xml:space="preserve"><value>{0} did not match its render after copying; the copy was removed.</value><comment>long: job log line; {0} file name</comment></data>
|
||||
<data name="Videos.Log.Missing" xml:space="preserve"><value>{0} is missing; it was not copied.</value><comment>long: job log line; {0} file name</comment></data>
|
||||
<data name="Videos.Log.Trashed" xml:space="preserve"><value>{0} moved to the trash</value><comment>long: job log line; {0} file name</comment></data>
|
||||
<data name="Videos.Log.Restored" xml:space="preserve"><value>{0} restored</value><comment>long: job log line; {0} file name</comment></data>
|
||||
<data name="Videos.Target.Copy" xml:space="preserve"><value>Videos: {0}</value><comment>{0} a count (job target)</comment></data>
|
||||
</root>
|
||||
@@ -1081,4 +1081,86 @@
|
||||
<data name="Admin.Users.User" xml:space="preserve"><value>Utente</value></data>
|
||||
<data name="Admin.Users.Username" xml:space="preserve"><value>Nome utente</value></data>
|
||||
<data name="Admin.Users.Username.Tip" xml:space="preserve"><value>Lettere, cifre, punto e trattino; non si può cambiare in seguito</value></data>
|
||||
<data name="Admin.Nav.Videos" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Admin.Nav.Videos.Tip" xml:space="preserve"><value>Ogni render: riproduci, scarica, copia nella cartella video, elimina nel cestino</value></data>
|
||||
<data name="Admin.Job.Kind.VideoCopy" xml:space="preserve"><value>Copia video</value></data>
|
||||
<data name="Admin.Trash.Kind.Videos" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Admin.Trash.RestoreVideos.Tip" xml:space="preserve"><value>Riporta il video nella cartella della sua sequenza dopo un controllo SHA-256; la sequenza deve essere nella libreria</value></data>
|
||||
<data name="Admin.Trash.RestoredVideo" xml:space="preserve"><value>{0} è di nuovo in {1}.</value></data>
|
||||
<data name="Admin.Logs.Action.VideosDeleted" xml:space="preserve"><value>Video eliminati</value></data>
|
||||
<data name="Admin.Logs.Action.VideosCopied" xml:space="preserve"><value>Video copiati</value></data>
|
||||
<data name="Admin.Activity.VideosDeleted" xml:space="preserve"><value>{0} ha eliminato video · {1}</value></data>
|
||||
<data name="Admin.Activity.VideosCopied" xml:space="preserve"><value>{0} ha copiato video nella cartella video · {1}</value></data>
|
||||
<data name="Admin.Videos.Title" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Admin.Videos.Search" xml:space="preserve"><value>Cerca titolo, preset, file</value></data>
|
||||
<data name="Admin.Videos.Search.Tip" xml:space="preserve"><value>Mostra i video il cui titolo, preset o nome del file contiene questo testo</value></data>
|
||||
<data name="Admin.Videos.Kind" xml:space="preserve"><value>Tipo</value></data>
|
||||
<data name="Admin.Videos.Kind.Tip" xml:space="preserve"><value>Mostra video, fotogrammi o sequenze di immagini</value></data>
|
||||
<data name="Admin.Videos.Kind.All" xml:space="preserve"><value>Tutti i tipi</value></data>
|
||||
<data name="Admin.Videos.Kind.Video" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Admin.Videos.Kind.Still" xml:space="preserve"><value>Fotogrammi</value></data>
|
||||
<data name="Admin.Videos.Kind.Sequence" xml:space="preserve"><value>Sequenze di immagini</value></data>
|
||||
<data name="Admin.Videos.Codec" xml:space="preserve"><value>Codec</value></data>
|
||||
<data name="Admin.Videos.Codec.Tip" xml:space="preserve"><value>Mostra i video di un codec</value></data>
|
||||
<data name="Admin.Videos.Codec.All" xml:space="preserve"><value>Tutti i codec</value></data>
|
||||
<data name="Admin.Videos.Year" xml:space="preserve"><value>Anno</value></data>
|
||||
<data name="Admin.Videos.Year.Tip" xml:space="preserve"><value>Mostra i video fatti in un anno</value></data>
|
||||
<data name="Admin.Videos.Year.All" xml:space="preserve"><value>Tutti gli anni</value></data>
|
||||
<data name="Admin.Videos.Sort" xml:space="preserve"><value>Ordina</value></data>
|
||||
<data name="Admin.Videos.Sort.Tip" xml:space="preserve"><value>Ordine dei video</value></data>
|
||||
<data name="Admin.Videos.Sort.Newest" xml:space="preserve"><value>Più recenti</value></data>
|
||||
<data name="Admin.Videos.Sort.Oldest" xml:space="preserve"><value>Meno recenti</value></data>
|
||||
<data name="Admin.Videos.Sort.Largest" xml:space="preserve"><value>Più grandi</value></data>
|
||||
<data name="Admin.Videos.Sort.Title" xml:space="preserve"><value>Titolo</value></data>
|
||||
<data name="Admin.Videos.View.Cards" xml:space="preserve"><value>Schede</value></data>
|
||||
<data name="Admin.Videos.View.Cards.Tip" xml:space="preserve"><value>Mostra i video come schede</value></data>
|
||||
<data name="Admin.Videos.View.List" xml:space="preserve"><value>Elenco</value></data>
|
||||
<data name="Admin.Videos.View.List.Tip" xml:space="preserve"><value>Mostra i video come elenco</value></data>
|
||||
<data name="Admin.Videos.Selected" xml:space="preserve"><value>Selezionati: {0}</value></data>
|
||||
<data name="Admin.Videos.Select.Tip" xml:space="preserve"><value>Seleziona questo video</value></data>
|
||||
<data name="Admin.Videos.SelectAll.Tip" xml:space="preserve"><value>Seleziona tutti i video mostrati</value></data>
|
||||
<data name="Admin.Videos.Play" xml:space="preserve"><value>Riproduci</value></data>
|
||||
<data name="Admin.Videos.Play.Tip" xml:space="preserve"><value>Riproduce il video nel browser</value></data>
|
||||
<data name="Admin.Videos.Download" xml:space="preserve"><value>Scarica</value></data>
|
||||
<data name="Admin.Videos.Download.Tip" xml:space="preserve"><value>Scarica il file</value></data>
|
||||
<data name="Admin.Videos.Download.One.Tip" xml:space="preserve"><value>Seleziona un video per scaricarlo</value></data>
|
||||
<data name="Admin.Videos.Copy" xml:space="preserve"><value>Copia in cartella</value></data>
|
||||
<data name="Admin.Videos.Copy.Tip" xml:space="preserve"><value>Copia nella cartella video del server, verificata con l'hash; l'originale resta</value></data>
|
||||
<data name="Admin.Videos.Copy.NoFolder.Tip" xml:space="preserve"><value>Imposta prima una cartella video nelle Impostazioni</value></data>
|
||||
<data name="Admin.Videos.Copy.NoRight.Tip" xml:space="preserve"><value>Il tuo account non può copiare i video</value></data>
|
||||
<data name="Admin.Videos.Copy.Queued" xml:space="preserve"><value>Copia in coda: {0}</value></data>
|
||||
<data name="Admin.Videos.Delete" xml:space="preserve"><value>Elimina…</value></data>
|
||||
<data name="Admin.Videos.Delete.Tip" xml:space="preserve"><value>Sposta nel cestino dell'archivio dopo un controllo di ciò che va; le copie nella cartella video restano</value></data>
|
||||
<data name="Admin.Videos.Delete.NoRight.Tip" xml:space="preserve"><value>Il tuo account non può eliminare i video</value></data>
|
||||
<data name="Admin.Videos.Delete.Title" xml:space="preserve"><value>Elimina video</value></data>
|
||||
<data name="Admin.Videos.Delete.Summary" xml:space="preserve"><value>Video: {0} · {1}</value></data>
|
||||
<data name="Admin.Videos.Delete.CopiesStay" xml:space="preserve"><value>Le copie nella cartella video restano dove sono.</value></data>
|
||||
<data name="Admin.Videos.Delete.Missing" xml:space="preserve"><value>File mancante: va solo la sua voce</value></data>
|
||||
<data name="Admin.Videos.Delete.Blocked" xml:space="preserve"><value>Non eliminati: {0}</value></data>
|
||||
<data name="Admin.Videos.Delete.Confirm" xml:space="preserve"><value>Sposta nel cestino</value></data>
|
||||
<data name="Admin.Videos.Delete.Confirm.Tip" xml:space="preserve"><value>Sposta nel cestino i video elencati; ognuno si ripristina da Libreria › Cestino</value></data>
|
||||
<data name="Admin.Videos.Delete.Done" xml:space="preserve"><value>Spostati nel cestino: {0}</value></data>
|
||||
<data name="Admin.Videos.Blocked.Busy" xml:space="preserve"><value>In uso da un'attività</value></data>
|
||||
<data name="Admin.Videos.Blocked.NotFound" xml:space="preserve"><value>Non trovato</value></data>
|
||||
<data name="Admin.Videos.Empty" xml:space="preserve"><value>Nessun video</value></data>
|
||||
<data name="Admin.Videos.Column.Title" xml:space="preserve"><value>Titolo</value></data>
|
||||
<data name="Admin.Videos.Column.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Admin.Videos.Column.Kind" xml:space="preserve"><value>Tipo</value></data>
|
||||
<data name="Admin.Videos.Column.Format" xml:space="preserve"><value>Formato</value></data>
|
||||
<data name="Admin.Videos.Column.Duration" xml:space="preserve"><value>Durata</value></data>
|
||||
<data name="Admin.Videos.Column.Size" xml:space="preserve"><value>Dimensione</value></data>
|
||||
<data name="Admin.Videos.Column.Date" xml:space="preserve"><value>Data</value></data>
|
||||
<data name="Admin.Videos.Column.Hash" xml:space="preserve"><value>SHA-256</value></data>
|
||||
<data name="Admin.Videos.Column.State" xml:space="preserve"><value>Stato</value></data>
|
||||
<data name="Admin.Videos.State.Missing" xml:space="preserve"><value>Mancante</value></data>
|
||||
<data name="Admin.Videos.State.Missing.Tip" xml:space="preserve"><value>Il file non è dove è stato renderizzato; Elimina toglie solo la sua voce</value></data>
|
||||
<data name="Admin.Videos.State.Copied" xml:space="preserve"><value>Copiato</value></data>
|
||||
<data name="Admin.Videos.State.Copied.Tip" xml:space="preserve"><value>Copiato nella cartella video: {0}</value></data>
|
||||
<data name="Admin.Videos.Player.NoPlay" xml:space="preserve"><value>Questo file non si riproduce nel browser; scaricalo.</value></data>
|
||||
<data name="Admin.Videos.Player.Close.Tip" xml:space="preserve"><value>Chiude il lettore</value></data>
|
||||
<data name="Admin.Videos.AllVideos" xml:space="preserve"><value>Tutti i video</value></data>
|
||||
<data name="Admin.Videos.AllVideos.Tip" xml:space="preserve"><value>Apre Video filtrato su questa sequenza</value></data>
|
||||
<data name="Admin.Videos.Kind.Still.Label" xml:space="preserve"><value>Fotogramma</value></data>
|
||||
<data name="Admin.Settings.VideosPath" xml:space="preserve"><value>Cartella video</value></data>
|
||||
<data name="Admin.Settings.VideosPath.Tip" xml:space="preserve"><value>Dove Copia in cartella mette i video (il volume /videos in Docker); vuota disattiva la copia</value></data>
|
||||
</root>
|
||||
@@ -440,4 +440,5 @@
|
||||
<data name="Archive.Log.WorkspaceVersionNotHome" xml:space="preserve"><value>{0}: la versione del render non è all'origine; inviato solo col progetto</value></data>
|
||||
<data name="Archive.Log.WorkspaceSendNoProvenance" xml:space="preserve"><value>{0}: il server ha tenuto il render senza il suo progetto; aggiorna il server per tenerlo</value></data>
|
||||
<data name="Archive.Log.WorkspaceMoveLeft" xml:space="preserve"><value>Spostato; {0} contiene ancora {1} elementi che non è stato possibile eliminare</value></data>
|
||||
<data name="Archive.Trash.Kind.Videos" xml:space="preserve"><value>Video</value></data>
|
||||
</root>
|
||||
@@ -467,4 +467,12 @@
|
||||
<data name="Editor.Workspace.SavedForRender" xml:space="preserve"><value>Versione {0} salvata per il render</value></data>
|
||||
<data name="Editor.RemoveCopy.UnsentRenders" xml:space="preserve"><value>Render non inviati</value></data>
|
||||
<data name="Editor.RemoveCopy.LastOriginals" xml:space="preserve"><value>Ultimi originali</value></data>
|
||||
<data name="Editor.RenderMenu.Recommended" xml:space="preserve"><value>Consigliato</value></data>
|
||||
<data name="Editor.RenderMenu.Recent" xml:space="preserve"><value>Recenti</value></data>
|
||||
<data name="Editor.RenderMenu.Other" xml:space="preserve"><value>Altri preset</value></data>
|
||||
<data name="Editor.RenderMenu.Batch" xml:space="preserve"><value>Renderizza serie ({0})</value></data>
|
||||
<data name="Editor.RenderMenu.SaveFrame" xml:space="preserve"><value>Salva fotogramma</value></data>
|
||||
<data name="Editor.RenderMenu.Videos" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Editor.RenderMenu.Details" xml:space="preserve"><value>{0} · {1} · {2}</value></data>
|
||||
<data name="Editor.Still.Queued" xml:space="preserve"><value>Salvataggio fotogramma in coda</value></data>
|
||||
</root>
|
||||
@@ -116,4 +116,13 @@
|
||||
<data name="Errors.Workspace.MoveVerify" xml:space="preserve"><value>{0} non corrispondeva alla sua origine dopo la copia; lo spazio di lavoro resta dov'era.</value></data>
|
||||
<data name="Errors.Workspace.MoveNoRoom" xml:space="preserve"><value>Al disco di destinazione servono altri {0} GB per lo spazio di lavoro.</value></data>
|
||||
<data name="Errors.Workspace.SendSequence" xml:space="preserve"><value>{0} è una sequenza di immagini: un server accetta un file per render, quindi resta nello spazio di lavoro.</value></data>
|
||||
<data name="Errors.Videos.FolderUnset" xml:space="preserve"><value>Scegli prima una cartella video: Impostazioni › Archivio.</value></data>
|
||||
<data name="Errors.Videos.FolderInsideArchive" xml:space="preserve"><value>La cartella video non può stare dentro l'archivio o lo spazio di lavoro.</value></data>
|
||||
<data name="Errors.Videos.HashMismatch" xml:space="preserve"><value>{0} non corrisponde al suo render dopo la copia; la copia è stata rimossa.</value></data>
|
||||
<data name="Errors.Videos.NoSpace" xml:space="preserve"><value>Spazio libero insufficiente nella cartella video: ne servono altri {0}.</value></data>
|
||||
<data name="Errors.Videos.SequenceGone" xml:space="preserve"><value>Ripristina prima la sequenza {0}: il video le appartiene.</value></data>
|
||||
<data name="Errors.Videos.Fingerprint" xml:space="preserve"><value>I video sono cambiati dopo il piano; rivedilo.</value></data>
|
||||
<data name="Errors.Videos.TrashMismatch" xml:space="preserve"><value>Il video nel cestino non corrisponde più al suo registro; resta nel cestino.</value></data>
|
||||
<data name="Errors.Videos.Busy" xml:space="preserve"><value>Un'attività sta usando {0}; riprova quando finisce.</value></data>
|
||||
<data name="Errors.Videos.CannotPlay" xml:space="preserve"><value>Windows non sa decodificare questo file qui; Mostra nella cartella apre la sua cartella.</value></data>
|
||||
</root>
|
||||
@@ -69,4 +69,70 @@
|
||||
<data name="Export.Warning.UnknownPreset" xml:space="preserve"><value>Preset sconosciuto; viene usato quello predefinito.</value></data>
|
||||
<data name="Export.Warning.UnknownProfile" xml:space="preserve"><value>Profilo sconosciuto; viene usato quello predefinito del codec.</value></data>
|
||||
<data name="Export.Warning.UnknownRateControl" xml:space="preserve"><value>Controllo del bit rate sconosciuto; viene usato quello del preset.</value></data>
|
||||
<data name="Export.Group.Output" xml:space="preserve"><value>Uscita</value></data>
|
||||
<data name="Export.Group.Encoding" xml:space="preserve"><value>Codifica</value></data>
|
||||
<data name="Export.Group.Playback" xml:space="preserve"><value>Riproduzione</value></data>
|
||||
<data name="Export.Group.File" xml:space="preserve"><value>File</value></data>
|
||||
<data name="Export.Auto" xml:space="preserve"><value>Auto</value></data>
|
||||
<data name="Export.RateControl" xml:space="preserve"><value>Controllo bitrate</value></data>
|
||||
<data name="Export.RateControl.Vbr" xml:space="preserve"><value>Variabile</value></data>
|
||||
<data name="Export.RateControl.Cbr" xml:space="preserve"><value>Costante</value></data>
|
||||
<data name="Export.RateControl.Quality" xml:space="preserve"><value>Qualità</value></data>
|
||||
<data name="Export.BitRate" xml:space="preserve"><value>Bitrate</value></data>
|
||||
<data name="Export.Keyframes" xml:space="preserve"><value>Fotogrammi chiave</value></data>
|
||||
<data name="Export.Seconds" xml:space="preserve"><value>{0} s</value></data>
|
||||
<data name="Export.BFrames" xml:space="preserve"><value>Fotogrammi B</value></data>
|
||||
<data name="Export.Profile" xml:space="preserve"><value>Profilo</value></data>
|
||||
<data name="Export.Profile.Baseline" xml:space="preserve"><value>Baseline</value></data>
|
||||
<data name="Export.Profile.Main" xml:space="preserve"><value>Main</value></data>
|
||||
<data name="Export.Profile.High" xml:space="preserve"><value>High</value></data>
|
||||
<data name="Export.Profile.Main10" xml:space="preserve"><value>Main 10</value></data>
|
||||
<data name="Export.Resolution.Standard" xml:space="preserve"><value>Risoluzione</value></data>
|
||||
<data name="Export.Resolution.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Export.Resolution.Source" xml:space="preserve"><value>Origine</value></data>
|
||||
<data name="Export.Resolution.Custom" xml:space="preserve"><value>Personalizzata</value></data>
|
||||
<data name="Export.Resolution.720p" xml:space="preserve"><value>720p</value></data>
|
||||
<data name="Export.Resolution.1080p" xml:space="preserve"><value>1080p</value></data>
|
||||
<data name="Export.Resolution.1440p" xml:space="preserve"><value>1440p</value></data>
|
||||
<data name="Export.Resolution.Uhd4k" xml:space="preserve"><value>4K UHD</value></data>
|
||||
<data name="Export.Resolution.Dci4k" xml:space="preserve"><value>DCI 4K</value></data>
|
||||
<data name="Export.Resolution.5k" xml:space="preserve"><value>5K</value></data>
|
||||
<data name="Export.Resolution.6k" xml:space="preserve"><value>6K</value></data>
|
||||
<data name="Export.Resolution.8k" xml:space="preserve"><value>8K</value></data>
|
||||
<data name="Export.Direction" xml:space="preserve"><value>Direzione</value></data>
|
||||
<data name="Export.Direction.Forward" xml:space="preserve"><value>Avanti</value></data>
|
||||
<data name="Export.Direction.Reverse" xml:space="preserve"><value>Indietro</value></data>
|
||||
<data name="Export.Direction.Boomerang" xml:space="preserve"><value>Boomerang</value></data>
|
||||
<data name="Export.Loops" xml:space="preserve"><value>Ripetizioni</value></data>
|
||||
<data name="Export.FadeIn" xml:space="preserve"><value>Dissolvenza in</value></data>
|
||||
<data name="Export.FadeOut" xml:space="preserve"><value>Dissolvenza out</value></data>
|
||||
<data name="Export.HoldEnd" xml:space="preserve"><value>Pausa finale</value></data>
|
||||
<data name="Export.Summary.NoFades" xml:space="preserve"><value>senza dissolvenze</value></data>
|
||||
<data name="Export.Summary.Fades" xml:space="preserve"><value>dissolvenze {0} / {1}</value></data>
|
||||
<data name="Export.Summary.Hold" xml:space="preserve"><value>pausa {0}</value></data>
|
||||
<data name="Export.Summary.Loops" xml:space="preserve"><value>×{0}</value></data>
|
||||
<data name="Export.Summary.Keyframes" xml:space="preserve"><value>GOP {0}</value></data>
|
||||
<data name="Export.Summary.BFrames" xml:space="preserve"><value>B {0}</value></data>
|
||||
<data name="Export.Footer.Videos" xml:space="preserve"><value>Video ({0})</value></data>
|
||||
<data name="Export.Footer.Batch" xml:space="preserve"><value>Serie ({0})</value></data>
|
||||
<data name="Export.Footer.Summary" xml:space="preserve"><value>{0} · {1} · {2} · {3} · {4}</value></data>
|
||||
<data name="Export.Footer.Frames.one" xml:space="preserve"><value>{0:N0} fotogramma</value></data>
|
||||
<data name="Export.Footer.Frames.other" xml:space="preserve"><value>{0:N0} fotogrammi</value></data>
|
||||
<data name="Export.Preset.Group.Video" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Export.Preset.Group.Social" xml:space="preserve"><value>Social</value></data>
|
||||
<data name="Export.Preset.Group.Intermediate" xml:space="preserve"><value>Intermedi</value></data>
|
||||
<data name="Export.Preset.Group.Sequence" xml:space="preserve"><value>Sequenza di immagini</value></data>
|
||||
<data name="Export.Preset.Group.Web" xml:space="preserve"><value>Web</value></data>
|
||||
<data name="Export.Preset.GroupCount" xml:space="preserve"><value>{0} ({1})</value></data>
|
||||
<data name="Export.Column.Name" xml:space="preserve"><value>Nome</value></data>
|
||||
<data name="Export.Column.Size" xml:space="preserve"><value>Dimensioni</value></data>
|
||||
<data name="Export.Column.Codec" xml:space="preserve"><value>Codec</value></data>
|
||||
<data name="Export.Column.Fps" xml:space="preserve"><value>fps</value></data>
|
||||
<data name="Export.Column.EstimatedSize" xml:space="preserve"><value>Peso stim.</value></data>
|
||||
<data name="Export.Column.EstimatedTime" xml:space="preserve"><value>Tempo stim.</value></data>
|
||||
<data name="Export.Render.FadesShortened" xml:space="preserve"><value>Le dissolvenze superavano metà del video e sono state accorciate.</value></data>
|
||||
<data name="Export.Render.DirectionUnknown" xml:space="preserve"><value>Direzione “{0}” sconosciuta; il video va avanti.</value></data>
|
||||
<data name="Export.Render.BoomerangStack" xml:space="preserve"><value>Il boomerang non si renderizza con le scie stellari; il video va avanti.</value></data>
|
||||
<data name="Export.Log.StillSaved" xml:space="preserve"><value>Fotogramma {0} salvato come {1}</value></data>
|
||||
<data name="Export.Job.Verifying" xml:space="preserve"><value>Verifica del file</value></data>
|
||||
</root>
|
||||
@@ -204,4 +204,5 @@
|
||||
<data name="Jobs.Log.WorkspaceSkip.Unreadable" xml:space="preserve"><value>non leggibile</value></data>
|
||||
<data name="Jobs.Log.WorkspaceSkip.NoMedia" xml:space="preserve"><value>nessun media da rimuovere</value></data>
|
||||
<data name="Jobs.Log.WorkspaceSkip.JustCopied" xml:space="preserve"><value>appena copiato</value></data>
|
||||
<data name="Jobs.Kind.VideoCopy" xml:space="preserve"><value>Copia video</value></data>
|
||||
</root>
|
||||
@@ -261,4 +261,11 @@
|
||||
<data name="Server.Version" xml:space="preserve"><value>v{0}</value></data>
|
||||
<data name="Server.Error.ProjectMismatch" xml:space="preserve"><value>Il progetto o la versione indicati con questo render non sono di questa sequenza.</value></data>
|
||||
<data name="Server.PauseMeteredTransfers" xml:space="preserve"><value>Pausa trasferimenti a consumo</value></data>
|
||||
<data name="Server.Setting.Playback" xml:space="preserve"><value>Riproduzione</value></data>
|
||||
<data name="Server.Error.VideosFolderUnset" xml:space="preserve"><value>Sul server non c'è una cartella video: impostala nelle Impostazioni del pannello.</value></data>
|
||||
<data name="Server.Error.VideosFolderInvalid" xml:space="preserve"><value>La cartella video non può stare dentro l'archivio.</value></data>
|
||||
<data name="Server.Error.VideosNoSpace" xml:space="preserve"><value>Il volume della cartella video non ha lo spazio che serve alla copia.</value></data>
|
||||
<data name="Server.Error.TrashHashMismatch" xml:space="preserve"><value>Il video nel cestino non corrisponde più al suo registro; resta nel cestino.</value></data>
|
||||
<data name="Server.Error.SequenceGone" xml:space="preserve"><value>La sequenza del video non è nella libreria: ripristina prima la sequenza.</value></data>
|
||||
<data name="Server.Error.VideoBusy" xml:space="preserve"><value>Un'attività sta usando questo video; riprova quando finisce.</value></data>
|
||||
</root>
|
||||
@@ -257,4 +257,8 @@
|
||||
<data name="Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>Spostamento non finito</value></data>
|
||||
<data name="Settings.Workspace.MoveUnfinishedMessage" xml:space="preserve"><value>Uno spostamento dello spazio di lavoro in {0} si è fermato prima della fine; i progetti sono ancora in {1}.</value></data>
|
||||
<data name="Settings.Workspace.ResumeMove" xml:space="preserve"><value>Riprendi</value></data>
|
||||
<data name="Settings.Archive.VideosFolder" xml:space="preserve"><value>Cartella video</value></data>
|
||||
<data name="Settings.Archive.VideosPickTitle" xml:space="preserve"><value>Scegli la cartella video</value></data>
|
||||
<data name="Settings.Archive.VideosBrowse" xml:space="preserve"><value>Scegli…</value></data>
|
||||
<data name="Settings.Archive.VideosOpen" xml:space="preserve"><value>Apri cartella</value></data>
|
||||
</root>
|
||||
@@ -46,4 +46,5 @@
|
||||
<data name="Shell.Welcome.Server.Found" xml:space="preserve"><value>{0} in questa rete · {1}</value></data>
|
||||
<data name="Shell.Welcome.Title" xml:space="preserve"><value>Benvenuto in Chronos</value></data>
|
||||
<data name="Shell.WindowTitle" xml:space="preserve"><value>{0} — {1}</value></data>
|
||||
<data name="Shell.Nav.Videos" xml:space="preserve"><value>Video</value></data>
|
||||
</root>
|
||||
@@ -999,4 +999,81 @@
|
||||
<data name="Tooltips.Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>Uno spostamento si è fermato prima della fine: riprendilo prima</value></data>
|
||||
<data name="Tooltips.Editor.Project.HasOriginals" xml:space="preserve"><value>Gli originali sono già nello spazio di lavoro</value></data>
|
||||
<data name="Tooltips.Editor.Project.ProxiesAlready" xml:space="preserve"><value>Lo spazio di lavoro contiene già solo i proxy</value></data>
|
||||
<data name="Tooltips.Editor.RenderDetails" xml:space="preserve"><value>Renderizza {0} · {1} · {2} · {3} · ~{4} · ~{5} · Ctrl+R</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Recommended" xml:space="preserve"><value>La scelta del consulente per questa sequenza</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Recent" xml:space="preserve"><value>Un preset già usato per questa sequenza</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Other" xml:space="preserve"><value>Tutti gli altri preset, per gruppo</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Preset" xml:space="preserve"><value>Renderizza con {0}: {1}</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Batch" xml:space="preserve"><value>Renderizza ogni preset della serie, un'attività ciascuno</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.BatchEmpty" xml:space="preserve"><value>Spunta prima dei preset nel passo Esporta</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.AddToQueue" xml:space="preserve"><value>Mette in coda il render con il preset scelto; puoi continuare a modificare</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.SaveFrame" xml:space="preserve"><value>Salva il fotogramma sotto il cursore come un'immagine, con ogni correzione</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.SaveFormat" xml:space="preserve"><value>Salva il fotogramma sotto il cursore come {0} alle dimensioni di uscita</value></data>
|
||||
<data name="Tooltips.Editor.RenderMenu.Videos" xml:space="preserve"><value>Mostra i video di questa sequenza</value></data>
|
||||
<data name="Tooltips.Export.StillNeedsFrame" xml:space="preserve"><value>Porta prima il cursore su un fotogramma</value></data>
|
||||
<data name="Tooltips.Export.StillReadOnly" xml:space="preserve"><value>Questo progetto è in sola lettura: non se ne possono salvare fotogrammi</value></data>
|
||||
<data name="Tooltips.Export.Group.Output" xml:space="preserve"><value>Mostra o nascondi contenitore, codec, dimensioni, frequenza e profondità</value></data>
|
||||
<data name="Tooltips.Export.Group.Encoding" xml:space="preserve"><value>Mostra o nascondi encoder, controllo bitrate, fotogrammi chiave, fotogrammi B e profilo</value></data>
|
||||
<data name="Tooltips.Export.Group.Playback" xml:space="preserve"><value>Mostra o nascondi direzione, ripetizioni, dissolvenze e pausa</value></data>
|
||||
<data name="Tooltips.Export.Group.File" xml:space="preserve"><value>Mostra o nascondi nome del file, cartella e sincronizzazione</value></data>
|
||||
<data name="Tooltips.Export.RateControl" xml:space="preserve"><value>Variabile tiene la qualità, costante un bitrate fisso, qualità punta a un livello</value></data>
|
||||
<data name="Tooltips.Export.RateControlNA" xml:space="preserve"><value>{0} non ha controllo del bitrate</value></data>
|
||||
<data name="Tooltips.Export.BitRate" xml:space="preserve"><value>Bitrate medio; di più conserva dettagli e sfumature, i file crescono</value></data>
|
||||
<data name="Tooltips.Export.Quality" xml:space="preserve"><value>Livello di qualità 1–100; più alto conserva più dettagli, i file crescono</value></data>
|
||||
<data name="Tooltips.Export.Keyframes" xml:space="preserve"><value>Secondi tra i fotogrammi chiave; meno va più veloce nella ricerca, i file crescono · Auto: quelli del preset</value></data>
|
||||
<data name="Tooltips.Export.BFrames" xml:space="preserve"><value>Fotogrammi previsti da entrambi i lati; di più fanno file più piccoli · Auto: quelli del preset</value></data>
|
||||
<data name="Tooltips.Export.BFramesNA" xml:space="preserve"><value>{0} non usa fotogrammi B</value></data>
|
||||
<data name="Tooltips.Export.Profile" xml:space="preserve"><value>Profilo del codec; l'elenco segue il codec e la profondità colore</value></data>
|
||||
<data name="Tooltips.Export.ProfileNA" xml:space="preserve"><value>{0} ha un solo profilo</value></data>
|
||||
<data name="Tooltips.Export.Resolution" xml:space="preserve"><value>Una dimensione standard, adattata alle proporzioni scelte; Personalizzata usa larghezza e altezza</value></data>
|
||||
<data name="Tooltips.Export.Direction" xml:space="preserve"><value>Riproduce i fotogrammi in avanti, all'indietro, o avanti e poi indietro</value></data>
|
||||
<data name="Tooltips.Export.BoomerangStack" xml:space="preserve"><value>Il boomerang non è disponibile con le scie stellari</value></data>
|
||||
<data name="Tooltips.Export.Loops" xml:space="preserve"><value>Volte che il video si ripete; ogni passaggio si renderizza di nuovo, quindi il render dura di più</value></data>
|
||||
<data name="Tooltips.Export.LoopsNA" xml:space="preserve"><value>Un fotogramma singolo non si ripete</value></data>
|
||||
<data name="Tooltips.Export.FadeIn" xml:space="preserve"><value>Secondi di dissolvenza dal nero all'inizio · Invio applica, Esc annulla</value></data>
|
||||
<data name="Tooltips.Export.FadeOut" xml:space="preserve"><value>Secondi di dissolvenza al nero alla fine · Invio applica, Esc annulla</value></data>
|
||||
<data name="Tooltips.Export.HoldEnd" xml:space="preserve"><value>Secondi in cui l'ultimo fotogramma resta sullo schermo · Invio applica, Esc annulla</value></data>
|
||||
<data name="Tooltips.Export.PlaybackReset" xml:space="preserve"><value>Torna ad avanti, una volta, senza dissolvenze né pausa</value></data>
|
||||
<data name="Tooltips.Export.ResetValue" xml:space="preserve"><value>Torna al valore del preset</value></data>
|
||||
<data name="Tooltips.Export.Footer.Summary" xml:space="preserve"><value>File risultante, peso e tempo stimati, durata e fotogrammi</value></data>
|
||||
<data name="Tooltips.Export.Footer.Videos" xml:space="preserve"><value>Apre Video filtrato su questa sequenza</value></data>
|
||||
<data name="Tooltips.Export.Footer.Batch" xml:space="preserve"><value>Mette in coda ogni preset spuntato; la sequenza si prepara una volta</value></data>
|
||||
<data name="Tooltips.Export.PresetRow" xml:space="preserve"><value>Seleziona {0}; la spunta lo aggiunge alla serie</value></data>
|
||||
<data name="Tooltips.Export.PresetGroup" xml:space="preserve"><value>Mostra o nascondi i preset di {0}</value></data>
|
||||
<data name="Tooltips.Export.PresetBatch" xml:space="preserve"><value>Includi {0} quando si renderizza la serie</value></data>
|
||||
<data name="Tooltips.Nav.Videos" xml:space="preserve"><value>Ogni render di questo PC e del server: riproduci, copia, elimina · Ctrl+4</value></data>
|
||||
<data name="Tooltips.Videos.Search" xml:space="preserve"><value>Mostra i video il cui titolo, preset o nome del file contiene questo testo</value></data>
|
||||
<data name="Tooltips.Videos.Kind" xml:space="preserve"><value>Mostra video, fotogrammi o sequenze di immagini</value></data>
|
||||
<data name="Tooltips.Videos.Codec" xml:space="preserve"><value>Mostra i video di un codec</value></data>
|
||||
<data name="Tooltips.Videos.Year" xml:space="preserve"><value>Mostra i video fatti in un anno</value></data>
|
||||
<data name="Tooltips.Videos.Source" xml:space="preserve"><value>Mostra i render di questo PC, del server, o non ancora inviati</value></data>
|
||||
<data name="Tooltips.Videos.Sort" xml:space="preserve"><value>Ordine dei video</value></data>
|
||||
<data name="Tooltips.Videos.View" xml:space="preserve"><value>Mostra i video come schede o come elenco</value></data>
|
||||
<data name="Tooltips.Videos.Play" xml:space="preserve"><value>Riproduce nel riquadro a destra</value></data>
|
||||
<data name="Tooltips.Videos.ShowInFolder" xml:space="preserve"><value>Mostra il file in Esplora file</value></data>
|
||||
<data name="Tooltips.Videos.Copy" xml:space="preserve"><value>Copia nella cartella video, verificata con l'hash; l'originale resta</value></data>
|
||||
<data name="Tooltips.Videos.Download" xml:space="preserve"><value>Scarica dal server nella cartella video, verificato con l'hash</value></data>
|
||||
<data name="Tooltips.Videos.CopyOnServer" xml:space="preserve"><value>Copia nella cartella video del server, verificata con l'hash</value></data>
|
||||
<data name="Tooltips.Videos.Delete" xml:space="preserve"><value>Sposta nel cestino dell'archivio dopo un controllo di ciò che va; le copie nella cartella video restano</value></data>
|
||||
<data name="Tooltips.Videos.DeleteConfirm" xml:space="preserve"><value>Sposta nel cestino i video elencati; ognuno si può ripristinare</value></data>
|
||||
<data name="Tooltips.Videos.OpenInEdit" xml:space="preserve"><value>Apre la sequenza in Modifica</value></data>
|
||||
<data name="Tooltips.Videos.ClosePlayer" xml:space="preserve"><value>Chiude il lettore</value></data>
|
||||
<data name="Tooltips.Videos.CannotPlay" xml:space="preserve"><value>Windows non sa decodificare questo file qui; Mostra nella cartella apre la sua cartella</value></data>
|
||||
<data name="Tooltips.Videos.ServerOld" xml:space="preserve"><value>Il Chronos del server non ha la libreria video; aggiornalo per vederne i video</value></data>
|
||||
<data name="Tooltips.Videos.ServerOffline" xml:space="preserve"><value>Non connesso a un server: sono elencati solo i video di questo PC</value></data>
|
||||
<data name="Tooltips.Videos.FolderUnset" xml:space="preserve"><value>Scegli prima una cartella video in Impostazioni › Archivio</value></data>
|
||||
<data name="Tooltips.Videos.NoEditRight" xml:space="preserve"><value>Il tuo account non può copiare sul server</value></data>
|
||||
<data name="Tooltips.Videos.NoDeleteRight" xml:space="preserve"><value>Il tuo account non può eliminare sul server</value></data>
|
||||
<data name="Tooltips.Videos.WorkspaceRow" xml:space="preserve"><value>Renderizzato nello spazio di lavoro e non ancora inviato: riproducilo, mostralo o invialo</value></data>
|
||||
<data name="Tooltips.Videos.Missing" xml:space="preserve"><value>Il file non è dove è stato renderizzato; Elimina toglie solo la sua voce</value></data>
|
||||
<data name="Tooltips.Videos.Copied" xml:space="preserve"><value>Copiato nella cartella video: {0}</value></data>
|
||||
<data name="Tooltips.Videos.Here" xml:space="preserve"><value>Il file è su questo PC</value></data>
|
||||
<data name="Tooltips.Videos.OnServer" xml:space="preserve"><value>Il file è sul server</value></data>
|
||||
<data name="Tooltips.Videos.HereAndServer" xml:space="preserve"><value>Lo stesso render è su questo PC e sul server</value></data>
|
||||
<data name="Tooltips.Videos.NotSent" xml:space="preserve"><value>Renderizzato nello spazio di lavoro, non ancora nella libreria</value></data>
|
||||
<data name="Tooltips.Videos.Select" xml:space="preserve"><value>Seleziona il video; Ctrl e Maiusc aggiungono alla selezione</value></data>
|
||||
<data name="Tooltips.Settings.VideosFolder" xml:space="preserve"><value>Dove Copia in cartella mette i video; non dentro l'archivio o lo spazio di lavoro</value></data>
|
||||
<data name="Tooltips.Settings.VideosBrowse" xml:space="preserve"><value>Scegli la cartella video</value></data>
|
||||
<data name="Tooltips.Settings.VideosOpen" xml:space="preserve"><value>Apre la cartella video in Esplora file</value></data>
|
||||
<data name="Tooltips.Archive.TrashRestoreVideo" xml:space="preserve"><value>Riporta questo video nella sua cartella dopo un controllo dell'hash; la sua sequenza deve essere nella libreria</value></data>
|
||||
</root>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<resheader name="resmimetype"><value>text/microsoft-resx</value></resheader>
|
||||
<resheader name="version"><value>2.0</value></resheader>
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Videos.Play" xml:space="preserve"><value>Riproduci</value></data>
|
||||
<data name="Videos.ShowInFolder" xml:space="preserve"><value>Mostra nella cartella</value></data>
|
||||
<data name="Videos.Copy" xml:space="preserve"><value>Copia in cartella</value></data>
|
||||
<data name="Videos.Download" xml:space="preserve"><value>Scarica</value></data>
|
||||
<data name="Videos.CopyOnServer" xml:space="preserve"><value>Copia sul server</value></data>
|
||||
<data name="Videos.Delete" xml:space="preserve"><value>Elimina…</value></data>
|
||||
<data name="Videos.OpenInEdit" xml:space="preserve"><value>Apri in Modifica</value></data>
|
||||
<data name="Videos.State.Here" xml:space="preserve"><value>Qui</value></data>
|
||||
<data name="Videos.State.OnServer" xml:space="preserve"><value>Sul server</value></data>
|
||||
<data name="Videos.State.HereAndServer" xml:space="preserve"><value>Qui e sul server</value></data>
|
||||
<data name="Videos.State.Copied" xml:space="preserve"><value>Copiato</value></data>
|
||||
<data name="Videos.State.Missing" xml:space="preserve"><value>Mancante</value></data>
|
||||
<data name="Videos.State.NotSent" xml:space="preserve"><value>Non inviato</value></data>
|
||||
<data name="Videos.Kind.All" xml:space="preserve"><value>Tutti i tipi</value></data>
|
||||
<data name="Videos.Kind.Video" xml:space="preserve"><value>Video</value></data>
|
||||
<data name="Videos.Kind.Still" xml:space="preserve"><value>Fotogrammi</value></data>
|
||||
<data name="Videos.Kind.Sequence" xml:space="preserve"><value>Sequenze di immagini</value></data>
|
||||
<data name="Videos.Codec.All" xml:space="preserve"><value>Tutti i codec</value></data>
|
||||
<data name="Videos.Year.All" xml:space="preserve"><value>Tutti gli anni</value></data>
|
||||
<data name="Videos.Source.All" xml:space="preserve"><value>Tutte le origini</value></data>
|
||||
<data name="Videos.Source.Local" xml:space="preserve"><value>Questo PC</value></data>
|
||||
<data name="Videos.Source.Server" xml:space="preserve"><value>Server</value></data>
|
||||
<data name="Videos.Source.NotSent" xml:space="preserve"><value>Non inviati</value></data>
|
||||
<data name="Videos.Search" xml:space="preserve"><value>Cerca video</value></data>
|
||||
<data name="Videos.Sort.Newest" xml:space="preserve"><value>Più recenti</value></data>
|
||||
<data name="Videos.Sort.Oldest" xml:space="preserve"><value>Meno recenti</value></data>
|
||||
<data name="Videos.Sort.Largest" xml:space="preserve"><value>Più grandi</value></data>
|
||||
<data name="Videos.Sort.Title" xml:space="preserve"><value>Titolo</value></data>
|
||||
<data name="Videos.View.Grid" xml:space="preserve"><value>Griglia</value></data>
|
||||
<data name="Videos.View.List" xml:space="preserve"><value>Elenco</value></data>
|
||||
<data name="Videos.Selected" xml:space="preserve"><value>Selezionati: {0}</value></data>
|
||||
<data name="Videos.Empty" xml:space="preserve"><value>Nessun video</value></data>
|
||||
<data name="Videos.ServerUnreachable" xml:space="preserve"><value>Server non raggiungibile</value></data>
|
||||
<data name="Videos.Column.Title" xml:space="preserve"><value>Titolo</value></data>
|
||||
<data name="Videos.Column.Preset" xml:space="preserve"><value>Preset</value></data>
|
||||
<data name="Videos.Column.Format" xml:space="preserve"><value>Formato</value></data>
|
||||
<data name="Videos.Column.Duration" xml:space="preserve"><value>Durata</value></data>
|
||||
<data name="Videos.Column.Size" xml:space="preserve"><value>Dimensione</value></data>
|
||||
<data name="Videos.Column.Date" xml:space="preserve"><value>Data</value></data>
|
||||
<data name="Videos.Column.State" xml:space="preserve"><value>Stato</value></data>
|
||||
<data name="Videos.Details" xml:space="preserve"><value>{0}×{1} · {2} · {3} · {4}</value></data>
|
||||
<data name="Videos.Player.CannotPlay" xml:space="preserve"><value>Non riproducibile qui</value></data>
|
||||
<data name="Videos.Player.Close" xml:space="preserve"><value>Chiudi lettore</value></data>
|
||||
<data name="Videos.Delete.Title" xml:space="preserve"><value>Elimina video</value></data>
|
||||
<data name="Videos.Delete.Confirm" xml:space="preserve"><value>Sposta nel cestino</value></data>
|
||||
<data name="Videos.Delete.Summary" xml:space="preserve"><value>Video: {0} · {1}</value></data>
|
||||
<data name="Videos.Delete.CopiesStay" xml:space="preserve"><value>Le copie nella cartella video restano dove sono.</value></data>
|
||||
<data name="Videos.Delete.Missing" xml:space="preserve"><value>File mancante: va solo la sua voce.</value></data>
|
||||
<data name="Videos.Delete.Blocked" xml:space="preserve"><value>Non eliminati: {0}</value></data>
|
||||
<data name="Videos.Delete.Done" xml:space="preserve"><value>Spostati nel cestino: {0}</value></data>
|
||||
<data name="Videos.Blocked.Busy" xml:space="preserve"><value>In uso da un'attività</value></data>
|
||||
<data name="Videos.Blocked.NotFound" xml:space="preserve"><value>Non trovato</value></data>
|
||||
<data name="Videos.Copy.Queued" xml:space="preserve"><value>Copia in coda</value></data>
|
||||
<data name="Videos.Job.Copying" xml:space="preserve"><value>Copia dei video</value></data>
|
||||
<data name="Videos.Job.Verifying" xml:space="preserve"><value>Verifica delle copie</value></data>
|
||||
<data name="Videos.Log.Copied" xml:space="preserve"><value>{0} copiato in {1}</value></data>
|
||||
<data name="Videos.Log.Mismatch" xml:space="preserve"><value>{0} non corrisponde al suo render dopo la copia; la copia è stata rimossa.</value></data>
|
||||
<data name="Videos.Log.Missing" xml:space="preserve"><value>{0} manca; non è stato copiato.</value></data>
|
||||
<data name="Videos.Log.Trashed" xml:space="preserve"><value>{0} spostato nel cestino</value></data>
|
||||
<data name="Videos.Log.Restored" xml:space="preserve"><value>{0} ripristinato</value></data>
|
||||
<data name="Videos.Target.Copy" xml:space="preserve"><value>Video: {0}</value></data>
|
||||
</root>
|
||||
@@ -101,6 +101,7 @@ public static class SyncText
|
||||
["export.nameTemplate"] = "Server.Setting.OutputName",
|
||||
["export.folder"] = "Server.Setting.ExportFolder",
|
||||
["export.batch"] = "Server.Setting.Batch",
|
||||
["export.playback"] = "Server.Setting.Playback",
|
||||
["excludedFrames"] = "Server.Setting.ExcludedFrames",
|
||||
["heroFrame"] = "Server.Setting.HeroFrame",
|
||||
};
|
||||
|
||||
@@ -164,6 +164,75 @@ public sealed record Render
|
||||
|
||||
/// <summary>The project version rendered; null for a render of the sequence's settings.</summary>
|
||||
public Guid? ProjectVersionId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Lower-case hex SHA-256 of a single-file render (owner review 1, R9), hashed when it is recorded; null for an image
|
||||
/// sequence's folder (verified file by file when copied) and for a render recorded before migration 0010, hashed the
|
||||
/// first time it is copied, deleted or restored.
|
||||
/// </summary>
|
||||
public string? Sha256 { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// What the render is beyond its codec (<see cref="RenderKind"/>): null for a video or an image sequence (told apart by
|
||||
/// <see cref="Codec"/>), <see cref="RenderKind.Still"/> for one frame saved as an image. A text, so a newer Chronos can add
|
||||
/// kinds.
|
||||
/// </summary>
|
||||
public string? Kind { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>The values of <see cref="Render.Kind"/> and of the videos library's kinds (owner review 1, R9).</summary>
|
||||
public static class RenderKind
|
||||
{
|
||||
/// <summary>A video file (MP4, AVI, GIF, APNG): <see cref="Render.Kind"/> null and a video codec.</summary>
|
||||
public const string Video = "video";
|
||||
|
||||
/// <summary>A folder of numbered images: <see cref="Render.Kind"/> null and an image-sequence codec.</summary>
|
||||
public const string Sequence = "sequence";
|
||||
|
||||
/// <summary>One frame saved as one image ("Save frame"): fps 0 and duration 0.</summary>
|
||||
public const string Still = "still";
|
||||
|
||||
/// <summary>
|
||||
/// The library kind of a render: its <see cref="Render.Kind"/> when set (a kind of a newer Chronos as it is), else
|
||||
/// <see cref="Sequence"/> for an image-sequence codec and <see cref="Video"/> otherwise.
|
||||
/// </summary>
|
||||
public static string Of(string? kind, string? codec) =>
|
||||
kind is { Length: > 0 } ? kind
|
||||
: codec is { } c && c.EndsWith("sequence", StringComparison.OrdinalIgnoreCase) ? Sequence
|
||||
: Video;
|
||||
|
||||
/// <inheritdoc cref="Of(string?, string?)"/>
|
||||
public static string Of(Render render)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(render);
|
||||
return Of(render.Kind, render.Codec);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A verified copy of a render in a videos folder (owner review 1, R9; <c>render_copies</c>): recorded once the copy matched
|
||||
/// its render. There is no link to <c>renders</c>, so the copy of a server render downloaded to a PC is recorded too, and a
|
||||
/// copy outlives its render's deletion (copies are the user's files; Chronos never deletes them).
|
||||
/// </summary>
|
||||
public sealed record RenderCopy
|
||||
{
|
||||
public required Guid Id { get; init; }
|
||||
|
||||
/// <summary>The render copied (of this index, or of the server it was downloaded from).</summary>
|
||||
public required Guid RenderId { get; init; }
|
||||
|
||||
/// <summary>Absolute path of the copy (a file, or a folder for an image sequence).</summary>
|
||||
public required string Path { get; init; }
|
||||
|
||||
/// <summary>Lower-case hex SHA-256 the copy was verified against; null for an image sequence's folder (verified per file).</summary>
|
||||
public string? Sha256 { get; init; }
|
||||
|
||||
public long Bytes { get; init; }
|
||||
|
||||
public DateTimeOffset CopiedAt { get; init; }
|
||||
|
||||
/// <summary>The user (server) or the PC (desktop) that copied it.</summary>
|
||||
public string? CopiedBy { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -123,6 +123,12 @@ public enum JobKind
|
||||
/// source kept until every file is verified (owner review 2, R8, phase 5c); stored as 23.
|
||||
/// </summary>
|
||||
WorkspaceMove = 23,
|
||||
|
||||
/// <summary>
|
||||
/// Copies renders into the videos folder (owner review 1, R9), each copy hash-verified against its render before it takes
|
||||
/// its name, the render itself never touched; on the desktop a server-only render is downloaded into it; stored as 24.
|
||||
/// </summary>
|
||||
VideoCopy = 24,
|
||||
}
|
||||
|
||||
/// <summary>Why a photo left a sequence (its tombstone, owner review 2, R6); stored as a number.</summary>
|
||||
|
||||
@@ -278,6 +278,116 @@ public sealed record ExportSettings
|
||||
/// </summary>
|
||||
public bool SyncToServer { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// How the rendered frames play (owner review 1, R8): direction, loops, fades and a hold at the end, applied by
|
||||
/// <c>OutputProgram</c> between the plan and the encoder. Null at the default (forward, once, no fades, no hold), which
|
||||
/// <see cref="ProjectSettings.ToJson"/> writes whenever <see cref="PlaybackSettings.IsDefault"/>. Settings format 3. It
|
||||
/// lives in the export, so the batch presets of the export inherit it.
|
||||
/// </summary>
|
||||
public PlaybackSettings? Playback { get; init; }
|
||||
|
||||
/// <summary>Members this Chronos does not know (written by a newer one): kept as they are, so they survive a round trip.</summary>
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, JsonElement>? Extra { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>The directions of <see cref="PlaybackSettings.Direction"/>: texts, not an enum, so a newer Chronos can add one.</summary>
|
||||
public static class PlaybackDirection
|
||||
{
|
||||
/// <summary>The plan as it is (the default, never written).</summary>
|
||||
public const string Forward = "forward";
|
||||
|
||||
/// <summary>The plan from its last frame to its first.</summary>
|
||||
public const string Reverse = "reverse";
|
||||
|
||||
/// <summary>Forward, then backward without repeating the turning frame.</summary>
|
||||
public const string Boomerang = "boomerang";
|
||||
|
||||
/// <summary>The directions this Chronos renders, in the order the editor offers them.</summary>
|
||||
public static IReadOnlyList<string> All { get; } = [Forward, Reverse, Boomerang];
|
||||
|
||||
/// <summary>Whether this Chronos renders <paramref name="direction"/> (null is forward); the comparison ignores case.</summary>
|
||||
public static bool IsKnown(string? direction) =>
|
||||
direction is null || All.Contains(direction, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The playback of an export (owner review 1, R8; settings format 3): each member null at its default and omitted then, so
|
||||
/// a project that sets nothing here keeps its text. Values out of range are clamped when rendered
|
||||
/// (<see cref="EffectiveLoops"/> and the other effective values); a direction this Chronos does not know renders forward
|
||||
/// with the warning <c>Export.Render.DirectionUnknown</c>.
|
||||
/// </summary>
|
||||
public sealed record PlaybackSettings
|
||||
{
|
||||
/// <summary>The most passes a video plays (<see cref="Loops"/>).</summary>
|
||||
public const int MaxLoops = 10;
|
||||
|
||||
/// <summary>The longest fade in or out, in seconds.</summary>
|
||||
public const double MaxFadeSeconds = 30;
|
||||
|
||||
/// <summary>The longest hold of the last frame, in seconds.</summary>
|
||||
public const double MaxHoldSeconds = 60;
|
||||
|
||||
/// <summary><see cref="PlaybackDirection"/>: null for forward; "reverse" or "boomerang".</summary>
|
||||
public string? Direction { get; init; }
|
||||
|
||||
/// <summary>Passes of the whole video, 1..<see cref="MaxLoops"/>; null for 1.</summary>
|
||||
public int? Loops { get; init; }
|
||||
|
||||
/// <summary>Seconds of fade from black at the start, 0..<see cref="MaxFadeSeconds"/>; null for 0.</summary>
|
||||
public double? FadeIn { get; init; }
|
||||
|
||||
/// <summary>Seconds of fade to black at the end, 0..<see cref="MaxFadeSeconds"/>; null for 0.</summary>
|
||||
public double? FadeOut { get; init; }
|
||||
|
||||
/// <summary>Seconds the last frame stays on screen after the last pass, 0..<see cref="MaxHoldSeconds"/>; null for 0.</summary>
|
||||
public double? HoldEnd { get; init; }
|
||||
|
||||
/// <summary>The direction rendered: forward for null and for a direction this Chronos does not know.</summary>
|
||||
[JsonIgnore]
|
||||
public string EffectiveDirection => Direction is { } d && PlaybackDirection.IsKnown(d) ? d.ToLowerInvariant() : PlaybackDirection.Forward;
|
||||
|
||||
/// <summary>The passes rendered, clamped to 1..<see cref="MaxLoops"/>.</summary>
|
||||
[JsonIgnore]
|
||||
public int EffectiveLoops => Math.Clamp(Loops ?? 1, 1, MaxLoops);
|
||||
|
||||
/// <summary>The fade in rendered, in seconds, clamped (a value that is not finite counts as 0).</summary>
|
||||
[JsonIgnore]
|
||||
public double EffectiveFadeIn => Seconds(FadeIn, MaxFadeSeconds);
|
||||
|
||||
/// <summary>The fade out rendered, in seconds, clamped (a value that is not finite counts as 0).</summary>
|
||||
[JsonIgnore]
|
||||
public double EffectiveFadeOut => Seconds(FadeOut, MaxFadeSeconds);
|
||||
|
||||
/// <summary>The hold rendered, in seconds, clamped (a value that is not finite counts as 0).</summary>
|
||||
[JsonIgnore]
|
||||
public double EffectiveHoldEnd => Seconds(HoldEnd, MaxHoldSeconds);
|
||||
|
||||
/// <summary>
|
||||
/// The playback renders as the default (forward, once, no fades, no hold) and holds nothing a newer Chronos wrote: the
|
||||
/// export then writes no playback at all. A direction this Chronos does not know is not the default (it is a newer
|
||||
/// Chronos's), so it is kept and raises the format.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool IsDefault =>
|
||||
(Direction is null || string.Equals(Direction, PlaybackDirection.Forward, StringComparison.OrdinalIgnoreCase))
|
||||
&& EffectiveLoops == 1 && EffectiveFadeIn == 0 && EffectiveFadeOut == 0 && EffectiveHoldEnd == 0 && Extra is not { Count: > 0 };
|
||||
|
||||
/// <summary>
|
||||
/// The same playback with each member at its default (forward, 1, 0) set to null, so it is not written; values out of
|
||||
/// range and unknown directions stay as they are. <see cref="ProjectSettings.ToJson"/> writes the playback this way.
|
||||
/// </summary>
|
||||
public PlaybackSettings Normalized() => this with
|
||||
{
|
||||
Direction = string.Equals(Direction, PlaybackDirection.Forward, StringComparison.OrdinalIgnoreCase) ? null : Direction,
|
||||
Loops = Loops == 1 ? null : Loops,
|
||||
FadeIn = FadeIn == 0 ? null : FadeIn,
|
||||
FadeOut = FadeOut == 0 ? null : FadeOut,
|
||||
HoldEnd = HoldEnd == 0 ? null : HoldEnd,
|
||||
};
|
||||
|
||||
private static double Seconds(double? value, double max) => value is { } v && double.IsFinite(v) ? Math.Clamp(v, 0, max) : 0;
|
||||
|
||||
/// <summary>Members this Chronos does not know (written by a newer one): kept as they are, so they survive a round trip.</summary>
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, JsonElement>? Extra { get; set; }
|
||||
@@ -323,7 +433,10 @@ public sealed record LookSettings
|
||||
public sealed record ProjectSettings
|
||||
{
|
||||
/// <summary>The highest settings format this Chronos reads; a project of a higher one opens read-only (<see cref="IsNewerFormat"/>).</summary>
|
||||
public const int CurrentVersion = 2;
|
||||
public const int CurrentVersion = 3;
|
||||
|
||||
/// <summary>The format of a project whose export plays other than forward once without fades (<see cref="ExportSettings.Playback"/>).</summary>
|
||||
public const int PlaybackVersion = 3;
|
||||
|
||||
/// <summary>The format of a project that uses nothing added since the first one, which most projects are written as.</summary>
|
||||
public const int BaseVersion = 1;
|
||||
@@ -377,11 +490,13 @@ public sealed record ProjectSettings
|
||||
public bool IsNewerFormat => Version > CurrentVersion;
|
||||
|
||||
/// <summary>
|
||||
/// The lowest settings format that renders these settings the same: 2 while a turn, mirror, flip or straighten
|
||||
/// The lowest settings format that renders these settings the same: 3 while the export's playback is not the default
|
||||
/// (<see cref="PlaybackSettings.IsDefault"/>), 2 while a turn, mirror, flip or straighten
|
||||
/// (<see cref="CameraSettings.IsOriented"/>) or a look other than the identity is set, otherwise <see cref="BaseVersion"/>.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public int RequiredFormat => Camera.IsOriented || Look is { IsIdentity: false } ? 2 : BaseVersion;
|
||||
public int RequiredFormat =>
|
||||
Export.Playback is { IsDefault: false } ? PlaybackVersion : Camera.IsOriented || Look is { IsIdentity: false } ? 2 : BaseVersion;
|
||||
|
||||
/// <summary>The format <see cref="ToJson"/> writes: <see cref="RequiredFormat"/>, or a newer format read, kept as it is.</summary>
|
||||
[JsonIgnore]
|
||||
@@ -389,9 +504,16 @@ public sealed record ProjectSettings
|
||||
|
||||
/// <summary>
|
||||
/// The settings as JSON, stamped with <see cref="WrittenFormat"/>. Every serialisation of a project goes through here,
|
||||
/// so the version written always matches the members used.
|
||||
/// so the version written always matches the members used; a playback at its default is written as none, and each of
|
||||
/// its members at its default is left out (<see cref="PlaybackSettings.Normalized"/>).
|
||||
/// </summary>
|
||||
public string ToJson() => JsonSerializer.Serialize(Version == WrittenFormat ? this : this with { Version = WrittenFormat }, ProjectJson.Default.ProjectSettings);
|
||||
public string ToJson()
|
||||
{
|
||||
var written = Export.Playback is { } playback
|
||||
? this with { Export = Export with { Playback = playback.IsDefault ? null : playback.Normalized() } }
|
||||
: this;
|
||||
return JsonSerializer.Serialize(written.Version == WrittenFormat ? written : written with { Version = WrittenFormat }, ProjectJson.Default.ProjectSettings);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reads a project; members missing from <paramref name="json"/> (an API client's partial settings, an older file)
|
||||
@@ -821,4 +943,5 @@ public sealed record ProjectSettings
|
||||
UseStringEnumConverter = true,
|
||||
PropertyNameCaseInsensitive = true)]
|
||||
[JsonSerializable(typeof(ProjectSettings))]
|
||||
[JsonSerializable(typeof(PlaybackSettings))]
|
||||
internal sealed partial class ProjectJson : JsonSerializerContext;
|
||||
@@ -0,0 +1,81 @@
|
||||
using Chronos.Core.Project;
|
||||
using Chronos.Core.Video;
|
||||
|
||||
namespace Chronos.Core.Render;
|
||||
|
||||
/// <summary>One frame the encoder receives, in emission order (<see cref="OutputProgram"/>).</summary>
|
||||
/// <param name="PlanIndex">The frame of <see cref="RenderPlan.Frames"/> rendered for it.</param>
|
||||
/// <param name="Duration90k">How long it shows, on the 90 kHz clock: the planned frame's duration, a share of it (a held
|
||||
/// frame split per slot inside a fade), or longer (the hold at the end).</param>
|
||||
/// <param name="Gain">The linear-light multiplier of the fade to and from black, applied after the look and the knee
|
||||
/// (<c>FrameFinish</c>): 1 leaves the frame as it is, 0 is black. Already in linear light (the sRGB ramp converted), so a
|
||||
/// fade looks even.</param>
|
||||
public readonly record struct ProgramEntry(int PlanIndex, long Duration90k, double Gain);
|
||||
|
||||
/// <summary>
|
||||
/// The output program of a render (owner review 1, R8): the plan's frames in the order and for the time they are emitted,
|
||||
/// with the fade gain of each, from the export's <see cref="PlaybackSettings"/>. Reverse is the plan backwards; a boomerang
|
||||
/// is forward then backward without repeating the turning frame; loops repeat the pass (a boomerang's later passes start at
|
||||
/// its second frame, so the joint is not doubled); the hold extends the last emitted frame; fades longer than half of the
|
||||
/// program are scaled to fit (warning <see cref="FadesShortenedWarning"/>). Every pass is rendered again, so the render
|
||||
/// time grows with <see cref="Count"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Phase 5 groundwork: the API is final; <see cref="Build(IReadOnlyList{PlannedFrame}, PlaybackSettings?, Rational)"/> emits
|
||||
/// the plan forward once, without fades or hold, until the output program parcel completes it.
|
||||
/// </remarks>
|
||||
public sealed class OutputProgram
|
||||
{
|
||||
/// <summary>Warning key: the fades were longer than half of the program and were scaled to fit.</summary>
|
||||
public const string FadesShortenedWarning = "Export.Render.FadesShortened";
|
||||
|
||||
/// <summary>Warning key: the playback names a direction this Chronos does not know ({0}); the video plays forward.</summary>
|
||||
public const string DirectionUnknownWarning = "Export.Render.DirectionUnknown";
|
||||
|
||||
/// <summary>Warning key: a boomerang is not rendered with star trails; the video plays forward.</summary>
|
||||
public const string BoomerangStackWarning = "Export.Render.BoomerangStack";
|
||||
|
||||
private OutputProgram(IReadOnlyList<ProgramEntry> entries, IReadOnlyList<RenderWarning> warnings)
|
||||
{
|
||||
Entries = entries;
|
||||
Warnings = warnings;
|
||||
long total = 0;
|
||||
foreach (var entry in entries) total += entry.Duration90k;
|
||||
Duration90k = total;
|
||||
}
|
||||
|
||||
/// <summary>The emitted frames, in order.</summary>
|
||||
public IReadOnlyList<ProgramEntry> Entries { get; }
|
||||
|
||||
/// <summary>Frames the encoder receives (and the render renders).</summary>
|
||||
public int Count => Entries.Count;
|
||||
|
||||
/// <summary>Exact total duration on the 90 kHz clock, holds included.</summary>
|
||||
public long Duration90k { get; }
|
||||
|
||||
/// <summary>The duration in seconds.</summary>
|
||||
public double DurationSeconds => Duration90k / 90000.0;
|
||||
|
||||
/// <summary>What the program changed of the playback asked for (fades shortened, an unknown direction played forward).</summary>
|
||||
public IReadOnlyList<RenderWarning> Warnings { get; }
|
||||
|
||||
/// <summary>The program of <paramref name="plan"/>'s frames played as <paramref name="playback"/> says (null: forward once).</summary>
|
||||
public static OutputProgram Build(RenderPlan plan, PlaybackSettings? playback, Rational frameRate)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(plan);
|
||||
return Build(plan.Frames, playback, frameRate);
|
||||
}
|
||||
|
||||
/// <summary>The program of the planned <paramref name="frames"/> played as <paramref name="playback"/> says (null: forward once).</summary>
|
||||
/// <param name="frameRate">The output frame rate: the grid a held frame is split on inside a fade.</param>
|
||||
public static OutputProgram Build(IReadOnlyList<PlannedFrame> frames, PlaybackSettings? playback, Rational frameRate)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(frames);
|
||||
if (frameRate.Numerator <= 0 || frameRate.Denominator <= 0) throw new ArgumentOutOfRangeException(nameof(frameRate));
|
||||
var warnings = new List<RenderWarning>();
|
||||
if (playback?.Direction is { } direction && !PlaybackDirection.IsKnown(direction)) warnings.Add(new RenderWarning(DirectionUnknownWarning, direction));
|
||||
var entries = new ProgramEntry[frames.Count];
|
||||
for (var i = 0; i < frames.Count; i++) entries[i] = new ProgramEntry(i, frames[i].Duration90k, 1);
|
||||
return new OutputProgram(entries, warnings);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using Chronos.Core.Export;
|
||||
using Chronos.Core.Project;
|
||||
using Chronos.Core.Video;
|
||||
|
||||
namespace Chronos.Core.Render;
|
||||
|
||||
@@ -9,6 +10,25 @@ namespace Chronos.Core.Render;
|
||||
/// </summary>
|
||||
public static class RenderRules
|
||||
{
|
||||
/// <summary>
|
||||
/// The settings format a still job needs (owner review 1, R8, "Save frame"): an older program reads the job as a render
|
||||
/// of the whole video, so it must never claim one.
|
||||
/// </summary>
|
||||
public const int StillFormat = 3;
|
||||
|
||||
/// <summary>The codecs a still frame is saved with, in the order "Save frame" offers them: PNG, JPEG and TIFF 16-bit.</summary>
|
||||
public static IReadOnlyList<VideoCodec> StillCodecs { get; } = [VideoCodec.PngSequence, VideoCodec.JpegSequence, VideoCodec.Tiff16Sequence];
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="RequiredFormat(ProjectSettings, ResolvedExport, int, int)"/>, and at least <see cref="StillFormat"/> for a
|
||||
/// still job (<paramref name="still"/>: one frame saved as an image).
|
||||
/// </summary>
|
||||
public static int RequiredFormat(ProjectSettings settings, ResolvedExport export, int sourceWidth, int sourceHeight, bool still)
|
||||
{
|
||||
var format = RequiredFormat(settings, export, sourceWidth, sourceHeight);
|
||||
return still ? int.Max(format, StillFormat) : format;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The settings format a render of <paramref name="settings"/> with <paramref name="export"/> on a source of the given
|
||||
/// (Exif-oriented) size needs: the format the settings are written in (<see cref="ProjectSettings.WrittenFormat"/>), and
|
||||
|
||||
@@ -68,6 +68,12 @@ public sealed class ArchiveService : IJobHandlerProvider
|
||||
/// <summary>Deletes photos of a sequence into the archive's trash and restores them (owner review 2, R6).</summary>
|
||||
public FrameTrash FrameTrash { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The videos library of this index (owner review 1, R9): every render listed, deleted into the trash, restored and copied
|
||||
/// into a videos folder. The groundwork stub until the library lands (<see cref="Chronos.Data.Videos.IVideoLibrary.IsAvailable"/> false).
|
||||
/// </summary>
|
||||
public Chronos.Data.Videos.IVideoLibrary Videos { get; } = Chronos.Data.Videos.NotImplementedVideoLibrary.Instance;
|
||||
|
||||
/// <summary>Converts sequences to JPEG, TIFF-16 or linear DNG, replacing their frames or into new sequences (owner review 2, R7).</summary>
|
||||
public MassConverter Converter { get; }
|
||||
|
||||
|
||||
@@ -60,6 +60,12 @@ public enum TrashKind
|
||||
|
||||
/// <summary>Originals a conversion replaced (owner review 2, R7): erased only while their replacements still match.</summary>
|
||||
Replaced,
|
||||
|
||||
/// <summary>
|
||||
/// A render deleted from the videos library (owner review 1, R9): its file under <c>trash/videos/</c> with a record, listed
|
||||
/// as "videos" (<see cref="Videos.VideoTrashNames"/>).
|
||||
/// </summary>
|
||||
Videos,
|
||||
}
|
||||
|
||||
/// <summary>An entry of an archive's trash, as <see cref="SequenceTrash.ListAsync"/> lists it: a deleted sequence or deleted photos.</summary>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
-- The videos library (owner review 1, R9). Renders remember the SHA-256 of their file (null for an image sequence's
|
||||
-- folder, verified file by file when copied, and for renders recorded before this migration, hashed the first time they
|
||||
-- are copied, deleted or restored) and their kind (null for a video or an image sequence, told apart by the codec;
|
||||
-- 'still' for one frame saved as an image). The library lists every render newest first. render_copies records each
|
||||
-- hash-verified copy into a videos folder; it has no foreign key to renders, so the copy of a server render downloaded to
|
||||
-- a PC is recorded too, and a copy outlives its render. No backfill. Mirrors sqlite/0010_videos.sql.
|
||||
|
||||
ALTER TABLE renders ADD COLUMN sha256 text;
|
||||
ALTER TABLE renders ADD COLUMN kind text;
|
||||
CREATE INDEX ix_renders_created ON renders (created);
|
||||
|
||||
CREATE TABLE render_copies (
|
||||
id uuid NOT NULL PRIMARY KEY,
|
||||
render_id uuid NOT NULL,
|
||||
path text NOT NULL,
|
||||
sha256 text,
|
||||
bytes bigint NOT NULL DEFAULT 0,
|
||||
copied_at timestamptz NOT NULL,
|
||||
copied_by text
|
||||
);
|
||||
CREATE INDEX ix_render_copies_render ON render_copies (render_id);
|
||||
@@ -0,0 +1,21 @@
|
||||
-- The videos library (owner review 1, R9). Renders remember the SHA-256 of their file (null for an image sequence's
|
||||
-- folder, verified file by file when copied, and for renders recorded before this migration, hashed the first time they
|
||||
-- are copied, deleted or restored) and their kind (null for a video or an image sequence, told apart by the codec;
|
||||
-- 'still' for one frame saved as an image). The library lists every render newest first. render_copies records each
|
||||
-- hash-verified copy into a videos folder; it has no foreign key to renders, so the copy of a server render downloaded to
|
||||
-- a PC is recorded too, and a copy outlives its render. No backfill. Mirrors postgres/0010_videos.sql.
|
||||
|
||||
ALTER TABLE renders ADD COLUMN sha256 TEXT;
|
||||
ALTER TABLE renders ADD COLUMN kind TEXT;
|
||||
CREATE INDEX ix_renders_created ON renders (created);
|
||||
|
||||
CREATE TABLE render_copies (
|
||||
id TEXT NOT NULL PRIMARY KEY,
|
||||
render_id TEXT NOT NULL,
|
||||
path TEXT NOT NULL,
|
||||
sha256 TEXT,
|
||||
bytes INTEGER NOT NULL DEFAULT 0,
|
||||
copied_at TEXT NOT NULL,
|
||||
copied_by TEXT
|
||||
);
|
||||
CREATE INDEX ix_render_copies_render ON render_copies (render_id);
|
||||
@@ -44,6 +44,34 @@ public static class ProcessingJobs
|
||||
JsonSerializer.Serialize(parameters, ProtocolJson.Default.RenderJobParameters), JobPriority.User);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="JobKind.Render"/> of one frame saved as an image (owner review 1, R8, "Save frame"): frame
|
||||
/// <paramref name="frameIndex"/> of the sequence (its photo <paramref name="photoSha256"/> wins when both are given and the
|
||||
/// frames moved since) with <paramref name="codec"/>, one of <see cref="RenderRules.StillCodecs"/>, at the output size of
|
||||
/// <paramref name="export"/>, with every correction and no playback. <paramref name="project"/> embeds the settings to
|
||||
/// render, as <see cref="Render"/>. The job needs settings format <see cref="RenderRules.StillFormat"/>, so an older node,
|
||||
/// which would render the whole video, never claims it.
|
||||
/// </summary>
|
||||
/// <exception cref="ArgumentOutOfRangeException"><paramref name="codec"/> is not a still codec, or <paramref name="frameIndex"/> is negative.</exception>
|
||||
public static ArchiveJobRequest Still(Sequence sequence, ExportSettings export, VideoCodec codec, int frameIndex, string? photoSha256, int sourceWidth,
|
||||
int sourceHeight, ProjectSettings? project = null)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(sequence);
|
||||
ArgumentNullException.ThrowIfNull(export);
|
||||
if (!RenderRules.StillCodecs.Contains(codec)) throw new ArgumentOutOfRangeException(nameof(codec), codec, "Not a still codec.");
|
||||
ArgumentOutOfRangeException.ThrowIfNegative(frameIndex);
|
||||
var still = export with { Batch = [], Playback = null, Overrides = export.Overrides with { Codec = CodecName(codec), Container = null } };
|
||||
var parameters = Parameters(still, sourceWidth, sourceHeight, project?.ToJson(), false, project ?? ReadSettings(sequence.SettingsJson));
|
||||
parameters = parameters with
|
||||
{
|
||||
StillFrame = frameIndex,
|
||||
StillPhoto = string.IsNullOrEmpty(photoSha256) ? null : photoSha256.ToLowerInvariant(),
|
||||
RequiredSettingsFormat = int.Max(parameters.RequiredSettingsFormat, RenderRules.StillFormat),
|
||||
};
|
||||
return new ArchiveJobRequest(JobKind.Render, [sequence.Id], RenderLabel(sequence.DisplayTitle, parameters.PresetName),
|
||||
JsonSerializer.Serialize(parameters, ProtocolJson.Default.RenderJobParameters), JobPriority.User);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="JobKind.Render"/> of a project version (owner review 2, R8) on the sequence's home: the version's portable
|
||||
/// settings, placed on the sequence's frames by the render, with <paramref name="export"/> as their export section; the
|
||||
|
||||
@@ -0,0 +1,289 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data.Archiving.Jobs;
|
||||
using Chronos.Protocol;
|
||||
|
||||
namespace Chronos.Data.Videos;
|
||||
|
||||
/// <summary>
|
||||
/// What the videos library lists (owner review 1, R9): every member optional, combined with "and". The values are those of
|
||||
/// <c>GET /api/v1/videos</c> (<see cref="VideoQueryDto"/>).
|
||||
/// </summary>
|
||||
public sealed record VideoQuery
|
||||
{
|
||||
/// <summary>The most videos a page holds.</summary>
|
||||
public const int MaxLimit = 500;
|
||||
|
||||
/// <summary>Text in the sequence title, the preset name or the file name (any case).</summary>
|
||||
public string? Text { get; init; }
|
||||
|
||||
/// <summary><see cref="RenderKind.Video"/>, <see cref="RenderKind.Still"/> or <see cref="RenderKind.Sequence"/>; null for every kind.</summary>
|
||||
public string? Kind { get; init; }
|
||||
|
||||
/// <summary>A codec name as recorded (<c>h264</c>, <c>hevc</c>, <c>pngsequence</c>…); null for every codec.</summary>
|
||||
public string? Codec { get; init; }
|
||||
|
||||
/// <summary>The year the render was made (UTC).</summary>
|
||||
public int? Year { get; init; }
|
||||
|
||||
/// <summary>The renders of one sequence.</summary>
|
||||
public Guid? SequenceId { get; init; }
|
||||
|
||||
/// <summary>One of <see cref="VideoSorts"/>; null for newest first.</summary>
|
||||
public string? Sort { get; init; }
|
||||
|
||||
/// <summary>The <see cref="VideoPage.Next"/> of the previous page; null for the first.</summary>
|
||||
public string? Cursor { get; init; }
|
||||
|
||||
/// <summary>Videos per page, 1..<see cref="MaxLimit"/>.</summary>
|
||||
public int Limit { get; init; } = 100;
|
||||
|
||||
/// <summary>The query of an API request (its limit clamped, the default when none is given).</summary>
|
||||
public static VideoQuery From(VideoQueryDto dto)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(dto);
|
||||
return new VideoQuery
|
||||
{
|
||||
Text = dto.Q,
|
||||
Kind = dto.Kind,
|
||||
Codec = dto.Codec,
|
||||
Year = dto.Year,
|
||||
SequenceId = dto.Sequence,
|
||||
Sort = dto.Sort,
|
||||
Cursor = dto.Cursor,
|
||||
Limit = dto.Limit is { } limit ? Math.Clamp(limit, 1, MaxLimit) : 100,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>A render as the videos library shows it: the render, its sequence and project, where its file is, and its copies.</summary>
|
||||
public sealed record VideoItem
|
||||
{
|
||||
public required Render Render { get; init; }
|
||||
|
||||
/// <summary>The display title of the render's sequence.</summary>
|
||||
public required string SequenceTitle { get; init; }
|
||||
|
||||
/// <summary>When the sequence's first photo was taken; null when unknown.</summary>
|
||||
public DateTime? SequenceFirstCapture { get; init; }
|
||||
|
||||
/// <summary>The project rendered (owner review 2, R8); null for a render of the sequence's settings.</summary>
|
||||
public string? ProjectName { get; init; }
|
||||
|
||||
/// <summary>The number of the project version rendered; null with <see cref="ProjectName"/>.</summary>
|
||||
public int? ProjectVersionNumber { get; init; }
|
||||
|
||||
/// <summary>Absolute path of the render's file (or folder, for an image sequence) on this host.</summary>
|
||||
public required string FullPath { get; init; }
|
||||
|
||||
/// <summary>The file is not at <see cref="FullPath"/>: shown as Missing, and a delete removes only its row.</summary>
|
||||
public bool Missing { get; init; }
|
||||
|
||||
/// <summary>Its verified copies in videos folders, oldest first.</summary>
|
||||
public IReadOnlyList<RenderCopy> Copies { get; init; } = [];
|
||||
|
||||
/// <summary>The library kind (<see cref="RenderKind.Of(Render)"/>).</summary>
|
||||
public string Kind => RenderKind.Of(Render);
|
||||
|
||||
/// <summary><see cref="VideoStates.Ok"/> or <see cref="VideoStates.Missing"/>.</summary>
|
||||
public string State => Missing ? VideoStates.Missing : VideoStates.Ok;
|
||||
|
||||
/// <summary>The file (or folder) name.</summary>
|
||||
public string FileName => Path.GetFileName(FullPath.TrimEnd('/', '\\'));
|
||||
}
|
||||
|
||||
/// <summary>One page of the videos library; <see cref="Next"/> is the cursor of the next page, null on the last one.</summary>
|
||||
/// <param name="Total">Videos matching the query on every page; null when not counted.</param>
|
||||
public sealed record VideoPage(IReadOnlyList<VideoItem> Items, string? Next, long? Total = null)
|
||||
{
|
||||
public static VideoPage Empty { get; } = new([], null, 0);
|
||||
}
|
||||
|
||||
/// <summary>A render a delete leaves where it is: <see cref="Reason"/> is one of <see cref="VideoBlockReasons"/>.</summary>
|
||||
/// <param name="Video">The render, when it exists.</param>
|
||||
public sealed record VideoBlocked(Guid RenderId, string Reason, VideoItem? Video = null);
|
||||
|
||||
/// <summary>
|
||||
/// The dry run of deleting renders into the trash (decision 17): the renders that go (a missing one only loses its row), the
|
||||
/// renders left where they are, and the plan's fingerprint, which the delete itself must give back. Copies in videos
|
||||
/// folders are never touched.
|
||||
/// </summary>
|
||||
public sealed record VideoDeletePlan(IReadOnlyList<VideoItem> Items, IReadOnlyList<VideoBlocked> Blocked, string Fingerprint)
|
||||
{
|
||||
/// <summary>The bytes that move into the trash (missing files count nothing).</summary>
|
||||
public long Bytes => Items.Where(i => !i.Missing).Sum(i => i.Render.Bytes);
|
||||
}
|
||||
|
||||
/// <summary>What a delete did: the renders moved into the trash (or, missing, whose rows went), those left, and the trash entries made.</summary>
|
||||
/// <param name="TrashEntries">The names of the entries made (<see cref="VideoTrashNames"/>), each restorable.</param>
|
||||
public sealed record VideoDeleteResult(IReadOnlyList<VideoItem> Deleted, IReadOnlyList<VideoBlocked> Blocked, IReadOnlyList<string> TrashEntries);
|
||||
|
||||
/// <summary>
|
||||
/// The parameters of a <see cref="JobKind.VideoCopy"/> job (decision 16): the renders to copy into <see cref="Folder"/>,
|
||||
/// each hash-verified before it takes its name (a free one, " (2)" on a collision), the render never touched.
|
||||
/// </summary>
|
||||
/// <param name="RenderIds">The renders, in the order they are copied.</param>
|
||||
/// <param name="Folder">The videos folder (absolute), checked again when the job runs.</param>
|
||||
/// <param name="FromServer">On the desktop: the renders are the signed-in server's, downloaded into the folder.</param>
|
||||
/// <param name="RequestedBy">The user (server) or PC (desktop) recorded as <see cref="RenderCopy.CopiedBy"/>.</param>
|
||||
public sealed record VideoCopyParameters(IReadOnlyList<Guid> RenderIds, string Folder, bool FromServer = false, string? RequestedBy = null)
|
||||
{
|
||||
public string ToJson() => JsonSerializer.Serialize(this, VideoJson.Default.VideoCopyParameters);
|
||||
|
||||
/// <summary>The parameters of a job; null when it has none that read.</summary>
|
||||
public static VideoCopyParameters? Read(string? json)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(json)) return null;
|
||||
try
|
||||
{
|
||||
return JsonSerializer.Deserialize(json, VideoJson.Default.VideoCopyParameters) is { RenderIds: not null, Folder.Length: > 0 } parameters ? parameters : null;
|
||||
}
|
||||
catch (JsonException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The error codes of the videos library (<see cref="VideoLibraryException.Code"/>), the same as the server's API errors:
|
||||
/// each has a server message <c>Server.Error.<Code></c> and a desktop message <c>Errors.Videos.*</c>.
|
||||
/// </summary>
|
||||
public static class VideoErrors
|
||||
{
|
||||
/// <summary>No videos folder is set (409).</summary>
|
||||
public const string FolderUnset = "videos_folder_unset";
|
||||
|
||||
/// <summary>The videos folder lies inside an archive root or the workspace (422).</summary>
|
||||
public const string FolderInvalid = "videos_folder_invalid";
|
||||
|
||||
/// <summary>The plan of a delete changed since it was made (409; nothing moved).</summary>
|
||||
public const string PlanChanged = "plan_changed";
|
||||
|
||||
/// <summary>A copy, or a trashed video being restored, does not match its render's SHA-256.</summary>
|
||||
public const string HashMismatch = "trash_hash_mismatch";
|
||||
|
||||
/// <summary>Not enough free space in the videos folder (507).</summary>
|
||||
public const string NoSpace = "videos_no_space";
|
||||
|
||||
/// <summary>A trashed video's sequence is not in the library: restore the sequence first (409).</summary>
|
||||
public const string SequenceGone = "sequence_gone";
|
||||
|
||||
/// <summary>A send, an upload or a copy of the render is running (409).</summary>
|
||||
public const string Busy = "video_busy";
|
||||
}
|
||||
|
||||
/// <summary>A videos library operation refused with one of <see cref="VideoErrors"/>; nothing was changed.</summary>
|
||||
public sealed class VideoLibraryException(string code, string message) : InvalidOperationException(message)
|
||||
{
|
||||
public string Code { get; } = code;
|
||||
}
|
||||
|
||||
/// <summary>The names of the videos trash entries (decision 17): <c>videos-<render id>-<UTC ticks></c>, listed as kind "videos".</summary>
|
||||
public static class VideoTrashNames
|
||||
{
|
||||
/// <summary>The prefix of every videos entry name.</summary>
|
||||
public const string Prefix = "videos-";
|
||||
|
||||
/// <summary>The folder of the videos area inside an archive's trash, which holds the entries and their records.</summary>
|
||||
public const string FolderName = "videos";
|
||||
|
||||
/// <summary>The entry name of render <paramref name="renderId"/> deleted at <paramref name="deletedAt"/>.</summary>
|
||||
public static string EntryName(Guid renderId, DateTimeOffset deletedAt) =>
|
||||
Prefix + renderId.ToString("D") + "-" + deletedAt.UtcTicks.ToString(System.Globalization.CultureInfo.InvariantCulture);
|
||||
|
||||
/// <summary>Whether <paramref name="name"/> is a videos entry name (and nothing else: no path, no other entry's name).</summary>
|
||||
public static bool IsEntryName(string? name) => TryParse(name, out _, out _);
|
||||
|
||||
/// <summary>The render id and the UTC ticks of a videos entry name; false for any other name.</summary>
|
||||
public static bool TryParse(string? name, out Guid renderId, out long ticks)
|
||||
{
|
||||
renderId = Guid.Empty;
|
||||
ticks = 0;
|
||||
if (name is null || !name.StartsWith(Prefix, StringComparison.Ordinal)) return false;
|
||||
var rest = name.AsSpan(Prefix.Length);
|
||||
// A "D" guid is 36 characters; then "-" and the ticks.
|
||||
return rest.Length > 37 && rest[36] == '-' && Guid.TryParseExact(rest[..36], "D", out renderId)
|
||||
&& long.TryParse(rest[37..], System.Globalization.NumberStyles.None, System.Globalization.CultureInfo.InvariantCulture, out ticks);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The videos library of one index (owner review 1, R9): every render of its archives in one list, deleted into the trash
|
||||
/// and restored by id, and copied hash-verified into a videos folder. The desktop's Videos section and the server's
|
||||
/// <c>/api/v1/videos</c> endpoints use it; <see cref="Archiving.ArchiveService.Videos"/> is the instance of an archive engine.
|
||||
/// </summary>
|
||||
public interface IVideoLibrary
|
||||
{
|
||||
/// <summary>False for the groundwork stub (<see cref="NotImplementedVideoLibrary"/>): callers show no library then.</summary>
|
||||
bool IsAvailable { get; }
|
||||
|
||||
/// <summary>One page of the renders matching <paramref name="query"/>, each with its copies and whether its file is there.</summary>
|
||||
Task<VideoPage> ListAsync(VideoQuery query, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>One render; null when the index has no such render.</summary>
|
||||
Task<VideoItem?> GetAsync(Guid renderId, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>The dry run of deleting <paramref name="renderIds"/> into the trash; nothing moves.</summary>
|
||||
Task<VideoDeletePlan> PlanDeleteAsync(IReadOnlyList<Guid> renderIds, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes <paramref name="renderIds"/> as planned: each file into <c>.chronos/trash/videos/</c> of its archive with a
|
||||
/// record, its row removed and its sequence's render count recounted; a missing file loses only its row.
|
||||
/// </summary>
|
||||
/// <exception cref="VideoLibraryException"><see cref="VideoErrors.PlanChanged"/>: <paramref name="fingerprint"/> is not the plan's now; nothing moved.</exception>
|
||||
Task<VideoDeleteResult> DeleteAsync(IReadOnlyList<Guid> renderIds, string fingerprint, string? deletedBy, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Brings a videos trash entry of archive <paramref name="archiveId"/> back: the file re-hashed against its record, moved
|
||||
/// back (to a free name when its own is taken) and its row inserted again with the same render id.
|
||||
/// </summary>
|
||||
/// <exception cref="DirectoryNotFoundException">The entry is not in the trash.</exception>
|
||||
/// <exception cref="VideoLibraryException"><see cref="VideoErrors.HashMismatch"/> or <see cref="VideoErrors.SequenceGone"/>; nothing moved.</exception>
|
||||
Task<Render> RestoreAsync(Guid archiveId, string entryName, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Why <paramref name="folder"/> cannot be the videos folder (<see cref="VideoErrors.FolderUnset"/> or
|
||||
/// <see cref="VideoErrors.FolderInvalid"/>); null when it can.
|
||||
/// </summary>
|
||||
string? FolderProblem(string? folder);
|
||||
|
||||
/// <summary>The <see cref="JobKind.VideoCopy"/> job copying <paramref name="parameters"/>' renders; enqueue it on the host's engine.</summary>
|
||||
/// <exception cref="VideoLibraryException">The folder cannot be the videos folder (<see cref="FolderProblem"/>).</exception>
|
||||
ArchiveJobRequest CopyJob(VideoCopyParameters parameters);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The videos library until its parcel lands (phase 5 groundwork): lists nothing, finds nothing, and refuses every change
|
||||
/// with <see cref="NotImplementedException"/>; registered so the server and the desktop compile against
|
||||
/// <see cref="IVideoLibrary"/>.
|
||||
/// </summary>
|
||||
public sealed class NotImplementedVideoLibrary : IVideoLibrary
|
||||
{
|
||||
public static NotImplementedVideoLibrary Instance { get; } = new();
|
||||
|
||||
public bool IsAvailable => false;
|
||||
|
||||
public Task<VideoPage> ListAsync(VideoQuery query, CancellationToken cancellationToken = default) => Task.FromResult(VideoPage.Empty);
|
||||
|
||||
public Task<VideoItem?> GetAsync(Guid renderId, CancellationToken cancellationToken = default) => Task.FromResult<VideoItem?>(null);
|
||||
|
||||
public Task<VideoDeletePlan> PlanDeleteAsync(IReadOnlyList<Guid> renderIds, CancellationToken cancellationToken = default) =>
|
||||
throw new NotImplementedException("The videos library is not implemented yet.");
|
||||
|
||||
public Task<VideoDeleteResult> DeleteAsync(IReadOnlyList<Guid> renderIds, string fingerprint, string? deletedBy, CancellationToken cancellationToken = default) =>
|
||||
throw new NotImplementedException("The videos library is not implemented yet.");
|
||||
|
||||
public Task<Render> RestoreAsync(Guid archiveId, string entryName, CancellationToken cancellationToken = default) =>
|
||||
throw new NotImplementedException("The videos library is not implemented yet.");
|
||||
|
||||
public string? FolderProblem(string? folder) => string.IsNullOrWhiteSpace(folder) ? VideoErrors.FolderUnset : null;
|
||||
|
||||
public ArchiveJobRequest CopyJob(VideoCopyParameters parameters) => throw new NotImplementedException("The videos library is not implemented yet.");
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true)]
|
||||
[JsonSerializable(typeof(VideoCopyParameters))]
|
||||
internal sealed partial class VideoJson : JsonSerializerContext;
|
||||
@@ -17,6 +17,9 @@ namespace Chronos.Protocol;
|
||||
/// server runs in a container, whose listening ports the template fixes: they are then locked, named in
|
||||
/// <see cref="Locked"/> with the variable <c>DOTNET_RUNNING_IN_CONTAINER</c> unless one of their own fixes them. The
|
||||
/// members added since are last and optional, so clients and panels of the shape before them keep working.
|
||||
/// <see cref="VideosPath"/> (owner review 1, R9) is the folder "Copy to videos folder" copies renders into (the Docker
|
||||
/// <c>/videos</c> volume), locked by <c>CHRONOS_VIDEOS_PATH</c> (<see cref="LockedBy"/> key <c>VideosPath</c>); null in a
|
||||
/// response when none is set, which disables copying; in a request, null keeps it as it is and an empty text clears it.
|
||||
/// </summary>
|
||||
public sealed record ServerSettingsDto(
|
||||
string ServerName,
|
||||
@@ -42,7 +45,8 @@ public sealed record ServerSettingsDto(
|
||||
bool ProxyWarning,
|
||||
int? PublicHttpPort = null,
|
||||
int? PublicHttpsPort = null,
|
||||
bool InContainer = false);
|
||||
bool InContainer = false,
|
||||
string? VideosPath = null);
|
||||
|
||||
/// <summary>
|
||||
/// The log settings of <see cref="ServerSettingsDto"/> (owner review 2, R11): the least severe level of the files and of the
|
||||
|
||||
@@ -423,6 +423,42 @@ public sealed class ChronosClient : IDisposable
|
||||
return Convert.ToHexStringLower(hash);
|
||||
}
|
||||
|
||||
// ---------------- Videos (owner review 1, R9; servers with the "videos" capability) ----------------
|
||||
|
||||
/// <summary>One page of the server's videos matching <paramref name="query"/> (every video, newest first, when null).</summary>
|
||||
public Task<VideoPageDto> ListVideosAsync(VideoQueryDto? query = null, CancellationToken ct = default)
|
||||
{
|
||||
var q = query ?? new VideoQueryDto();
|
||||
var invariant = System.Globalization.CultureInfo.InvariantCulture;
|
||||
var parts = string.Concat(Q("q", q.Q), Q("kind", q.Kind), Q("codec", q.Codec), Q("year", q.Year?.ToString(invariant)), Q("sequence", q.Sequence?.ToString()),
|
||||
Q("sort", q.Sort), Q("cursor", q.Cursor), Q("limit", q.Limit?.ToString(invariant)));
|
||||
return GetAsync(parts.Length == 0 ? "api/v1/videos" : "api/v1/videos?" + parts[1..], ProtocolJson.Default.VideoPageDto, ct);
|
||||
}
|
||||
|
||||
/// <summary>One video of the server; a render it does not have is a 404 <see cref="ChronosApiException"/>.</summary>
|
||||
public Task<VideoDto> GetVideoAsync(Guid id, CancellationToken ct = default) => GetAsync($"api/v1/videos/{id}", ProtocolJson.Default.VideoDto, ct);
|
||||
|
||||
/// <summary>The dry run of deleting <paramref name="ids"/> into the trash: what goes, what stays and the plan's fingerprint; nothing moves.</summary>
|
||||
public Task<VideoDeletePlanDto> PlanDeleteVideosAsync(IReadOnlyList<Guid> ids, CancellationToken ct = default) =>
|
||||
SendAsync(HttpMethod.Post, "api/v1/videos/delete", new VideoDeleteRequest(ids, true), ProtocolJson.Default.VideoDeleteRequest,
|
||||
ProtocolJson.Default.VideoDeletePlanDto, ct);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes <paramref name="ids"/> into the trash as planned (<paramref name="fingerprint"/> from
|
||||
/// <see cref="PlanDeleteVideosAsync"/>); a plan that changed since is a 409 <c>plan_changed</c>
|
||||
/// <see cref="ChronosApiException"/> and nothing moves.
|
||||
/// </summary>
|
||||
public Task<VideoDeletePlanDto> DeleteVideosAsync(IReadOnlyList<Guid> ids, string fingerprint, CancellationToken ct = default) =>
|
||||
SendAsync(HttpMethod.Post, "api/v1/videos/delete", new VideoDeleteRequest(ids, false, fingerprint), ProtocolJson.Default.VideoDeleteRequest,
|
||||
ProtocolJson.Default.VideoDeletePlanDto, ct);
|
||||
|
||||
/// <summary>
|
||||
/// Queues the copy of <paramref name="ids"/> into the server's videos folder (a <c>video-copy</c> job); a server without a
|
||||
/// videos folder answers 409 <c>videos_folder_unset</c> (<see cref="ChronosApiException"/>).
|
||||
/// </summary>
|
||||
public Task<VideoCopyResultDto> CopyVideosAsync(IReadOnlyList<Guid> ids, CancellationToken ct = default) =>
|
||||
SendAsync(HttpMethod.Post, "api/v1/videos/copy", new VideoCopyRequest(ids), ProtocolJson.Default.VideoCopyRequest, ProtocolJson.Default.VideoCopyResultDto, ct);
|
||||
|
||||
// ---------------- Jobs and render nodes ----------------
|
||||
|
||||
public Task<Page<JobDto>> ListJobsAsync(string? state = null, string? cursor = null, CancellationToken ct = default) =>
|
||||
|
||||
@@ -36,6 +36,12 @@ public static class ServerCapabilities
|
||||
/// <c>projectChanged</c> event, renders of a project version. A server without it knows only the sequence's settings.
|
||||
/// </summary>
|
||||
public const string Projects = "projects";
|
||||
|
||||
/// <summary>
|
||||
/// The server keeps a videos library (owner review 1, R9): <c>/api/v1/videos</c> lists, deletes into the trash and copies
|
||||
/// its renders into its videos folder. Without it a client lists only its own videos.
|
||||
/// </summary>
|
||||
public const string Videos = "videos";
|
||||
}
|
||||
|
||||
/// <summary><c>GET /health</c>.</summary>
|
||||
|
||||
@@ -68,14 +68,31 @@ public sealed record JobPriorityRequest(string Priority);
|
||||
/// format, at least 2 when the chosen proportions change a fixed preset's size); 1 in a job of an older server. A hint for
|
||||
/// routing: a node recomputes it from the settings it claims.
|
||||
/// </param>
|
||||
/// <param name="StillFrame">
|
||||
/// A still job (owner review 1, R8, "Save frame"): the 0-based index of the sequence's frame saved as one image with
|
||||
/// <paramref name="Codec"/> (<c>pngsequence</c>, <c>jpegsequence</c> or <c>tiff16sequence</c>) at the export's output size,
|
||||
/// with every correction and no playback; null for a video. Such a job needs settings format 3
|
||||
/// (<paramref name="RequiredSettingsFormat"/>), so an older node, which would render the whole video, never claims it.
|
||||
/// </param>
|
||||
/// <param name="StillPhoto">
|
||||
/// The SHA-256 of the still's photo: the identity that wins over <paramref name="StillFrame"/> when both are given and the
|
||||
/// frames moved since (photos inserted before it); null when the photo is not hashed yet.
|
||||
/// </param>
|
||||
public sealed record RenderJobParameters(string PresetName, string PresetJson, string Codec, int Width, int Height, bool UseProxies, string? SettingsJson,
|
||||
Guid? ProjectId = null, Guid? ProjectVersionId = null, int RequiredSettingsFormat = 1);
|
||||
Guid? ProjectId = null, Guid? ProjectVersionId = null, int RequiredSettingsFormat = 1, int? StillFrame = null, string? StillPhoto = null)
|
||||
{
|
||||
/// <summary>The job saves one frame as an image (<see cref="StillFrame"/> or <see cref="StillPhoto"/> set).</summary>
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public bool IsStill => StillFrame is not null || StillPhoto is not null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <c>POST /api/v1/nodes/{id}/jobs/{jobId}/result</c>: the finished output a node is about to upload in chunks. A
|
||||
/// <c>result/complete</c> that cannot file it for now answers 503 <c>sequence_busy</c>, <c>archive_offline</c> or
|
||||
/// <c>folder_moved</c> (another index moved the sequence's folder; the server's next scan finds it); the upload and the
|
||||
/// job stay the node's, to be completed again.
|
||||
/// <see cref="Kind"/> (owner review 1, R9): <c>still</c> for a still job's image, null for a video or an image sequence;
|
||||
/// appended, so an earlier node sends none and an earlier server ignores it.
|
||||
/// </summary>
|
||||
public sealed record RenderResultRequest(
|
||||
string FileName,
|
||||
@@ -86,7 +103,8 @@ public sealed record RenderResultRequest(
|
||||
int Width,
|
||||
int Height,
|
||||
double Fps,
|
||||
double DurationSeconds);
|
||||
double DurationSeconds,
|
||||
string? Kind = null);
|
||||
|
||||
/// <summary><c>POST /api/v1/nodes/{id}/jobs/{jobId}/failed</c>: the node could not render the job.</summary>
|
||||
public sealed record NodeJobFailure(string Error);
|
||||
@@ -100,4 +100,10 @@ namespace Chronos.Protocol;
|
||||
[JsonSerializable(typeof(ProjectPushResultDto))]
|
||||
[JsonSerializable(typeof(ProjectFramesDto))]
|
||||
[JsonSerializable(typeof(ProjectFramesStampDto))]
|
||||
[JsonSerializable(typeof(VideoDto))]
|
||||
[JsonSerializable(typeof(VideoPageDto))]
|
||||
[JsonSerializable(typeof(VideoDeleteRequest))]
|
||||
[JsonSerializable(typeof(VideoDeletePlanDto))]
|
||||
[JsonSerializable(typeof(VideoCopyRequest))]
|
||||
[JsonSerializable(typeof(VideoCopyResultDto))]
|
||||
public sealed partial class ProtocolJson : JsonSerializerContext;
|
||||
@@ -116,6 +116,11 @@ public sealed record ProxySpec(int LongEdge, int Quality);
|
||||
/// before phase 5c.
|
||||
/// </param>
|
||||
/// <param name="ProjectVersionId">The project version rendered; null when none is named (see <paramref name="ProjectId"/>).</param>
|
||||
/// <param name="Sha256">
|
||||
/// Lower-case hex SHA-256 of a single-file render (owner review 1, R9); null for an image sequence, for a render not hashed
|
||||
/// yet (recorded before the server's migration 0010) and from earlier servers.
|
||||
/// </param>
|
||||
/// <param name="Kind">The render's kind as recorded: <c>still</c>, or null for a video or an image sequence (told apart by <paramref name="Codec"/>).</param>
|
||||
public sealed record RenderDto(
|
||||
Guid Id,
|
||||
string PresetName,
|
||||
@@ -128,7 +133,9 @@ public sealed record RenderDto(
|
||||
DateTimeOffset Created,
|
||||
string? ProducedBy,
|
||||
Guid? ProjectId = null,
|
||||
Guid? ProjectVersionId = null);
|
||||
Guid? ProjectVersionId = null,
|
||||
string? Sha256 = null,
|
||||
string? Kind = null);
|
||||
|
||||
/// <summary>Aggregates for the archive dashboard and the admin panel.</summary>
|
||||
/// <param name="FreeBytes">Free bytes of the space volume: the server's space path when one is set, else the archive's volume.</param>
|
||||
|
||||
@@ -49,7 +49,8 @@ public sealed record CardImportReport(Guid ImportId, string Card, string State,
|
||||
/// A render a workspace made on a client (phase 5c) names the project and version it was rendered from
|
||||
/// (<see cref="ProjectId"/>, <see cref="ProjectVersionId"/>): the server records them with the render once it checked that
|
||||
/// the project is the sequence's and the version the project's (422 <c>project_mismatch</c> otherwise). Both are optional
|
||||
/// and appended: a request of an earlier client has neither, and an earlier server ignores them.
|
||||
/// and appended: a request of an earlier client has neither, and an earlier server ignores them. <see cref="Kind"/> (owner
|
||||
/// review 1, R9) is the render's kind (<c>still</c>, or null for a video or an image sequence), appended the same way.
|
||||
/// </summary>
|
||||
public sealed record RenderUploadRequest(
|
||||
Guid RenderId,
|
||||
@@ -64,4 +65,5 @@ public sealed record RenderUploadRequest(
|
||||
double DurationSeconds,
|
||||
string? ProducedBy,
|
||||
Guid? ProjectId = null,
|
||||
Guid? ProjectVersionId = null);
|
||||
Guid? ProjectVersionId = null,
|
||||
string? Kind = null);
|
||||
@@ -0,0 +1,132 @@
|
||||
namespace Chronos.Protocol;
|
||||
|
||||
// The videos library (owner review 1, R9): every render of the server in one list, on servers with the "videos" capability
|
||||
// (ServerCapabilities.Videos). Read lists and plays, Delete moves renders into the archive's trash (restored through
|
||||
// /archive/trash), Edit copies them into the server's videos folder; the panel and the desktop's Videos section use these.
|
||||
|
||||
/// <summary>A verified copy of a video in a videos folder (<see cref="VideoDto.Copies"/>).</summary>
|
||||
/// <param name="Path">Absolute path of the copy on the host that made it.</param>
|
||||
public sealed record VideoCopyDto(string Path, DateTimeOffset CopiedAt);
|
||||
|
||||
/// <summary>
|
||||
/// <c>GET /api/v1/videos</c>, <c>GET /api/v1/videos/{id}</c>: a render with the members of <see cref="RenderDto"/>, its
|
||||
/// sequence and project, whether its file is there, and its copies. The file itself is <c>GET /api/v1/renders/{id}/file</c>
|
||||
/// (Range requests served, so a browser's <c><video></c> seeks).
|
||||
/// </summary>
|
||||
/// <param name="Kind">The library kind, never null: <c>video</c>, <c>still</c> or <c>sequence</c> (an image-sequence folder),
|
||||
/// or a newer server's kind as it is (<see cref="RenderDto.Kind"/> holds the kind as recorded).</param>
|
||||
/// <param name="SequenceTitle">The display title of the render's sequence.</param>
|
||||
/// <param name="SequenceFirstCapture">When its first photo was taken; null when unknown.</param>
|
||||
/// <param name="ProjectName">The project rendered (owner review 2, R8); null for a render of the sequence's settings.</param>
|
||||
/// <param name="ProjectVersionNumber">The number of the project version rendered; null with <paramref name="ProjectName"/>.</param>
|
||||
/// <param name="State"><c>ok</c>, or <c>missing</c> when its file is not where it was recorded (delete then removes only the entry).</param>
|
||||
/// <param name="FileName">The file (or folder) name, for display and downloads.</param>
|
||||
public sealed record VideoDto(
|
||||
Guid Id,
|
||||
Guid SequenceId,
|
||||
string PresetName,
|
||||
string? Codec,
|
||||
int Width,
|
||||
int Height,
|
||||
double Fps,
|
||||
double DurationSeconds,
|
||||
long Bytes,
|
||||
DateTimeOffset Created,
|
||||
string? ProducedBy,
|
||||
Guid? ProjectId,
|
||||
Guid? ProjectVersionId,
|
||||
string? Sha256,
|
||||
string Kind,
|
||||
string SequenceTitle,
|
||||
DateTime? SequenceFirstCapture,
|
||||
string? ProjectName,
|
||||
int? ProjectVersionNumber,
|
||||
string State,
|
||||
IReadOnlyList<VideoCopyDto> Copies,
|
||||
string? FileName = null);
|
||||
|
||||
/// <summary>The values of <see cref="VideoDto.State"/>.</summary>
|
||||
public static class VideoStates
|
||||
{
|
||||
public const string Ok = "ok";
|
||||
|
||||
/// <summary>The render's file is not where it was recorded.</summary>
|
||||
public const string Missing = "missing";
|
||||
}
|
||||
|
||||
/// <summary>The <c>sort</c> values of <c>GET /api/v1/videos</c> (and of the desktop's Videos section).</summary>
|
||||
public static class VideoSorts
|
||||
{
|
||||
/// <summary>Newest first (the default).</summary>
|
||||
public const string Newest = "newest";
|
||||
|
||||
public const string Oldest = "oldest";
|
||||
|
||||
/// <summary>Largest first.</summary>
|
||||
public const string Largest = "largest";
|
||||
|
||||
/// <summary>By sequence title, then newest first.</summary>
|
||||
public const string Title = "title";
|
||||
|
||||
public static IReadOnlyList<string> All { get; } = [Newest, Oldest, Largest, Title];
|
||||
}
|
||||
|
||||
/// <summary>One page of <c>GET /api/v1/videos</c>; <see cref="Next"/> is the cursor of the next page, null on the last one.</summary>
|
||||
/// <param name="Total">Videos matching the filters on every page; null when the server does not count them.</param>
|
||||
public sealed record VideoPageDto(IReadOnlyList<VideoDto> Items, string? Next, long? Total = null);
|
||||
|
||||
/// <summary>
|
||||
/// The query of <c>GET /api/v1/videos</c> (<see cref="Client.ChronosClient.ListVideosAsync"/>); every member optional.
|
||||
/// </summary>
|
||||
/// <param name="Q">Text in the sequence title, the preset name or the file name.</param>
|
||||
/// <param name="Kind"><c>video</c>, <c>still</c> or <c>sequence</c>.</param>
|
||||
/// <param name="Codec">A codec name as recorded (<c>h264</c>, <c>hevc</c>, <c>pngsequence</c>…).</param>
|
||||
/// <param name="Year">The year the render was made (UTC).</param>
|
||||
/// <param name="Sequence">The videos of one sequence.</param>
|
||||
/// <param name="Sort">One of <see cref="VideoSorts"/>; null for newest first.</param>
|
||||
/// <param name="Cursor">The <see cref="VideoPageDto.Next"/> of the previous page.</param>
|
||||
/// <param name="Limit">Videos per page, 1–500 (the server's default when null).</param>
|
||||
public sealed record VideoQueryDto(string? Q = null, string? Kind = null, string? Codec = null, int? Year = null, Guid? Sequence = null,
|
||||
string? Sort = null, string? Cursor = null, int? Limit = null);
|
||||
|
||||
/// <summary>
|
||||
/// <c>POST /api/v1/videos/delete</c>: move these renders into the archive's trash. With <see cref="DryRun"/> the server
|
||||
/// answers the plan (<see cref="VideoDeletePlanDto"/>) and moves nothing; the delete itself must send the plan's
|
||||
/// <see cref="Fingerprint"/> back, or the server answers 409 <c>plan_changed</c> and moves nothing.
|
||||
/// </summary>
|
||||
public sealed record VideoDeleteRequest(IReadOnlyList<Guid> Ids, bool DryRun, string? Fingerprint = null);
|
||||
|
||||
/// <summary>A render of a delete plan: what goes, and whether only its entry goes (its file is missing).</summary>
|
||||
public sealed record VideoDeleteItemDto(Guid Id, Guid SequenceId, string SequenceTitle, string? FileName, long Bytes, bool Missing);
|
||||
|
||||
/// <summary>
|
||||
/// A render a delete leaves where it is: <see cref="Reason"/> <c>busy</c> (a send, an upload or a copy of it is running) or
|
||||
/// <c>not_found</c> (no such render).
|
||||
/// </summary>
|
||||
public sealed record VideoBlockedDto(Guid Id, string Reason);
|
||||
|
||||
/// <summary>The values of <see cref="VideoBlockedDto.Reason"/>.</summary>
|
||||
public static class VideoBlockReasons
|
||||
{
|
||||
public const string Busy = "busy";
|
||||
|
||||
public const string NotFound = "not_found";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The answer of <c>POST /api/v1/videos/delete</c>: the renders that go (or went) to the trash, their bytes, the renders left
|
||||
/// where they are, and the plan's fingerprint. Copies in the videos folder are never touched. After the delete itself
|
||||
/// (<see cref="DryRun"/> false) <see cref="TrashEntries"/> names the trash entries made, each restorable with
|
||||
/// <c>POST /api/v1/archive/trash/{name}/restore</c>.
|
||||
/// </summary>
|
||||
public sealed record VideoDeletePlanDto(IReadOnlyList<VideoDeleteItemDto> Items, long Bytes, IReadOnlyList<VideoBlockedDto> Blocked, string Fingerprint,
|
||||
bool DryRun, IReadOnlyList<string>? TrashEntries = null);
|
||||
|
||||
/// <summary>
|
||||
/// <c>POST /api/v1/videos/copy</c>: copy these renders into the server's videos folder as one <c>video-copy</c> job; 409
|
||||
/// <c>videos_folder_unset</c> when the server has none.
|
||||
/// </summary>
|
||||
public sealed record VideoCopyRequest(IReadOnlyList<Guid> Ids);
|
||||
|
||||
/// <summary>The answer of <c>POST /api/v1/videos/copy</c> (202): the <c>video-copy</c> job queued.</summary>
|
||||
public sealed record VideoCopyResultDto(Guid JobId);
|
||||
@@ -29,4 +29,10 @@ export const icons = {
|
||||
hero: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 4.8 L8.9 6.9 L11.1 7.1 L9.4 8.5 L9.9 10.7 L8 9.5 L6.1 10.7 L6.6 8.5 L4.9 7.1 L7.1 6.9 Z" fill="currentColor"/><path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
image: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M9.600000000000001 5.6 A1.2 1.2 0 1 0 12.0 5.6 A1.2 1.2 0 1 0 9.600000000000001 5.6 Z" fill="currentColor"/><path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M1.5 11 L5.5 7 L9 10.5 L11 8.5 L14.5 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
warning: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.8 L14.8 13.8 H1.2 Z M8 6.2 V9.6 M8 11.7 V11.8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
videos: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M5.5 6.5 L9.5 9 L5.5 11.5 Z" fill="currentColor"/><path d="M3.0 4 H11.0 A1.5 1.5 0 0 1 12.5 5.5 V12.5 A1.5 1.5 0 0 1 11.0 14 H3.0 A1.5 1.5 0 0 1 1.5 12.5 V5.5 A1.5 1.5 0 0 1 3.0 4 Z M4.5 1.5 H13 A1.5 1.5 0 0 1 14.5 3 V11.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
play: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M4.5 2.8 L13 8 L4.5 13.2 Z" fill="currentColor"/></svg>`,
|
||||
copyToFolder: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M1.5 4 A1 1 0 0 1 2.5 3 H6 L7.5 4.5 H13.5 A1 1 0 0 1 14.5 5.5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z M8 6.5 V11 M6 9 L8 11 L10 9" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
stillFrame: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M6.5 5.5 H9.5 A0.5 0.5 0 0 1 10 6.0 V10.0 A0.5 0.5 0 0 1 9.5 10.5 H6.5 A0.5 0.5 0 0 1 6 10.0 V6.0 A0.5 0.5 0 0 1 6.5 5.5 Z" fill="currentColor"/><path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M4.5 2.5 V13.5 M11.5 2.5 V13.5 M1.5 6 H4.5 M1.5 10 H4.5 M11.5 6 H14.5 M11.5 10 H14.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
fade: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M3 12 L13 4 V12 Z" fill="currentColor"/><path d="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
boomerang: `<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 5 H11 A3 3 0 0 1 11 11 H3 M5 8.8 L2.8 11 L5 13.2" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,
|
||||
};
|
||||
@@ -3,6 +3,7 @@ using Chronos.Data;
|
||||
using Chronos.Data.Archiving;
|
||||
using Chronos.Data.Housekeeping;
|
||||
using Chronos.Data.Jobs;
|
||||
using Chronos.Data.Videos;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Server.Configuration;
|
||||
using Chronos.Server.Events;
|
||||
@@ -74,6 +75,8 @@ public static class ArchiveModule
|
||||
});
|
||||
services.AddSingleton<IArchiveIngest>(sp => sp.GetRequiredService<ArchiveService>().Ingest);
|
||||
services.AddSingleton<IJobHandlerProvider>(sp => sp.GetRequiredService<ArchiveService>());
|
||||
// The videos library of the archive's index (owner review 1, R9): /api/v1/videos.
|
||||
services.AddSingleton<IVideoLibrary>(sp => sp.GetRequiredService<ArchiveService>().Videos);
|
||||
services.AddSingleton<IFrameAssetLocator, ArchiveAssetLocator>();
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
<ui:IconData x:Key="Icon.Analyse" Stroke="M1.5 8.5 H4.5 L6.5 3.5 L9.5 12.5 L11.5 8.5 H14.5" />
|
||||
<ui:IconData x:Key="Icon.Archive" Stroke="M2 4.5 H14 V13.5 H2 Z M2 2 H14 V4.5 H2 Z M6 8 H10" />
|
||||
<ui:IconData x:Key="Icon.Back" Stroke="M13 8 H3 M7 4 L3 8 L7 12" IsDirectional="True" />
|
||||
<ui:IconData x:Key="Icon.Boomerang" Stroke="M2 5 H11 A3 3 0 0 1 11 11 H3 M5 8.8 L2.8 11 L5 13.2" />
|
||||
<ui:IconData x:Key="Icon.Calendar" Stroke="M3.0 3 H13.0 A1.5 1.5 0 0 1 14.5 4.5 V13.0 A1.5 1.5 0 0 1 13.0 14.5 H3.0 A1.5 1.5 0 0 1 1.5 13.0 V4.5 A1.5 1.5 0 0 1 3.0 3 Z M1.5 6.5 H14.5 M5 1.5 V4 M11 1.5 V4" />
|
||||
<ui:IconData x:Key="Icon.Camera" Stroke="M1.5 5 A1 1 0 0 1 2.5 4 H4.5 L6 2.5 H10 L11.5 4 H13.5 A1 1 0 0 1 14.5 5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z M5.2 8.5 A2.8 2.8 0 1 0 10.8 8.5 A2.8 2.8 0 1 0 5.2 8.5 Z" />
|
||||
<ui:IconData x:Key="Icon.Cancel" Stroke="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M5.8 5.8 L10.2 10.2 M10.2 5.8 L5.8 10.2" />
|
||||
@@ -22,6 +23,7 @@
|
||||
<ui:IconData x:Key="Icon.Close" Stroke="M4 4 L12 12 M12 4 L4 12" />
|
||||
<ui:IconData x:Key="Icon.Compare" Stroke="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M8 1 V15" />
|
||||
<ui:IconData x:Key="Icon.Copy" Stroke="M6.5 5 H13.0 A1.5 1.5 0 0 1 14.5 6.5 V13.0 A1.5 1.5 0 0 1 13.0 14.5 H6.5 A1.5 1.5 0 0 1 5 13.0 V6.5 A1.5 1.5 0 0 1 6.5 5 Z M11 5 V2.5 A1 1 0 0 0 10 1.5 H2.5 A1 1 0 0 0 1.5 2.5 V10 A1 1 0 0 0 2.5 11 H5" />
|
||||
<ui:IconData x:Key="Icon.CopyToFolder" Stroke="M1.5 4 A1 1 0 0 1 2.5 3 H6 L7.5 4.5 H13.5 A1 1 0 0 1 14.5 5.5 V12.5 A1 1 0 0 1 13.5 13.5 H2.5 A1 1 0 0 1 1.5 12.5 Z M8 6.5 V11 M6 9 L8 11 L10 9" />
|
||||
<ui:IconData x:Key="Icon.CropMask" Stroke="M4 1.5 V12 H14.5 M1.5 4 H12 V14.5" />
|
||||
<ui:IconData x:Key="Icon.Cross" Stroke="M4.5 4.5 L11.5 11.5 M11.5 4.5 L4.5 11.5" />
|
||||
<ui:IconData x:Key="Icon.Database" Stroke="M2.5 3.8 C2.5 2.5 13.5 2.5 13.5 3.8 C13.5 5.1 2.5 5.1 2.5 3.8 Z M2.5 3.8 V12.2 C2.5 13.5 13.5 13.5 13.5 12.2 V3.8 M2.5 8 C2.5 9.3 13.5 9.3 13.5 8" />
|
||||
@@ -37,6 +39,7 @@
|
||||
<ui:IconData x:Key="Icon.Exposure" Stroke="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M3.4 12.6 L12.6 3.4 M4.5 6 H7 M5.75 4.75 V7.25 M9 10 H11.5" />
|
||||
<ui:IconData x:Key="Icon.ExternalLink" Stroke="M9.5 2 H14 V6.5 M14 2 L7.5 8.5 M12 9.5 V13 A1 1 0 0 1 11 14 H3 A1 1 0 0 1 2 13 V5 A1 1 0 0 1 3 4 H6.5" IsDirectional="True" />
|
||||
<ui:IconData x:Key="Icon.Eye" Stroke="M1.5 8 C3.5 4 12.5 4 14.5 8 C12.5 12 3.5 12 1.5 8 Z M5.8 8 A2.2 2.2 0 1 0 10.2 8 A2.2 2.2 0 1 0 5.8 8 Z" />
|
||||
<ui:IconData x:Key="Icon.Fade" Stroke="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z" Fill="M3 12 L13 4 V12 Z" />
|
||||
<ui:IconData x:Key="Icon.Filmstrip" Stroke="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M4.5 2.5 V13.5 M11.5 2.5 V13.5 M1.5 6 H4.5 M1.5 10 H4.5 M11.5 6 H14.5 M11.5 10 H14.5" />
|
||||
<ui:IconData x:Key="Icon.Filter" Stroke="M1.5 2.5 H14.5 L9.5 8.5 V13.5 L6.5 12 V8.5 Z" />
|
||||
<ui:IconData x:Key="Icon.Flip" Stroke="M1.5 8 H3 M5.5 8 H7.5 M10 8 H12 M14 8 H14.5 M4 6 H12.5 V1.5 Z" Fill="M4 10 L12.5 14.5 V10 Z" />
|
||||
@@ -88,6 +91,7 @@
|
||||
<ui:IconData x:Key="Icon.Stack" Stroke="M8 1.8 L14.5 5.2 L8 8.6 L1.5 5.2 Z M1.5 8.2 L8 11.6 L14.5 8.2 M1.5 11 L8 14.4 L14.5 11" />
|
||||
<ui:IconData x:Key="Icon.Star" Stroke="M8 1.8 L9.9 5.8 L14.2 6.3 L11 9.3 L11.9 13.6 L8 11.4 L4.1 13.6 L5 9.3 L1.8 6.3 L6.1 5.8 Z" />
|
||||
<ui:IconData x:Key="Icon.StarFilled" Fill="M8 1.8 L9.9 5.8 L14.2 6.3 L11 9.3 L11.9 13.6 L8 11.4 L4.1 13.6 L5 9.3 L1.8 6.3 L6.1 5.8 Z" />
|
||||
<ui:IconData x:Key="Icon.StillFrame" Stroke="M3.0 2.5 H13.0 A1.5 1.5 0 0 1 14.5 4.0 V12.0 A1.5 1.5 0 0 1 13.0 13.5 H3.0 A1.5 1.5 0 0 1 1.5 12.0 V4.0 A1.5 1.5 0 0 1 3.0 2.5 Z M4.5 2.5 V13.5 M11.5 2.5 V13.5 M1.5 6 H4.5 M1.5 10 H4.5 M11.5 6 H14.5 M11.5 10 H14.5" Fill="M6.5 5.5 H9.5 A0.5 0.5 0 0 1 10 6.0 V10.0 A0.5 0.5 0 0 1 9.5 10.5 H6.5 A0.5 0.5 0 0 1 6 10.0 V6.0 A0.5 0.5 0 0 1 6.5 5.5 Z" />
|
||||
<ui:IconData x:Key="Icon.Stop" Fill="M5.0 3.5 H11.0 A1.5 1.5 0 0 1 12.5 5.0 V11.0 A1.5 1.5 0 0 1 11.0 12.5 H5.0 A1.5 1.5 0 0 1 3.5 11.0 V5.0 A1.5 1.5 0 0 1 5.0 3.5 Z" />
|
||||
<ui:IconData x:Key="Icon.Straighten" Stroke="M1.5 12.5 H14.5 M2.5 12.5 L13 6 M8.45 8.81 A7 7 0 0 1 9.50 12.50" />
|
||||
<ui:IconData x:Key="Icon.SuccessCircle" Stroke="M1.5 8 A6.5 6.5 0 1 0 14.5 8 A6.5 6.5 0 1 0 1.5 8 Z M5 8.3 L7.1 10.3 L11 6" />
|
||||
@@ -103,6 +107,7 @@
|
||||
<ui:IconData x:Key="Icon.Users" Stroke="M5 5 A3 3 0 1 0 11 5 A3 3 0 1 0 5 5 Z M2.5 14 A5.5 5.5 0 0 1 13.5 14" />
|
||||
<ui:IconData x:Key="Icon.Vectors" Stroke="M2.5 12.5 L7 8 M7 8 H4.5 M7 8 V10.5 M9 7 L13.5 2.5 M13.5 2.5 H11 M13.5 2.5 V5" />
|
||||
<ui:IconData x:Key="Icon.Verify" Stroke="M8 1.5 L13.5 3.5 V7.5 C13.5 11 11 13.3 8 14.5 C5 13.3 2.5 11 2.5 7.5 V3.5 Z M5.5 8 L7.3 9.8 L10.6 6.3" />
|
||||
<ui:IconData x:Key="Icon.Videos" Stroke="M3.0 4 H11.0 A1.5 1.5 0 0 1 12.5 5.5 V12.5 A1.5 1.5 0 0 1 11.0 14 H3.0 A1.5 1.5 0 0 1 1.5 12.5 V5.5 A1.5 1.5 0 0 1 3.0 4 Z M4.5 1.5 H13 A1.5 1.5 0 0 1 14.5 3 V11.5" Fill="M5.5 6.5 L9.5 9 L5.5 11.5 Z" />
|
||||
<ui:IconData x:Key="Icon.ViewGrid" Stroke="M2.5 1.5 H6.0 A1 1 0 0 1 7.0 2.5 V6.0 A1 1 0 0 1 6.0 7.0 H2.5 A1 1 0 0 1 1.5 6.0 V2.5 A1 1 0 0 1 2.5 1.5 ZM10 1.5 H13.5 A1 1 0 0 1 14.5 2.5 V6.0 A1 1 0 0 1 13.5 7.0 H10 A1 1 0 0 1 9 6.0 V2.5 A1 1 0 0 1 10 1.5 ZM2.5 9 H6.0 A1 1 0 0 1 7.0 10 V13.5 A1 1 0 0 1 6.0 14.5 H2.5 A1 1 0 0 1 1.5 13.5 V10 A1 1 0 0 1 2.5 9 ZM10 9 H13.5 A1 1 0 0 1 14.5 10 V13.5 A1 1 0 0 1 13.5 14.5 H10 A1 1 0 0 1 9 13.5 V10 A1 1 0 0 1 10 9 Z" />
|
||||
<ui:IconData x:Key="Icon.ViewList" Stroke="M5.5 4 H13.5 M5.5 8 H13.5 M5.5 12 H13.5 M2.5 4 H2.6 M2.5 8 H2.6 M2.5 12 H2.6" IsDirectional="True" />
|
||||
<ui:IconData x:Key="Icon.ViewTimeline" Stroke="M2 13.5 H14 M3.5 11 V8 M6 11 V5 M8.5 11 V7 M11 11 V3.5 M13.5 11 V9" />
|
||||
|
||||
@@ -204,7 +204,7 @@ public sealed class CameraTabTests
|
||||
straighten.Value = -1.23;
|
||||
Assert.Equal(-1.2, session.Project.Camera.Straighten);
|
||||
Assert.Equal("−1.2°", straighten.DisplayValue);
|
||||
Assert.Equal(ProjectSettings.CurrentVersion, session.Project.RequiredFormat, "a straighten needs format 2");
|
||||
Assert.Equal(2, session.Project.RequiredFormat, "a straighten needs format 2");
|
||||
straighten.Value = 0.02;
|
||||
Assert.Equal(0.0, session.Project.Camera.Straighten);
|
||||
Assert.False(double.IsNegative(session.Project.Camera.Straighten), "never −0");
|
||||
@@ -232,7 +232,7 @@ public sealed class CameraTabTests
|
||||
filter.Selected = filter.Options.Single(o => Equals(o.Value, "sepia"));
|
||||
Assert.Equal(new LookSettings { Filter = "sepia" }.Filter, session.Project.Look?.Filter);
|
||||
Assert.Null(session.Project.Look!.Strength, "100 % is the default");
|
||||
Assert.Equal(ProjectSettings.CurrentVersion, session.Project.RequiredFormat);
|
||||
Assert.Equal(2, session.Project.RequiredFormat);
|
||||
Refresh(rows);
|
||||
Assert.True(strength.IsApplicable);
|
||||
Assert.Equal(1.0, strength.Value);
|
||||
|
||||
@@ -497,7 +497,7 @@ public sealed class EditorSessionTests
|
||||
var before = session.Project.ToJson();
|
||||
for (var i = 0; i < 4; i++) Assert.True(session.Orient(OrientationOp.RotateRight));
|
||||
Assert.Equal(before, session.Project.ToJson());
|
||||
Assert.Equal(ProjectSettings.CurrentVersion, session.Project.RequiredFormat, "a straighten needs format 2");
|
||||
Assert.Equal(2, session.Project.RequiredFormat, "a straighten needs format 2");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ public sealed class ProjectHistoryTests
|
||||
[Test]
|
||||
public void SettingsOfANewerChronosAdoptedDropTheStepsInsteadOfMergingThem()
|
||||
{
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 3, "exposure": { "exposureOffsetEv": 1.5 }, "grade": { "look": "film" } }""", allowNewer: true);
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 4, "exposure": { "exposureOffsetEv": 1.5 }, "grade": { "look": "film" } }""", allowNewer: true);
|
||||
// The workspace's merge throws as ProjectMerge does where both sides changed and one is a newer Chronos's.
|
||||
foreach (var merge in new Func<ProjectSettings, ProjectSettings, ProjectSettings, ProjectSettings>?[]
|
||||
{ null, (basis, ours, theirs) => ProjectMerge.MergeWithConflicts(basis, ours, theirs).Merged })
|
||||
|
||||
@@ -96,13 +96,13 @@ public sealed class ProjectBundleTests(TestContext context)
|
||||
{
|
||||
var workspace = new BundleWorkspace(Guid.CreateVersion7(), "Main", true, new BundleHome(BundleHome.ArchiveKind, SequenceId, ArchiveId), null,
|
||||
new BundleMedia(BundleMedia.Proxies, 0));
|
||||
var json = (Sample() with { Workspace = workspace }).ToJson().Replace("\"version\": 1", "\"version\": 3", StringComparison.Ordinal);
|
||||
var json = (Sample() with { Workspace = workspace }).ToJson().Replace("\"version\": 1", "\"version\": 4", StringComparison.Ordinal);
|
||||
var bundle = ProjectBundle.Parse(json);
|
||||
Assert.True(bundle.IsReadOnly);
|
||||
Assert.True(bundle.Project.IsNewerFormat);
|
||||
Assert.Equal(0.8, bundle.Project.Exposure.DeflickerStrength.Resolve(1.0));
|
||||
|
||||
var plain = Sample().ToJson().Replace("\"version\": 1", "\"version\": 3", StringComparison.Ordinal);
|
||||
var plain = Sample().ToJson().Replace("\"version\": 1", "\"version\": 4", StringComparison.Ordinal);
|
||||
Assert.Throws<InvalidDataException>(() => ProjectBundle.Parse(plain));
|
||||
}
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ public sealed class ProjectContentTests
|
||||
Assert.Equal(saved, ProjectContent.Rebind(saved, Frames(Photo(7))));
|
||||
Assert.False(ProjectContent.SameChoices(saved, current, Frames(Photo(7))));
|
||||
// A newer Chronos's settings are its own to rename.
|
||||
var newer = """{ "version": 3, "pendingFrames": [ { "size": 1001, "capturedAt": "2026-09-28T18:00:10", "excluded": true } ] }""";
|
||||
var newer = """{ "version": 4, "pendingFrames": [ { "size": 1001, "capturedAt": "2026-09-28T18:00:10", "excluded": true } ] }""";
|
||||
Assert.Equal(newer, ProjectContent.Rebind(newer, now));
|
||||
}
|
||||
|
||||
@@ -329,12 +329,12 @@ public sealed class ProjectContentTests
|
||||
[Test]
|
||||
public void SettingsOfANewerFormatAreReadOnlyAndKeptAsTheyAre()
|
||||
{
|
||||
var newer = """{ "version": 3, "excludedFrames": [1], "exposure": { "exposureOffsetEv": 1.5 }, "grade": { "look": "film" } }""";
|
||||
var newer = """{ "version": 4, "excludedFrames": [1], "exposure": { "exposureOffsetEv": 1.5 }, "grade": { "look": "film" } }""";
|
||||
Assert.Throws<InvalidDataException>(() => ProjectSettings.FromJson(newer));
|
||||
var read = ProjectSettings.FromJson(newer, allowNewer: true);
|
||||
Assert.True(read.IsNewerFormat);
|
||||
Assert.Equal(1.5, read.Exposure.ExposureOffsetEv);
|
||||
Assert.Equal(3, ProjectContent.FormatOf(newer));
|
||||
Assert.Equal(4, ProjectContent.FormatOf(newer));
|
||||
Assert.Equal(1, ProjectContent.FormatOf("""{ "exposure": {} }"""));
|
||||
|
||||
// Its positions are a newer Chronos's to translate: only the text is made canonical.
|
||||
|
||||
@@ -570,23 +570,130 @@ public sealed class ProjectSettingsTests
|
||||
[Test]
|
||||
public void ANewerFormatStaysReadOnlyAndKeepsItsNumber()
|
||||
{
|
||||
const string newer = """{ "version": 3, "camera": { "rotate": 90 }, "look": { "filter": "film", "grain": 0.2 } }""";
|
||||
const string newer = """{ "version": 4, "camera": { "rotate": 90 }, "look": { "filter": "film", "grain": 0.2 } }""";
|
||||
Assert.Throws<InvalidDataException>(() => ProjectSettings.FromJson(newer));
|
||||
var read = ProjectSettings.FromJson(newer, allowNewer: true);
|
||||
Assert.True(read.IsNewerFormat);
|
||||
Assert.Equal(3, read.WrittenFormat);
|
||||
Assert.Equal(4, read.WrittenFormat);
|
||||
var canonical = ProjectContent.Canonical(newer);
|
||||
Assert.Equal(3, ProjectContent.FormatOf(canonical));
|
||||
Assert.Equal(4, ProjectContent.FormatOf(canonical));
|
||||
Assert.Contains("\"grain\": 0.2", canonical);
|
||||
Assert.Equal(canonical, ProjectContent.Canonical(canonical));
|
||||
|
||||
// A format-2 project is this Chronos's own (written as the format it needs); text without a version is format 1.
|
||||
// Format-2 and format-3 projects are this Chronos's own (written as the format they need); text without a version
|
||||
// is format 1.
|
||||
Assert.False(ProjectSettings.FromJson("""{ "version": 2 }""").IsNewerFormat);
|
||||
Assert.Equal(1, ProjectSettings.FromJson("""{ "version": 2 }""").WrittenFormat);
|
||||
Assert.False(ProjectSettings.FromJson("""{ "version": 3 }""").IsNewerFormat);
|
||||
Assert.Equal(1, ProjectSettings.FromJson("""{ "version": 3 }""").WrittenFormat);
|
||||
Assert.Equal(1, ProjectContent.FormatOf("""{ "camera": {} }"""));
|
||||
Assert.Equal(1, ProjectContent.FormatOf(null));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void APlaybackAtItsDefaultIsWrittenAsNone()
|
||||
{
|
||||
var plain = new ProjectSettings().ToJson();
|
||||
foreach (var playback in new[]
|
||||
{
|
||||
new PlaybackSettings(),
|
||||
new PlaybackSettings { Direction = "Forward", Loops = 1, FadeIn = 0, FadeOut = 0, HoldEnd = 0 },
|
||||
new PlaybackSettings { Loops = 0, FadeIn = double.NaN, HoldEnd = -2 },
|
||||
})
|
||||
{
|
||||
Assert.True(playback.IsDefault);
|
||||
var settings = new ProjectSettings { Export = new ExportSettings { Playback = playback } };
|
||||
Assert.Equal(ProjectSettings.BaseVersion, settings.RequiredFormat);
|
||||
Assert.Equal(plain, settings.ToJson());
|
||||
}
|
||||
Assert.False(plain.Contains("playback", StringComparison.Ordinal));
|
||||
Assert.Null(ProjectSettings.FromJson(plain).Export.Playback);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ThePlaybackRaisesTheFormatToThreeAndLeavesOutItsDefaults()
|
||||
{
|
||||
var plain = new ProjectSettings();
|
||||
var turned = plain with { Camera = new CameraSettings { Rotate = 90 } };
|
||||
var reversed = new PlaybackSettings { Direction = PlaybackDirection.Reverse, Loops = 1, FadeIn = 0 };
|
||||
Assert.Equal((1, 2), (plain.RequiredFormat, turned.RequiredFormat));
|
||||
foreach (var settings in new[]
|
||||
{
|
||||
plain with { Export = plain.Export with { Playback = reversed } },
|
||||
turned with { Export = plain.Export with { Playback = new PlaybackSettings { FadeOut = 2.5 } } },
|
||||
plain with { Export = plain.Export with { Playback = new PlaybackSettings { Loops = 3, HoldEnd = 1 } } },
|
||||
})
|
||||
{
|
||||
Assert.Equal(ProjectSettings.PlaybackVersion, settings.RequiredFormat);
|
||||
Assert.Equal(3, ProjectSettings.CurrentVersion);
|
||||
var json = settings.ToJson();
|
||||
Assert.Contains("\"version\": 3", json);
|
||||
var back = ProjectSettings.FromJson(json);
|
||||
Assert.Equal(3, back.Version);
|
||||
Assert.False(back.IsNewerFormat);
|
||||
Assert.Equal(json, back.ToJson());
|
||||
Assert.Equal(json, ProjectContent.Canonical(json));
|
||||
}
|
||||
|
||||
// Each member at its default is left out of the text.
|
||||
var text = (plain with { Export = plain.Export with { Playback = reversed } }).ToJson();
|
||||
var written = System.Text.Json.Nodes.JsonNode.Parse(text)!["export"]!["playback"]!.AsObject().Select(p => p.Key).ToList();
|
||||
Assert.SequenceEqual(["direction"], written);
|
||||
|
||||
// Every member reads back; the effective values clamp what is out of range.
|
||||
var full = ProjectSettings.FromJson("""{ "export": { "playback": { "direction": "boomerang", "loops": 40, "fadeIn": 1.5, "fadeOut": 99, "holdEnd": 3 } } }""");
|
||||
var playback = Assert.NotNull(full.Export.Playback);
|
||||
Assert.Equal(("boomerang", (int?)40, (double?)1.5, (double?)99.0, (double?)3.0), (playback.Direction, playback.Loops, playback.FadeIn, playback.FadeOut, playback.HoldEnd));
|
||||
Assert.Equal((PlaybackSettings.MaxLoops, PlaybackSettings.MaxFadeSeconds), (playback.EffectiveLoops, playback.EffectiveFadeOut));
|
||||
Assert.Equal(3, full.RequiredFormat);
|
||||
|
||||
// A direction this Chronos does not know renders forward but is kept, and keeps the format.
|
||||
var unknown = ProjectSettings.FromJson("""{ "export": { "playback": { "direction": "pingpong", "speed": 2 } } }""");
|
||||
var kept = Assert.NotNull(unknown.Export.Playback);
|
||||
Assert.Equal(PlaybackDirection.Forward, kept.EffectiveDirection);
|
||||
Assert.False(kept.IsDefault);
|
||||
Assert.Equal(3, unknown.RequiredFormat);
|
||||
Assert.Contains("\"speed\": 2", unknown.ToJson());
|
||||
|
||||
// Taken away again, the project is format 1 with the text it had before.
|
||||
var undone = ProjectSettings.FromJson(text) with { Export = plain.Export };
|
||||
Assert.Equal(plain.ToJson(), undone.ToJson());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AFormatThreeFileReadByAFormatTwoBuildKeepsItsPlayback()
|
||||
{
|
||||
var path = Path.Combine(TestContext.FixturesDirectory, "settings", "format3-playback.json");
|
||||
var fixture = File.ReadAllText(path);
|
||||
var settings = ProjectSettings.FromJson(fixture);
|
||||
Assert.Equal(3, settings.Version);
|
||||
var playback = Assert.NotNull(settings.Export.Playback);
|
||||
Assert.Equal((PlaybackDirection.Boomerang, 2, 1.5, 2.0, 3.0), (playback.EffectiveDirection, playback.EffectiveLoops, playback.EffectiveFadeIn, playback.EffectiveFadeOut, playback.EffectiveHoldEnd));
|
||||
Assert.Equal((3, 90), (settings.RequiredFormat, settings.Camera.Rotate));
|
||||
var canonical = ProjectContent.Canonical(settings.ToJson());
|
||||
Assert.Equal(3, ProjectContent.FormatOf(canonical));
|
||||
|
||||
// A format-2 build knows no playback: it lands in the export's Extra and is written back where it was.
|
||||
var old = Format2Build.Read(canonical);
|
||||
Assert.True(old.Export.Extra!.ContainsKey("playback"));
|
||||
Assert.Equal(3, old.Version);
|
||||
Assert.Equal(canonical, Format2Build.Write(old).ReplaceLineEndings("\n"));
|
||||
Assert.True(ProjectContent.MatchesHash(Format2Build.Write(old), ProjectContent.Hash(canonical)));
|
||||
var export = System.Text.Json.Nodes.JsonNode.Parse(canonical)!["export"]!.AsObject().Select(p => p.Key).ToList();
|
||||
Assert.Equal("playback", export[^1]);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The settings as a format-2 build reads and writes them: its export without the playback (owner review 1, phase 5),
|
||||
/// with the same serialiser options. What it does not know lands in <c>Extra</c>.
|
||||
/// </summary>
|
||||
private static class Format2Build
|
||||
{
|
||||
public static Format2Project Read(string json) => System.Text.Json.JsonSerializer.Deserialize(json, OldJson.Default.Format2Project)!;
|
||||
|
||||
public static string Write(Format2Project project) => System.Text.Json.JsonSerializer.Serialize(project, OldJson.Default.Format2Project);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The settings as a format-1 build reads and writes them: its camera without phase 4's members and its project without
|
||||
/// the look, with the same serialiser options. What it does not know lands in <c>Extra</c>.
|
||||
@@ -630,6 +737,39 @@ internal sealed record OldProject
|
||||
public Dictionary<string, System.Text.Json.JsonElement>? Extra { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>A format-2 build's export (before owner review 1, phase 5): no playback.</summary>
|
||||
internal sealed record Format2Export
|
||||
{
|
||||
public Auto<string> Preset { get; init; } = new();
|
||||
public ExportOverrides Overrides { get; init; } = new();
|
||||
public string NameTemplate { get; init; } = "{date} {title} - {preset}";
|
||||
public string? Folder { get; init; }
|
||||
public IReadOnlyList<string> Batch { get; init; } = [];
|
||||
public bool SyncToServer { get; init; }
|
||||
|
||||
[System.Text.Json.Serialization.JsonExtensionData]
|
||||
public Dictionary<string, System.Text.Json.JsonElement>? Extra { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>A format-2 build's project (owner review 1, phase 4): phase 4's camera and look, the export without playback.</summary>
|
||||
internal sealed record Format2Project
|
||||
{
|
||||
public int Version { get; init; } = 1;
|
||||
public TimingSettings Timing { get; init; } = new();
|
||||
public ExposureSettings Exposure { get; init; } = new();
|
||||
public MotionSettings Motion { get; init; } = new();
|
||||
public CameraSettings Camera { get; init; } = new();
|
||||
public StackSettings Stack { get; init; } = new();
|
||||
public Format2Export Export { get; init; } = new();
|
||||
public IReadOnlyList<int> ExcludedFrames { get; init; } = [];
|
||||
public int? HeroFrame { get; init; }
|
||||
public IReadOnlyList<PendingFrame>? PendingFrames { get; init; }
|
||||
public LookSettings? Look { get; init; }
|
||||
|
||||
[System.Text.Json.Serialization.JsonExtensionData]
|
||||
public Dictionary<string, System.Text.Json.JsonElement>? Extra { get; set; }
|
||||
}
|
||||
|
||||
[System.Text.Json.Serialization.JsonSourceGenerationOptions(
|
||||
WriteIndented = true,
|
||||
PropertyNamingPolicy = System.Text.Json.Serialization.JsonKnownNamingPolicy.CamelCase,
|
||||
@@ -637,4 +777,5 @@ internal sealed record OldProject
|
||||
UseStringEnumConverter = true,
|
||||
PropertyNameCaseInsensitive = true)]
|
||||
[System.Text.Json.Serialization.JsonSerializable(typeof(OldProject))]
|
||||
[System.Text.Json.Serialization.JsonSerializable(typeof(Format2Project))]
|
||||
internal sealed partial class OldJson : System.Text.Json.Serialization.JsonSerializerContext;
|
||||
@@ -0,0 +1,64 @@
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Core.Project;
|
||||
using Chronos.Core.Render;
|
||||
using Chronos.Core.Video;
|
||||
using Chronos.Testing;
|
||||
|
||||
namespace Chronos.Core.Tests.Render;
|
||||
|
||||
public sealed class OutputProgramTests
|
||||
{
|
||||
private static readonly Rational Fps25 = new(25, 1);
|
||||
|
||||
[Test]
|
||||
public void TheDefaultPlaybackEmitsThePlanAsItIs()
|
||||
{
|
||||
var frames = Frames(3600, 3600, 7200);
|
||||
foreach (var playback in new[] { null, new PlaybackSettings() })
|
||||
{
|
||||
var program = OutputProgram.Build(frames, playback, Fps25);
|
||||
Assert.SequenceEqual([new ProgramEntry(0, 3600, 1), new ProgramEntry(1, 3600, 1), new ProgramEntry(2, 7200, 1)], program.Entries);
|
||||
Assert.Equal((3, 14400L), (program.Count, program.Duration90k));
|
||||
Assert.Approximately(0.16, program.DurationSeconds, 1e-12);
|
||||
Assert.Equal(0, program.Warnings.Count);
|
||||
}
|
||||
Assert.Equal(0, OutputProgram.Build([], null, Fps25).Count);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AnUnknownDirectionPlaysForwardWithAWarning()
|
||||
{
|
||||
var program = OutputProgram.Build(Frames(3600, 3600), new PlaybackSettings { Direction = "pingpong" }, Fps25);
|
||||
Assert.SequenceEqual([0, 1], program.Entries.Select(e => e.PlanIndex));
|
||||
Assert.Count(1, program.Warnings);
|
||||
var warning = program.Warnings[0];
|
||||
Assert.Equal(OutputProgram.DirectionUnknownWarning, warning.Key);
|
||||
Assert.SequenceEqual(["pingpong"], warning.Args);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ARateThatIsNotPositiveIsRefused() =>
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => OutputProgram.Build(Frames(3600), null, new Rational(0, 1)));
|
||||
|
||||
[Test]
|
||||
public void TheKindOfARenderFollowsItsColumnElseItsCodec()
|
||||
{
|
||||
Assert.Equal(RenderKind.Still, RenderKind.Of("still", "png-sequence"));
|
||||
Assert.Equal(RenderKind.Sequence, RenderKind.Of(null, "png-sequence"));
|
||||
Assert.Equal(RenderKind.Sequence, RenderKind.Of(null, "Tiff16Sequence"));
|
||||
Assert.Equal(RenderKind.Video, RenderKind.Of(null, "h264"));
|
||||
Assert.Equal(RenderKind.Video, RenderKind.Of(null, null));
|
||||
}
|
||||
|
||||
private static PlannedFrame[] Frames(params long[] durations)
|
||||
{
|
||||
var frames = new PlannedFrame[durations.Length];
|
||||
long start = 0;
|
||||
for (var i = 0; i < durations.Length; i++)
|
||||
{
|
||||
frames[i] = new PlannedFrame(i, i, i, 0, start, durations[i], i, 1, 1, PlannedFrameFlags.None);
|
||||
start += durations[i];
|
||||
}
|
||||
return frames;
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,18 @@ public sealed class RenderRulesTests
|
||||
// The settings' own format counts too.
|
||||
var turned = new ProjectSettings { Camera = new CameraSettings { Rotate = 90 } };
|
||||
Assert.Equal(2, RenderRules.RequiredFormat(turned, Export("png-sequence"), 6000, 4000));
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 3 }""", allowNewer: true);
|
||||
Assert.Equal(3, RenderRules.RequiredFormat(newer, Export("4k-h264"), 6000, 4000));
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 4 }""", allowNewer: true);
|
||||
Assert.Equal(4, RenderRules.RequiredFormat(newer, Export("4k-h264"), 6000, 4000));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void APlaybackOrAStillNeedsFormatThree()
|
||||
{
|
||||
var playback = new ProjectSettings { Export = new ExportSettings { Playback = new PlaybackSettings { FadeIn = 1 } } };
|
||||
Assert.Equal(3, RenderRules.RequiredFormat(playback, Export("4k-h264"), 6000, 4000));
|
||||
Assert.Equal(1, RenderRules.RequiredFormat(new ProjectSettings(), Export("4k-h264"), 6000, 4000, still: false));
|
||||
Assert.Equal(RenderRules.StillFormat, RenderRules.RequiredFormat(new ProjectSettings(), Export("4k-h264"), 6000, 4000, still: true));
|
||||
Assert.SequenceEqual([Chronos.Core.Video.VideoCodec.PngSequence, Chronos.Core.Video.VideoCodec.JpegSequence, Chronos.Core.Video.VideoCodec.Tiff16Sequence], RenderRules.StillCodecs);
|
||||
}
|
||||
|
||||
private static CameraSettings Camera(string aspect) => new() { Aspect = new Auto<string>().WithManual(aspect) };
|
||||
|
||||
@@ -13,6 +13,7 @@ public sealed class JobWireTests
|
||||
[Case(JobKind.WorkspaceRender, 21, "workspace-render")]
|
||||
[Case(JobKind.WorkspaceSend, 22, "workspace-send")]
|
||||
[Case(JobKind.WorkspaceMove, 23, "workspace-move")]
|
||||
[Case(JobKind.VideoCopy, 24, "video-copy")]
|
||||
public void TheWorkspaceJobsKeepTheirValueAndName(JobKind kind, int value, string name)
|
||||
{
|
||||
Assert.Equal(value, (int)kind);
|
||||
|
||||
@@ -11,6 +11,7 @@ public abstract class MigrationTests(TestContext context) : RepositoryTest(conte
|
||||
[
|
||||
"archives", "sequences", "frames", "renders", "jobs", "media_cards", "import_history", "users", "tokens",
|
||||
"render_nodes", "settings", "tags", "sequence_tags", "audit_log", "uploads", "schedules", "frame_removals", "projects", "project_versions",
|
||||
"render_copies",
|
||||
];
|
||||
|
||||
[Test]
|
||||
@@ -103,6 +104,41 @@ public abstract class MigrationTests(TestContext context) : RepositoryTest(conte
|
||||
Assert.Null(await chronos.Projects.GetVersionAsync(version.Id, Ct));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task RendersKeepTheirHashAndKindAndCopiesOutliveThem()
|
||||
{
|
||||
var chronos = await OpenChronosAsync();
|
||||
var archive = TestData.Archive("Main");
|
||||
await chronos.Archives.UpsertAsync(archive, Ct);
|
||||
var sequence = TestData.Sequence(archive.Id);
|
||||
await chronos.Sequences.UpsertAsync(sequence, Ct);
|
||||
var now = DateTimeOffset.UtcNow;
|
||||
var render = new Render { Id = Guid.CreateVersion7(), SequenceId = sequence.Id, PresetName = "PNG", OutputPath = "x/exports/a.png", Created = now };
|
||||
await chronos.Renders.InsertAsync(render, Ct);
|
||||
|
||||
await using var session = await chronos.Database.OpenAsync(Ct);
|
||||
// Rows recorded before migration 0010 have neither: null, told apart by the codec.
|
||||
Assert.Equal(1L, await session.ScalarAsync<long>("SELECT count(*) FROM renders WHERE sha256 IS NULL AND kind IS NULL", [], Ct));
|
||||
var hash = new string('a', 64);
|
||||
await session.ExecuteAsync("UPDATE renders SET sha256 = $1, kind = $2 WHERE id = $3", [hash, "still", render.Id], Ct);
|
||||
Assert.Equal(hash, await session.ScalarAsync<string>("SELECT sha256 FROM renders WHERE id = $1", [render.Id], Ct));
|
||||
Assert.Equal("still", await session.ScalarAsync<string>("SELECT kind FROM renders WHERE id = $1", [render.Id], Ct));
|
||||
|
||||
// A copy names its render without a foreign key: it is kept when the render goes, and may name one never stored here.
|
||||
foreach (var renderId in new[] { render.Id, Guid.CreateVersion7() })
|
||||
{
|
||||
await session.ExecuteAsync(
|
||||
"INSERT INTO render_copies (id, render_id, path, sha256, bytes, copied_at, copied_by) VALUES ($1, $2, $3, $4, $5, $6, $7)",
|
||||
[Guid.CreateVersion7(), renderId, $"C:/Videos/{renderId:N}.png", hash, 1234L, now, "admin"], Ct);
|
||||
}
|
||||
await chronos.Renders.DeleteAsync(render.Id, Ct);
|
||||
Assert.Equal(2L, await session.ScalarAsync<long>("SELECT count(*) FROM render_copies", [], Ct));
|
||||
Assert.Equal(1234L, await session.ScalarAsync<long>("SELECT bytes FROM render_copies WHERE render_id = $1", [render.Id], Ct));
|
||||
// Bytes default to 0 and the hash and author may be null.
|
||||
await session.ExecuteAsync("INSERT INTO render_copies (id, render_id, path, copied_at) VALUES ($1, $2, $3, $4)", [Guid.CreateVersion7(), render.Id, "C:/Videos/b", now], Ct);
|
||||
Assert.Equal(0L, await session.ScalarAsync<long>("SELECT bytes FROM render_copies WHERE path = $1", ["C:/Videos/b"], Ct));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task AppliesOnlyPendingMigrations()
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ public sealed class ProjectStoreTests(TestContext context)
|
||||
[Test]
|
||||
public void SettingsOfANewerChronosAreRefusedSayingSo()
|
||||
{
|
||||
var refused = Assert.Throws<InvalidDataException>(() => ProjectStore.Parse("""{"version":3,"camera":{"rotate":90}}"""));
|
||||
var refused = Assert.Throws<InvalidDataException>(() => ProjectStore.Parse("""{"version":4,"camera":{"rotate":90}}"""));
|
||||
Assert.Equal(Loc.L("Errors.Render.NewerSettings"), refused.Message);
|
||||
Assert.Equal(90, ProjectStore.Parse("""{"version":2,"camera":{"rotate":90}}""").Camera.Rotate);
|
||||
// Text that is not a project keeps its own reason.
|
||||
|
||||
@@ -687,11 +687,11 @@ public sealed class RenderJobTests(TestContext context)
|
||||
|
||||
var parameters = ProcessingJobs.ReadRender(ProcessingJobs.Render(sequence, Mjpeg, 96, 64).ParametersJson).Parameters with
|
||||
{
|
||||
SettingsJson = """{"version":3,"camera":{"rotate":90},"grade":{"lut":"teal"}}""",
|
||||
SettingsJson = """{"version":4,"camera":{"rotate":90},"grade":{"lut":"teal"}}""",
|
||||
};
|
||||
var request = new Chronos.Data.Archiving.Jobs.ArchiveJobRequest(JobKind.Render, [sequence.Id], "newer",
|
||||
System.Text.Json.JsonSerializer.Serialize(parameters, Chronos.Protocol.ProtocolJson.Default.RenderJobParameters), JobPriority.User);
|
||||
Assert.Equal(3, ProcessingJobs.ReadRender(ProcessingJobs.Render(sequence, Mjpeg, 96, 64,
|
||||
Assert.Equal(4, ProcessingJobs.ReadRender(ProcessingJobs.Render(sequence, Mjpeg, 96, 64,
|
||||
ProjectSettings.FromJson(parameters.SettingsJson, allowNewer: true)).ParametersJson).Parameters.RequiredSettingsFormat, "routed to none older");
|
||||
var failed = await fx.WaitForAsync((await fx.EnqueueAsync(request)).Id, JobState.Failed);
|
||||
Assert.Equal(Loc.L("Errors.Render.NewerSettings"), failed.Error);
|
||||
|
||||
@@ -110,11 +110,11 @@ public sealed class ProjectMergeTests
|
||||
public void AFormatThreeSideIsNeverMerged()
|
||||
{
|
||||
var basis = new ProjectSettings { Camera = new CameraSettings { Rotate = 90 } };
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 3, "camera": { "rotate": 180 }, "look": { "filter": "film" } }""", allowNewer: true);
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 4, "camera": { "rotate": 180 }, "look": { "filter": "film" } }""", allowNewer: true);
|
||||
var mine = basis with { Look = new LookSettings { Filter = "warm" } };
|
||||
Assert.Throws<NewerSettingsException>(() => ProjectMerge.MergeWithConflicts(basis, mine, newer));
|
||||
Assert.Throws<NewerSettingsException>(() => ProjectMerge.MergeWithConflicts(basis, newer, mine));
|
||||
Assert.Equal(3, ProjectMerge.MergeWithConflicts(basis, basis, newer).Merged.Version);
|
||||
Assert.Equal(4, ProjectMerge.MergeWithConflicts(basis, basis, newer).Merged.Version);
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -165,7 +165,7 @@ public sealed class ProjectMergeTests
|
||||
public void SettingsOfANewerChronosAreNeverMergedWithThisOnes()
|
||||
{
|
||||
var basis = new ProjectSettings { Exposure = new ExposureSettings { ExposureOffsetEv = 0.1 } };
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 3, "exposure": { "exposureOffsetEv": 0.5 }, "grade": { "look": "film" } }""", allowNewer: true);
|
||||
var newer = ProjectSettings.FromJson("""{ "version": 4, "exposure": { "exposureOffsetEv": 0.5 }, "grade": { "look": "film" } }""", allowNewer: true);
|
||||
var mine = basis with { Stack = new StackSettings { Mode = StackSetting.Median } };
|
||||
|
||||
// Both changed: refused, whichever side the newer one is, in a replay too.
|
||||
|
||||
@@ -327,7 +327,7 @@ public abstract class ProjectRecoveryTests(TestContext context) : DatabaseTest(c
|
||||
var folder = fx.Paths.Sequence(sequence.Folder);
|
||||
|
||||
// A newer Chronos on another PC sharing the archive pushes version 2 in its settings format, and mirrors it.
|
||||
var settings = """{ "version": 3, "exposure": { "exposureOffsetEv": 0.5 }, "futureThing": true }""";
|
||||
var settings = """{ "version": 4, "exposure": { "exposureOffsetEv": 0.5 }, "futureThing": true }""";
|
||||
var now = DateTimeOffset.UtcNow;
|
||||
var future = new ProjectVersion
|
||||
{
|
||||
@@ -339,7 +339,7 @@ public abstract class ProjectRecoveryTests(TestContext context) : DatabaseTest(c
|
||||
ClientName = "newer",
|
||||
SettingsJson = settings,
|
||||
ContentHash = ProjectContent.Hash(settings),
|
||||
SettingsFormat = 3,
|
||||
SettingsFormat = 4,
|
||||
FramesVersion = head.FramesVersion,
|
||||
CreatedAt = now,
|
||||
StoredAt = now,
|
||||
|
||||
@@ -254,7 +254,7 @@ public sealed class SyncRulesTests
|
||||
var turned = new ProjectSettings { Camera = new CameraSettings { Rotate = 90 } }.ToJson();
|
||||
Assert.Contains("\"version\": 2", turned);
|
||||
Assert.SequenceEqual(["camera.rotate"], SyncRules.Differences(turned, plain).Select(d => d.Path));
|
||||
Assert.Contains(SyncRules.Differences("""{"version":3,"camera":{"rotate":90}}""", turned, max: 5), d => d.Path == "version");
|
||||
Assert.Contains(SyncRules.Differences("""{"version":4,"camera":{"rotate":90}}""", turned, max: 5), d => d.Path == "version");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -455,7 +455,7 @@ public abstract class WorkspaceTests(TestContext context) : DatabaseTest(context
|
||||
var (_, sync) = fx.Workspace();
|
||||
var project = await fx.CheckoutAsync(sync);
|
||||
var bundle = project.ReadBundle();
|
||||
File.WriteAllText(project.BundlePath, bundle.ToJson().Replace("\"version\": 1", "\"version\": 3", StringComparison.Ordinal));
|
||||
File.WriteAllText(project.BundlePath, bundle.ToJson().Replace("\"version\": 1", "\"version\": 4", StringComparison.Ordinal));
|
||||
|
||||
var session = await sync.OpenAsync(project.ProjectId, fx.Ct);
|
||||
Assert.True(session.IsReadOnly);
|
||||
|
||||
@@ -508,7 +508,7 @@ public sealed class ProjectTests(TestContext context)
|
||||
await using var server = await TestServer.StartAsync(context, services: ArchiveModule.Register);
|
||||
using (var anonymous = new ChronosClient(server.HttpBase, new CertificatePinning([]), "tests"))
|
||||
Assert.Equal(ProjectSettings.CurrentVersion, (await anonymous.GetInfoAsync(context.Cancellation)).SettingsFormat);
|
||||
Assert.Equal(2, ProjectSettings.CurrentVersion);
|
||||
Assert.Equal(3, ProjectSettings.CurrentVersion);
|
||||
|
||||
var (http, _, token) = await server.UserAsync("alberto", "editor");
|
||||
using var alberto = Client(server, token);
|
||||
@@ -527,8 +527,8 @@ public sealed class ProjectTests(TestContext context)
|
||||
var mirrored = ProjectSettings.FromJson(Assert.NotNull((await server.Database.Sequences.GetAsync(sid))!.SettingsJson));
|
||||
Assert.Equal((90, true, "sepia"), (mirrored.Camera.Rotate, mirrored.Camera.Mirror, mirrored.Look?.Filter), "Main's head is the sequence's settings");
|
||||
|
||||
const string future = """{"version":3,"camera":{"rotate":90}}""";
|
||||
var newer = Version(v3, new ProjectSettings(), home) with { SettingsJson = future, ContentHash = ProjectContent.Hash(future), SettingsFormat = 3 };
|
||||
const string future = """{"version":4,"camera":{"rotate":90}}""";
|
||||
var newer = Version(v3, new ProjectSettings(), home) with { SettingsJson = future, ContentHash = ProjectContent.Hash(future), SettingsFormat = 4 };
|
||||
using (var raw = await http.PostAsJsonAsync($"/api/v1/sequences/{sid}/projects/{main.Id}/versions", newer, ProtocolJson.Default.ProjectVersionDto))
|
||||
await raw.ExpectErrorAsync(HttpStatusCode.UnprocessableEntity, ProjectErrors.NewerFormat);
|
||||
Assert.Equal(3, (await alberto.GetProjectAsync(sid, main.Id)).HeadNumber);
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data.Archiving;
|
||||
using Chronos.Data.Videos;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Testing;
|
||||
|
||||
namespace Chronos.Server.Tests.Api;
|
||||
|
||||
/// <summary>
|
||||
/// The wire shapes of the videos library (owner review 1, phase 5): camelCase members, nulls left out, and the members
|
||||
/// added to existing DTOs trailing and optional, so a client or server of before reads and writes them as it did.
|
||||
/// </summary>
|
||||
public sealed class VideoContractTests
|
||||
{
|
||||
private static readonly Guid RenderId = Guid.Parse("01890000-0000-7000-8000-000000000001");
|
||||
private static readonly Guid SequenceId = Guid.Parse("01890000-0000-7000-8000-000000000002");
|
||||
private static readonly DateTimeOffset Created = new(2026, 11, 5, 18, 30, 0, TimeSpan.Zero);
|
||||
|
||||
[Test]
|
||||
public void AVideoTravelsWithItsSequenceStateAndCopies()
|
||||
{
|
||||
var video = new VideoDto(RenderId, SequenceId, "Web 1080p", "h264", 1920, 1080, 25, 12.5, 4_000_000, Created, "PC-A", null, null,
|
||||
new string('a', 64), RenderKind.Video, "Harbour sunset", new DateTime(2026, 10, 1, 18, 0, 0), "Main", 3, VideoStates.Ok,
|
||||
[new VideoCopyDto("/videos/Harbour sunset.mp4", Created)], "Harbour sunset.mp4");
|
||||
var json = JsonNode.Parse(JsonSerializer.Serialize(video, ProtocolJson.Default.VideoDto))!.AsObject();
|
||||
Assert.SequenceEqual(
|
||||
["id", "sequenceId", "presetName", "codec", "width", "height", "fps", "durationSeconds", "bytes", "created", "producedBy", "sha256",
|
||||
"kind", "sequenceTitle", "sequenceFirstCapture", "projectName", "projectVersionNumber", "state", "copies", "fileName"],
|
||||
json.Select(p => p.Key));
|
||||
Assert.Equal("video", json["kind"]!.GetValue<string>());
|
||||
Assert.Equal("/videos/Harbour sunset.mp4", json["copies"]![0]!["path"]!.GetValue<string>());
|
||||
var back = JsonSerializer.Deserialize(json.ToJsonString(), ProtocolJson.Default.VideoDto)!;
|
||||
Assert.Equal(video with { Copies = back.Copies }, back);
|
||||
Assert.Equal(video.Copies[0], back.Copies[0]);
|
||||
|
||||
var page = new VideoPageDto([video], "cursor-2");
|
||||
var pageJson = JsonNode.Parse(JsonSerializer.Serialize(page, ProtocolJson.Default.VideoPageDto))!.AsObject();
|
||||
Assert.SequenceEqual(["items", "next"], pageJson.Select(p => p.Key));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void DeletingIsADryRunThenTheSameFingerprint()
|
||||
{
|
||||
var request = JsonSerializer.Serialize(new VideoDeleteRequest([RenderId], DryRun: true), ProtocolJson.Default.VideoDeleteRequest);
|
||||
Assert.Equal($$"""{"ids":["{{RenderId}}"],"dryRun":true}""", request);
|
||||
var real = JsonSerializer.Deserialize("""{ "ids": [], "dryRun": false, "fingerprint": "abc" }""", ProtocolJson.Default.VideoDeleteRequest)!;
|
||||
Assert.Equal((false, "abc"), (real.DryRun, real.Fingerprint));
|
||||
|
||||
var plan = new VideoDeletePlanDto([new VideoDeleteItemDto(RenderId, SequenceId, "Harbour sunset", "a.mp4", 10, Missing: false)], 10,
|
||||
[new VideoBlockedDto(Guid.Empty, VideoBlockReasons.Busy)], "f1", DryRun: true);
|
||||
var json = JsonNode.Parse(JsonSerializer.Serialize(plan, ProtocolJson.Default.VideoDeletePlanDto))!.AsObject();
|
||||
Assert.SequenceEqual(["items", "bytes", "blocked", "fingerprint", "dryRun"], json.Select(p => p.Key));
|
||||
Assert.Equal("busy", json["blocked"]![0]!["reason"]!.GetValue<string>());
|
||||
|
||||
var copy = JsonSerializer.Serialize(new VideoCopyRequest([RenderId]), ProtocolJson.Default.VideoCopyRequest);
|
||||
Assert.Equal($$"""{"ids":["{{RenderId}}"]}""", copy);
|
||||
Assert.Equal(RenderId, JsonSerializer.Deserialize($$"""{"jobId":"{{RenderId}}"}""", ProtocolJson.Default.VideoCopyResultDto)!.JobId);
|
||||
Assert.Equal("videos", ServerCapabilities.Videos);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TheMembersAddedToOlderDtosAreLeftOutUntilSet()
|
||||
{
|
||||
var render = new RenderDto(RenderId, "MJPEG", "mjpeg", 96, 64, 25, 1, 10, Created, null);
|
||||
var renderJson = JsonSerializer.Serialize(render, ProtocolJson.Default.RenderDto);
|
||||
Assert.False(renderJson.Contains("sha256", StringComparison.Ordinal) || renderJson.Contains("kind", StringComparison.Ordinal), renderJson);
|
||||
var hashed = JsonNode.Parse(JsonSerializer.Serialize(render with { Sha256 = "ab", Kind = RenderKind.Still }, ProtocolJson.Default.RenderDto))!;
|
||||
Assert.Equal(("ab", "still"), (hashed["sha256"]!.GetValue<string>(), hashed["kind"]!.GetValue<string>()));
|
||||
|
||||
var parameters = new RenderJobParameters("MJPEG", "{}", "mjpeg", 96, 64, false, null);
|
||||
var parametersJson = JsonSerializer.Serialize(parameters, ProtocolJson.Default.RenderJobParameters);
|
||||
Assert.False(parametersJson.Contains("still", StringComparison.OrdinalIgnoreCase), parametersJson);
|
||||
Assert.False(parameters.IsStill);
|
||||
var still = JsonSerializer.Deserialize(
|
||||
JsonSerializer.Serialize(parameters with { StillFrame = 41, StillPhoto = "cd", RequiredSettingsFormat = 3 }, ProtocolJson.Default.RenderJobParameters),
|
||||
ProtocolJson.Default.RenderJobParameters)!;
|
||||
Assert.Equal(((int?)41, "cd", 3, true), (still.StillFrame, still.StillPhoto, still.RequiredSettingsFormat, still.IsStill));
|
||||
|
||||
var result = JsonSerializer.Deserialize("""{ "fileName": "a.png", "size": 1, "sha256": "ab", "presetName": "PNG", "width": 1, "height": 1, "fps": 0, "durationSeconds": 0 }""",
|
||||
ProtocolJson.Default.RenderResultRequest)!;
|
||||
Assert.Null(result.Kind);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TheLibraryStubAnswersEmptyUntilTheLibraryLands()
|
||||
{
|
||||
var stub = NotImplementedVideoLibrary.Instance;
|
||||
Assert.False(stub.IsAvailable);
|
||||
Assert.Equal(VideoErrors.FolderUnset, stub.FolderProblem(" "));
|
||||
Assert.Null(stub.FolderProblem("/videos"));
|
||||
Assert.Empty(stub.ListAsync(new VideoQuery()).GetAwaiter().GetResult().Items);
|
||||
Assert.Null(stub.GetAsync(RenderId).GetAwaiter().GetResult());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TrashEntriesAndCopyParametersReadBack()
|
||||
{
|
||||
var name = VideoTrashNames.EntryName(RenderId, Created);
|
||||
Assert.True(name.StartsWith(VideoTrashNames.Prefix, StringComparison.Ordinal));
|
||||
Assert.True(VideoTrashNames.TryParse(name, out var id, out var ticks));
|
||||
Assert.Equal((RenderId, Created.UtcTicks), (id, ticks));
|
||||
Assert.False(VideoTrashNames.IsEntryName($"sequence-{RenderId}"));
|
||||
Assert.False(VideoTrashNames.IsEntryName(null));
|
||||
Assert.Equal("videos", TrashKind.Videos.ToString().ToLowerInvariant());
|
||||
|
||||
var parameters = new VideoCopyParameters([RenderId], "/videos", FromServer: true, RequestedBy: "alberto");
|
||||
var back = Assert.NotNull(VideoCopyParameters.Read(parameters.ToJson()));
|
||||
Assert.Equal((parameters.Folder, parameters.FromServer, parameters.RequestedBy), (back.Folder, back.FromServer, back.RequestedBy));
|
||||
Assert.SequenceEqual(parameters.RenderIds, back.RenderIds);
|
||||
Assert.Null(VideoCopyParameters.Read("not json"));
|
||||
Assert.Equal(24, (int)JobKind.VideoCopy);
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"version": 3,
|
||||
"exposure": {
|
||||
"exposureOffsetEv": 0.25
|
||||
},
|
||||
"camera": {
|
||||
"rotate": 90
|
||||
},
|
||||
"export": {
|
||||
"nameTemplate": "{date} {title} - {preset}",
|
||||
"batch": [
|
||||
"web-1080p"
|
||||
],
|
||||
"playback": {
|
||||
"direction": "boomerang",
|
||||
"loops": 2,
|
||||
"fadeIn": 1.5,
|
||||
"fadeOut": 2,
|
||||
"holdEnd": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user