mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-07 02:51:24 +00:00
Merge remote-tracking branch 'upstream/main' into m2915-merge
This commit is contained in:
commit
4aaf9c4bb4
110 files changed
+7835
-425
No files matched your search
+11
-1
@@ -483,7 +483,9 @@ undistort?, wait?}`) apply
|
||||
Effect ▸ Perspective ▸ 3D Camera Tracker (or reuse the layer's) and analyse it in the background:
|
||||
"Analyzing in background (step 1 of 2)" tracks features, "Solving camera" solves.
|
||||
`camera.analyze {layer?, effect?, wait?}` re-runs it, `camera.cancel` stops it without writing
|
||||
anything. `camera.solveStatus` reports `progress`/`banner`, `analyzed`, `solved`, `methodUsed`,
|
||||
anything. `camera.solveStatus` reports `progress`/`banner`, `analyzed`, `solved` (every frame
|
||||
solved), `partial` with `solvedFrames` of `frames` (the camera is interpolated on the other frames,
|
||||
and `camera.exportBlender` refuses such a solve), `methodUsed`,
|
||||
`averageError` (pixels), `focalLength`, `horizontalAngleOfView`, the current frame's `camera`
|
||||
(position, orientation, zoom), `groundPlane` and the solved `lensDistortion` (`k1`, `k2`, normalised by
|
||||
half the frame diagonal) when Solve Lens Distortion (`effects/#1/advanced/lensDistortion`, also on
|
||||
@@ -759,6 +761,14 @@ effectcraft-cli render main.ecproj --comp Main --out main.mov --format prores --
|
||||
effectcraft-cli render main.ecproj --comp Main --out 'main_[#####].exr' --exr-compression piz --exr-depth half # half-float PIZ OpenEXR frames
|
||||
```
|
||||
|
||||
Runs that save over the project they opened (`--save`, or `--save-as` the same file) take turns, so
|
||||
parallel scripts don't lose edits. Each holds an OS lock on `.<name>.lock` next to the project from
|
||||
before it reads the file until it exits; the next one says so on stderr, waits, and then edits what
|
||||
the first one saved. A crash releases the lock, and the empty file left behind is harmless. Only these
|
||||
CLI runs take the lock: the desktop app, `mcp`, and a `file.save` step in a run without `--save`
|
||||
don't. OS locks can also be unreliable over network shares and synced folders. If the lock can't be
|
||||
taken, the run warns on stderr and saves anyway.
|
||||
|
||||
A long `run` doesn't fit on a command line (Windows caps it at 32 767 characters, Linux one
|
||||
argument at 128 KiB). `run --args-file F` reads the same `<id> <json>` arguments one per line;
|
||||
`run --commands FILE` reads steps as a JSON array of `{"command": ID, "params": {…}}` objects, or one
|
||||
|
||||
Reference in new issue
Block a user