feat(pipeline): automate picture-lock trimming in the preview build
Deploy / deploy (push) Successful in 10m37s

Previews used to ship the full padded (handle-included) render to
clients, with an artist manually pulling picture lock and hand-trimming
the comp to match. The automated preview stage now trims the client
comp to the picture-lock edit itself (a fixed handle count off each
end, per the studio's existing convention) and separately builds an
ungraded, full-duration picture-lock reference MP4 as a diagnostic
sidecar to check back against. A new "No Picture Lock" panel checkbox
is the single override for shots where picture lock is missing or
wrong, falling back to today's untrimmed behavior.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-08-22 12:59:05 +02:00
parent 82dfaee56f
commit 86962eb4bd
14 changed files with 328 additions and 14 deletions
@@ -0,0 +1,6 @@
-- Automated picture-lock handling in the preview build stage: a per-export
-- override to skip it, and a key for the full-duration ungraded reference MP4.
-- AlterTable
ALTER TABLE "exports" ADD COLUMN "noPictureLock" BOOLEAN NOT NULL DEFAULT false;
ALTER TABLE "exports" ADD COLUMN "piclockRefKey" TEXT;
+11
View File
@@ -880,6 +880,11 @@ model Export {
exrTotalBytes BigInt?
checksum String? // sequence-level digest (xxHash of per-file hashes)
/// Full-duration (handles included), ungraded MP4 of just the picture-lock
/// plate — a diagnostic reference to check back against, not a reviewable
/// deliverable, so it lives here rather than as a Version.
piclockRefKey String?
// Slate fields authored per submission (not per shot): they change from one
// delivery to the next, so each Export carries its own and new exports
// default to the previous export's values.
@@ -892,6 +897,12 @@ model Export {
/// correct preview, and rebuilding it from these EXRs would be wrong.
skipPreview Boolean @default(false)
/// Skip picture-lock trimming and the picture-lock reference render for this
/// export — set when picture lock is missing or wrong for the shot, so the
/// preview build falls back to the untrimmed full render range instead of
/// trimming against bad data.
noPictureLock Boolean @default(false)
submittedById String? // resolved User, else null
submittedByName String? // free text from panel config as fallback
supersededById String? // newer Export that replaced this one