Merge main into feat/import-photocraft

This commit is contained in:
dotCooCoo committed 2026-11-19 07:28:11 -08:00
commit f5bbbd2d64
111 files changed
+14340 -1922

No files matched your search

+3 -2
View File
@@ -340,8 +340,9 @@ build real projects through these interfaces; they are worked examples of everyt
* **OCIO effects**: with Configuration ▸ Custom, `configFile` is a `.ocio` path or the config's
text; `effect.warning {layer, effect}` says what Effect Controls warns about (a config it
can't read, a colour space it lacks, transforms that pass colours through) or `null`.
* **Multi-layer OpenEXR**: the footage shows the beauty pass (an unnamed RGBA layer, else
Combined / Beauty / Image / RGBA…, never Cryptomatte or depth). `layer.channels {layer}`
* **Multi-layer OpenEXR**: the footage shows the main picture as After Effects does (the
unprefixed `R`, `G`, `B` (`A`) of the first part with them, else `Y` as grey; a file of named
layers only, such as Blender's `ViewLayer.Combined.R`, is black). `layer.channels {layer}`
lists a footage layer's EXR layers and
channels (`{"layers":[{"name":"diffuse","rgba":["diffuse.R","diffuse.G","diffuse.B",""]}]}`);
EXtractoR shows them when its `red` / `green` / `blue` / `alpha` are set to those names
+3 -2
View File
@@ -242,8 +242,9 @@ and undo can reuse earlier content. During rapid edits at the same time and view
shows the newest completed revision while the exact requested revision renders; out-of-order
completions cannot move it backwards. This avoids freezing until a slider or layer drag stops.
Frames at other times or with other render options are never substituted. Obsolete queued jobs
are dropped; running jobs finish into the cache. When the budget (Settings ▸ Memory & CPU) is
full the least recently shown frames go first. The timeline's green bar counts cached frames
are dropped; running jobs finish into the cache. The frames share one memory budget with
the other big caches (Settings ▸ Memory & CPU); when it is full the memory accountant frees the
least valuable data first, by cost to make again per byte and time since last use. The timeline's green bar counts cached frames
of the current content and viewer settings.
Resolution Auto renders the pixels the magnification needs, as in After Effects (Full above
50 %, Half down to 33.3 %, Third down to 25 %, then Quarter). The Resolution is the comp's
+22 -10
View File
@@ -117,20 +117,32 @@ false` goes back to Use Source File Timecode). Cineon Settings: `{"logConversion
Float OpenEXR renders hold linear light; EffectCraft sRGB-encodes them as they are read, like
After Effects with Interpret As Linear Light for 32 bpc, unless the item preserves RGB (above).
A multi-layer file shows its main RGBA channels, as in After Effects. Renders that keep every
pass in named layers (Blender's `ViewLayer.Combined`, its compositor's File Output `Image`,
Nuke's `beauty`) show the beauty pass: the layer named Combined, Beauty, Image, RGBA, RGB or
Color, else the first colour layer that isn't a data pass. Cryptomatte, depth, mist, normals,
vectors, positions and IDs are never the picture. EXtractoR reads every other layer and channel.
A multi-layer file shows its main picture, as in After Effects: the channels without a layer
prefix, `R`, `G`, `B` (and `A`) of the first part that has all three, else the first part that
has a `Y` (its `Y` and `A`) as grey. Renders that keep every pass in named layers (Blender's
`ViewLayer.Combined`, its compositor's File Output `Image`, Nuke's `beauty.R`) have no main
picture and show black at the file's size, as After Effects shows them; EXtractoR (and
Cryptomatte and the 3D Channel effects) read every layer and channel by name.
Footage on its own keeps only the channels of its picture (a single-part file still
decompresses all of its pixels to read them). Once an effect reads an item's channels
(EXtractoR, Cryptomatte, the 3D Channel effects), each frame, the first included, is decoded
once for the picture and the effects together, and kept for a while: about 1 GB of decoded
channels (512 MB in the browser), a soft bound, as the newest file and files still in use
stay whatever their size. Several frames asking for the same file at once wait for one
decode. Once no enabled effect reads the item any more, its frames go back to the picture's
channels alone.
once for the picture and the effects together, and only the channels the effects pick are
read (EXtractoR's channel names, Cryptomatte's layer, the 3D Channel effects' channel popups).
The decoded channels are kept for a while, in the one memory budget the caches share
(Settings ▸ Memory & CPU, see [preferences.md](preferences.md)): the least valuable item goes
first, whichever cache holds it, and among channel sets and frames that cost the same to decode
again, the least recently used; in the browser the channels take at most 256 MB, the footage
frames' cap there. Files still in
use stay whatever their size. The picture is kept once, converted: its own R, G, B and A planes are
not kept beside it, unless an effect names one of them. Several frames asking for the same
file at once wait for one decode. Once no enabled effect reads the item any more, its frames
go back to the picture's channels alone.
The parameters that pick channels (EXtractoR's Red, Green, Blue and Alpha, Cryptomatte's Layer
and Layer Name, 3D Channel Extract's 3D Channel, ID Matte's Aux. Channel, IDentifier's Channel Type) can't be animated, as in After Effects, where they have no
stopwatch either: they take no keyframes and no expression. A document that animated one
opens with its first value.
The Cryptomatte effect keys objects by their Cryptomatte ID passes, with the names from the
file's manifest. Pick them with the eyedropper next to its Selection, then click in the
+47 -6
View File
@@ -90,9 +90,6 @@ Commands (CLI, MCP, control channel):
- `audio.outputDevice`: Default Output (device list from the desktop host)
- `audio.outputLeft`: Left (Audio Output Mapping)
- `audio.outputRight`: Right (Audio Output Mapping)
- `memory.layerCacheMb`: Layer Cache (in the browser at most 512 MB, see [web.md](web.md))
- `memory.mediaCacheMb`: Footage Frame Cache (in the browser at most 256 MB)
- `memory.previewCacheMb`: Preview (RAM) Cache
- `memory.gpuFramesInFlight`: GPU Frames Rendered at Once (`auto`, `1`, `2`, `3`): how many
frames the Render Queue renders on the GPU at once. Auto measures the GPU memory after the
job's first GPU frame and fits up to 3 frames into the GPU memory cap (by default a
@@ -185,9 +182,53 @@ Commands (CLI, MCP, control channel):
- `disk.mediaCacheFolder`: audio waveform summaries kept between sessions (`Peaks/`)
- `disk.conformedMediaFolder`: decoded (conformed) footage audio, written once per file and
sample rate and read back instead of decoding again
- `memory.ramReservedGb`: the cache budgets together leave this much physical memory free
- `memory.reduceCacheWhenLow`: cache budgets halve while the system is low on memory (checked
every 30 s by the desktop app, on a background thread)
- `disk.localizeFootage` (off by default), `disk.localizeMaxGb` (20), `disk.localizeFolder`,
`disk.networkFootageLocations`: OpenEXR footage on network shares is copied, one file at a
time on a background thread, to a local folder (by default beside the disk cache's folder),
and read from the copy once it is complete and the source still has the size and modification
time it had when copied. Network footage is UNC paths (`\\server\share\…`) and the locations
listed in `disk.networkFootageLocations` (`;`-separated path prefixes, such as a drive letter
mapped to a share: `P:\`). The copies take at most `disk.localizeMaxGb` and leave the disk
cache's reserve free on their disk; earlier sessions' copies are adopted. The Disk page shows
the local copies, what is queued and being copied, and the network locations
- `memory.ramReservedGb`: RAM Reserved for Other Applications, the one memory setting (After
Effects has a setting of this name too). EffectCraft's big caches (processed layers, also those
of exports and Render Queue runs, decoded footage frames, decoded OpenEXR planes, RAM preview
frames, and the disk cache's write queue) share one budget: 80 % of the installed RAM left
after the reserve. The command-line tool and its MCP server read the installed RAM once at start
(with the default reserve: they don't read the app's settings). The other 20 % is room for
EffectCraft's own working memory (decoders, render buffers, undo, GPU staging, the interface).
With the default 6 GB reserved that is 8.0 GB on a 16 GB machine, 46.4 GB on 64 GB and 97.6 GB
on 128 GB. The budget is at least 192 MB for all caches together; while the installed RAM is
unknown (a sandbox, or the desktop before its first reading) it is 5 GB, in the browser 3.5 GB
(with the RAM preview at most 3 GB there). No cache has a share of its own: when they
hold more than the budget together, the memory accountant frees the least valuable data first,
whichever cache holds it, down to 90 % of the budget. An item's value is what it would cost to
make again (its measured render or decode time; when not measured, a typical 4 ms per MB for a
layer, 8 ms for a preview frame, 2 ms for footage frames and planes) per byte, divided by
`ln(seconds unused + 1) + 1`: a slow decay (about a fifth after a minute unused, a seventh after
ten), so a costly frame unused for minutes still outlives a cheap one; a copy of data another
cache holds (a queued disk write) is worth nothing, and a cache that had to make again what it
let go of shortly before is protected for a while. The frames a playing RAM preview shows next
go last: they may keep the caches over the budget by a tenth of it (at most 1 GB) while other
items can go instead. Besides the bytes the caches count, the process's measured memory is
watched (its resident size, read with each balance and at most every 250 ms): above 95 % of the
installed RAM left after the reserve the caches give way by what it is over even within their
budget (memory nobody counts: GPU staging, effect buffers, the allocator's fragmentation), at
most once per reading unless it grows; above all of it also the preview frames that would
play next. A frame or plane set is written to the disk cache only when making it again costs
more than reading it back (the measured read rate, 10 ms per MB until reads are measured); a
RAM eviction keeps the disk copy, and the disk cache drops its oldest entries first. At most
256 movie and audio files are kept open, the least recently used closed beyond that (image
sequences, OpenEXR included, keep no file open between decodes). In the browser the layer cache also stays within 512 MB and the footage frames within
256 MB (see [web.md](web.md)). The Memory & CPU page shows what EffectCraft may use, of the
installed RAM. Settings saved before this (version 4 and earlier) had Layer Cache, Footage
Frame Cache and Preview (RAM) Cache budgets (`memory.layerCacheMb`, `memory.mediaCacheMb`,
`memory.previewCacheMb`); they are dropped when the settings are read
- `memory.reduceCacheWhenLow`: the budget halves while the system is low on memory (less than
10 % of the RAM, or less than 1 GB, available; checked every 30 s by the desktop app, on a
background thread). It stays halved until twice that much is available again, so freeing the
caches doesn't end the episode at once, and the toast saying so shows once per episode
- `video.enableOutput`, `video.device`, `video.outputDuringPlayback`, `video.mirrorOnMonitor`,
`video.disableWhenBackground`: Video Preview, a second window (or full screen on the display
it is on) showing the composition frame, Mercury Transmit-style
+1 -1
View File
@@ -454,7 +454,7 @@ Mocha and Cineware are third-party and not counted.
| Category | Effects | Notes |
|---|---|---|
| 3D Channel | 3D Channel Extract, Cryptomatte, Depth Matte, Depth of Field, EXtractoR, Fog 3D, ID Matte, IDentifier | Read auxiliary channels: multi-layer OpenEXR (any `layer.channel`, Cryptomatte manifests from the header; EXtractoR picks a layer and channels from popups of the footage's layers and channels, `layer.channels`, #295; the footage itself shows the beauty pass, never Cryptomatte or depth, #412) or the compositor's own depth / layer-ID / normal / UV / Cryptomatte pass for precomps of 3D comps. |
| 3D Channel | 3D Channel Extract, Cryptomatte, Depth Matte, Depth of Field, EXtractoR, Fog 3D, ID Matte, IDentifier | Read auxiliary channels: multi-layer OpenEXR (any `layer.channel`, Cryptomatte manifests from the header; EXtractoR picks a layer and channels from popups of the footage's layers and channels, `layer.channels`, #295; the footage itself shows After Effects' main picture: the unprefixed RGB(A), else Y, else black) or the compositor's own depth / layer-ID / normal / UV / Cryptomatte pass for precomps of 3D comps. |
| Immersive Video | VR Blur, VR Chromatic Aberrations, VR Color Gradients, VR Converter, VR De-Noise, VR Digital Glitch, VR Fractal Noise, VR Glow, VR Plane to Sphere, VR Rotate Sphere, VR Sharpen, VR Sphere to Plane | Seam-aware equirectangular processing (wrap-around, pole continuation, latitude-scaled filters), mono / over-under / side-by-side layouts; VR Converter between equirectangular, cube maps (4:3, 3:2, 6:1), sphere map and 2D. |
| Color Correction | OCIO CDL / Color Space / Display / File / Look Transform, Color Stabilizer | Built-in minimal OCIO-style config (ACES2065-1, ACEScg, ACEScct, sRGB, Rec.709, Rec.2020, Display P3, linear variants, XYZ) from published matrices and transfer functions; `.cube` / `.3dl` / `.csp` / `.spi1d` / `.spi3d` / `.spimtx` LUTs and ASC `.cc` / `.ccc` / `.cdl`. Custom `.ocio` config files are read from the OCIO v2 documentation (Configuration ▸ Custom: colorspaces and display colorspaces with the scene / display reference spaces joined by the default view transform, roles, displays with v1 and v2 views, view transforms, looks; Matrix, File, Exponent, ExponentWithLinear, Log, LogAffine, CDL, Range, Allocation, ColorSpace, Look, DisplayView, Builtin (matrices and display curves) and Group transforms), so Blender 4.x / 5.x configs give the Standard, AgX, Filmic and False Color views (#410). Grading Primary / Tone transforms, the ACES output and gamut-compression builtins and HLG pass colours through, and the effect shows a warning naming them (`effect.warning`). |
| Distort | CC Flo Motion, Liquify, Rolling Shutter Repair | Liquify strokes are effect data replayed into a displacement mesh (`liquify.stroke` / `liquify.clear` commands; no interactive viewer brush yet). Rolling Shutter Repair uses the KLT tracker. |
+1 -1
View File
@@ -61,7 +61,7 @@ device of their own), `?nosw` (don't register the service worker).
| config directory: settings, shortcut presets, recent projects, the recovery sentinel | `store::WebConfig` in browser storage |
| auto-save folder | `/EffectCraft Auto-Save/` in browser storage (`ConfigStore::files`) |
| media reads (`MediaPool`, `probe`) | `files::WebImporter`: bytes from the file table, handed to `MediaPool::add_bytes` / `probe_bytes` |
| Memory & CPU cache budgets, scaled to the system's RAM | the page's memory, at most 4 GiB (wasm32), which the caches share with the decoders' own decoded frames (FilmCraft keeps up to 384 MB per open movie): the Layer Cache stays within 512 MB and the Footage Frame Cache within 256 MB (`Prefs::cache_budgets`) |
| One cache budget from the system's RAM | the page's memory, at most 4 GiB (wasm32), which the caches share with the decoders' own decoded frames (FilmCraft keeps up to 384 MB per open movie): the installed RAM is unknown, so the caches share 3.5 GB, and within that the RAM preview stays within 3 GB, the layer cache within 512 MB and the footage frames within 256 MB (`Prefs::memory_budget`, `MemoryBudget::caps`) |
| export writes (`effectcraft-export`) | the job's `sink` (`effectcraft_host::FileExporter { sink }`): files land in the table and download after the render; several files (an image sequence) download as one stored `.zip` |
| rfd file dialogs | `<input type=file>` for File ▸ Open / Import; drop files anywhere on the page (`.ecproj` opens, everything else imports); "Save As" / "Output To" pick a download name |
| Media Browser on the file system | browser storage and folders opened with the File System Access API (below) |