feat(pipeline): automate picture-lock trimming in the preview build
Deploy / deploy (push) Successful in 10m37s
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:
@@ -20,6 +20,10 @@ export const pipelineConfigSchema = z.object({
|
||||
templateAep: z.string().max(1000).optional().nullable(),
|
||||
/** Where per-shot pre-renders live, imported by Import Renders. */
|
||||
rendersRoot: z.string().max(1000).optional().nullable(),
|
||||
/** Bare footage root (e.g. "V:/_FOOTAGE") the panel's Pull Picture Lock reads
|
||||
* from at `{footageRoot}/{showId}/_PICLOCKS` — same convention as the panel's
|
||||
* own `getShowFootageRoot()`. */
|
||||
footageRoot: z.string().max(1000).optional().nullable(),
|
||||
/** Overrides for templates that depart from the {showId}_* convention. */
|
||||
overlayComp: z.string().max(200).optional().nullable(),
|
||||
previewComp: z.string().max(200).optional().nullable(),
|
||||
@@ -34,6 +38,7 @@ export type PipelineConfigInput = z.infer<typeof pipelineConfigSchema>;
|
||||
export interface ResolvedTemplates {
|
||||
templateAep: string;
|
||||
rendersRoot: string;
|
||||
footageRoot: string;
|
||||
overlayComp: string;
|
||||
previewComp: string;
|
||||
lutComp: string;
|
||||
@@ -78,10 +83,11 @@ export async function resolveProjectTemplates(project: {
|
||||
return fallback;
|
||||
};
|
||||
|
||||
const [defaultAep, defaultMov, defaultMp4] = await Promise.all([
|
||||
const [defaultAep, defaultMov, defaultMp4, defaultFootageRoot] = await Promise.all([
|
||||
getConfigValue("preview.templateAep"),
|
||||
getConfigValue("preview.movTemplate"),
|
||||
getConfigValue("preview.mp4Template"),
|
||||
getConfigValue("preview.footageRoot"),
|
||||
]);
|
||||
|
||||
return {
|
||||
@@ -89,6 +95,7 @@ export async function resolveProjectTemplates(project: {
|
||||
// No sensible studio-wide default: a renders root that points at another
|
||||
// show's folder is worse than an empty one the panel can report.
|
||||
rendersRoot: pick("rendersRoot", ""),
|
||||
footageRoot: pick("footageRoot", defaultFootageRoot),
|
||||
overlayComp: pick("overlayComp", convention.overlayComp),
|
||||
previewComp: pick("previewComp", convention.previewComp),
|
||||
lutComp: pick("lutComp", convention.lutComp),
|
||||
|
||||
Reference in New Issue
Block a user