@lunagerm-studio/video-cut-skill 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/package.json +12 -4
- package/skills/ai-video-opening/SKILL.md +62 -0
- package/skills/ai-video-opening/references/export-and-validation.md +9 -0
- package/skills/ai-video-opening/references/motion-and-layout.md +7 -0
- package/skills/ai-video-opening/references/series-cases.md +7 -0
- package/skills/blue-white-ui-motion/SKILL.md +30 -0
- package/skills/blue-white-ui-motion/agents/openai.yaml +2 -0
- package/skills/blue-white-ui-motion/references/review.md +25 -0
- package/skills/chengfeng-videocut-skills/LICENSE +201 -0
- package/skills/chengfeng-videocut-skills/NOTICE.md +27 -0
- package/skills/chengfeng-videocut-skills/README.md +265 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/SKILL.md +37 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/agents/openai.yaml +2 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/cut_video.sh +182 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/detect_en_stutter.js +49 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/generate_review.js +1484 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/generate_srt_for_video.sh +75 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/generate_subtitles.js +141 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/review_server.js +381 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/volcengine_transcribe.sh +224 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255/scripts/watch_cut_done.js +86 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/1-/346/240/270/345/277/203/345/216/237/345/210/231.md +56 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/10-/345/210/240/351/231/244/351/243/216/351/231/251/345/210/206/345/261/202.md +44 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/11-/345/217/243/346/222/255/347/250/277/345/257/271/351/275/220.md +40 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/2-/350/257/255/346/260/224/350/257/215/346/243/200/346/265/213.md +30 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/3-/351/235/231/351/237/263/346/256/265/345/244/204/347/220/206.md +56 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/4-/351/207/215/345/244/215/346/243/200/346/265/213.md +77 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/5-/345/215/241/351/241/277/350/257/215.md +48 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/7-/350/277/236/347/273/255/350/257/255/346/260/224/350/257/215.md +32 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/9-/346/256/213/345/217/245/346/243/200/346/265/213.md +79 -0
- package/skills/chengfeng-videocut-skills//345/211/252/345/217/243/346/222/255//347/224/250/346/210/267/344/271/240/346/203/257/README.md +35 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/SKILL.md +32 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/agents/openai.yaml +2 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/references/artifact-contracts.md +168 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/scripts/animation_style.cjs +53 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/scripts/export_final_video.cjs +200 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/scripts/serve_range_preview.cjs +128 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/scripts/user_config.cjs +80 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207/scripts/write_render_mode.cjs +149 -0
- package/skills/chengfeng-videocut-skills//345/217/243/346/222/255/346/210/220/347/211/207//347/224/250/346/210/267/351/205/215/347/275/256/default.json +4 -0
- package/skills/chengfeng-videocut-skills//350/207/252/350/277/233/345/214/226/README.md +23 -0
- package/skills/chengfeng-videocut-skills//350/207/252/350/277/233/345/214/226/SKILL.md +126 -0
- package/skills/continuous-collage-motion/SKILL.md +30 -0
- package/skills/continuous-collage-motion/agents/openai.yaml +4 -0
- package/skills/continuous-collage-motion/references/reference-motion.md +32 -0
- package/skills/continuous-collage-motion/references/shot-plan.md +31 -0
- package/skills/continuous-collage-motion/references/style-check.md +17 -0
- package/skills/table-video/LICENSES/ATTRIBUTION.md +31 -0
- package/skills/table-video/LICENSES/CC-BY-4.0.txt +396 -0
- package/skills/table-video/LICENSES/MIT.txt +21 -0
- package/skills/table-video/SKILL.md +32 -0
- package/skills/table-video/SOURCES.md +61 -0
- package/skills/table-video/agents/openai.yaml +2 -0
- package/skills/table-video/references/complete-motion.md +97 -0
- package/skills/table-video/references/examples/01_/344/270/244/346/256/265/346/274/224/347/244/272.md +73 -0
- package/skills/table-video/references/examples/02_/347/224/237/345/233/276/347/224/237/350/247/206/351/242/221/346/217/220/347/244/272/350/257/215/347/244/272/344/276/213.md +50 -0
- package/skills/table-video/references/examples/03_DESIGN/345/241/253/345/206/231/347/244/272/344/276/213.md +333 -0
- package/skills/table-video/references/examples/04_/350/277/236/347/273/255MG/346/255/243/345/217/215/350/277/207/347/250/213.md +101 -0
- package/skills/table-video/references/examples/05_/345/256/214/346/225/264/350/277/207/347/250/213/346/272/220/347/240/201.md +55 -0
- package/skills/table-video/references/examples/05_/346/205/242/351/225/234/345/244/264/344/270/216/345/220/214/346/236/204/345/233/276/345/233/236/345/275/222.md +35 -0
- package/skills/table-video/references/experience//345/255/227/345/271/225/344/270/216/345/260/201/351/235/242.md +30 -0
- package/skills/table-video/references/experience//345/275/225/345/261/217/345/211/252/350/276/221.md +31 -0
- package/skills/table-video/references/experience//346/211/213/345/212/250/347/224/237/345/233/276/347/224/237/350/247/206/351/242/221.md +53 -0
- package/skills/table-video/references/experience//350/247/206/350/247/211/345/217/231/344/272/213/344/270/216/350/277/236/347/273/255MG.md +102 -0
- package/skills/table-video/references/experience//351/225/234/345/244/264/346/216/250/350/277/233/344/270/216/350/275/254/345/234/272.md +178 -0
- package/skills/table-video/references/intake.md +84 -0
- package/skills/table-video/references/library.md +26 -0
- package/skills/table-video/references/motion-check-method.md +147 -0
- package/skills/table-video/references/planning.md +62 -0
- package/skills/table-video/references/production.md +70 -0
- package/skills/table-video/references/project-rules.md +26 -0
- package/skills/table-video/references/review-and-repair.md +64 -0
- package/skills/table-video/references/self-diagnosis.md +46 -0
- package/skills/table-video/references/sop/01_/345/277/253/351/200/237/345/274/200/345/247/213.md +55 -0
- package/skills/table-video/references/sop/02_/345/210/266/344/275/234SOP.md +77 -0
- package/skills/table-video/references/sop/03_/347/233/256/345/275/225/344/270/216/345/271/266/350/241/214/345/215/217/344/275/234.md +72 -0
- package/skills/table-video/references/sop/04_/351/252/214/346/224/266/344/270/216/350/277/224/344/277/256.md +146 -0
- package/skills/table-video/references/sop/05_/346/226/207/346/241/210/346/243/200/346/237/245_/345/217/257/351/200/211.md +55 -0
- package/skills/table-video/references/sop/06_/351/237/263/346/225/210/344/270/216/351/205/215/344/271/220_/345/217/257/351/200/211.md +138 -0
- package/skills/table-video/references/sop/07_/345/267/245/345/205/267/344/270/216/347/216/257/345/242/203.md +52 -0
- package/skills/table-video/references/sop/08_/346/235/245/346/272/220/344/270/216/350/256/270/345/217/257.md +36 -0
- package/skills/table-video/references/sop/09_DESIGN/345/273/272/347/253/213/344/270/216/346/240/241/351/252/214.md +52 -0
- package/skills/table-video/references/state-contract.md +267 -0
- package/skills/table-video/references/style-and-motion.md +163 -0
- package/skills/table-video/schemas/request.schema.json +44 -0
- package/skills/table-video/schemas/state.schema.json +140 -0
- package/skills/table-video/scripts/cli.mjs +35 -0
- package/skills/table-video/scripts/core.mjs +977 -0
- package/skills/table-video/scripts/gain-proof.mjs +48 -0
- package/skills/table-video/scripts/init-project.mjs +7 -0
- package/skills/table-video/scripts/motion-audit.mjs +589 -0
- package/skills/table-video/scripts/motion-check.mjs +345 -0
- package/skills/table-video/scripts/motion-gates.mjs +997 -0
- package/skills/table-video/scripts/motion-observation.cjs +204 -0
- package/skills/table-video/scripts/preflight.mjs +24 -0
- package/skills/table-video/scripts/process-locate.mjs +57 -0
- package/skills/table-video/scripts/render-motion-example.mjs +143 -0
- package/skills/table-video/scripts/save-reference-image.mjs +249 -0
- package/skills/table-video/scripts/schema.mjs +71 -0
- package/skills/table-video/scripts/stillness.mjs +386 -0
- package/skills/table-video/scripts/storage.mjs +328 -0
- package/skills/table-video/scripts/workflow.mjs +24 -0
- package/skills/talking-head-motion-workflow/SKILL.md +36 -0
- package/skills/talking-head-motion-workflow/agents/openai.yaml +4 -0
- package/skills/talking-head-motion-workflow/references/cinematic-motion-and-sync.md +72 -0
- package/skills/talking-head-motion-workflow/references/classic-ui.md +11 -0
- package/skills/talking-head-motion-workflow/references/history-coverage.md +50 -0
- package/skills/talking-head-motion-workflow/references/layered-assets-and-characters.md +39 -0
- package/skills/talking-head-motion-workflow/references/layout-references.md +41 -0
- package/skills/talking-head-motion-workflow/references/lens-shot-selection.md +138 -0
- package/skills/talking-head-motion-workflow/references/live-interface-motion.md +69 -0
- package/skills/talking-head-motion-workflow/references/motion-recipes.md +40 -0
- package/skills/talking-head-motion-workflow/references/mouse-meter2-case.md +113 -0
- package/skills/talking-head-motion-workflow/references/pop-collage.md +61 -0
- package/skills/talking-head-motion-workflow/references/portable-production.md +32 -0
- package/skills/talking-head-motion-workflow/references/production-requirements.md +85 -0
- package/skills/talking-head-motion-workflow/references/reference-library.md +41 -0
- package/skills/talking-head-motion-workflow/references/safe-areas-and-sound.md +47 -0
- package/skills/talking-head-motion-workflow/references/scene-illustrations.md +19 -0
- package/skills/talking-head-motion-workflow/references/sfx-presets.md +57 -0
- package/skills/talking-head-motion-workflow/references/style-13-github-production.md +33 -0
- package/skills/talking-head-motion-workflow/references/style-13-scene-performance.md +76 -0
- package/skills/talking-head-motion-workflow/references/style-presets.md +111 -0
- package/skills/talking-head-motion-workflow/references/table-video-spatial-mg.md +36 -0
- package/skills/talking-head-motion-workflow/scripts/extract_docx.py +19 -0
- package/skills/talking-head-motion-workflow/scripts/generate_foley.py +93 -0
- package/skills/talking-head-motion-workflow/scripts/render_sfx.py +135 -0
- package/skills/video-production-review/SKILL.md +30 -0
- package/skills/video-production-review/agents/openai.yaml +2 -0
- package/skills/video-production-review/references/episode-review-desk.md +30 -0
- package/skills/video-production-review/references/motion-adjustment-review.md +21 -0
- package/skills/video-production-workflow/SKILL.md +76 -0
- package/skills/video-production-workflow/agents/openai.yaml +2 -0
- package/skills/video-production-workflow/references/table-video-ep09.md +17 -0
- package/skills/video-production-workflow/scripts/check_motion_project.py +83 -0
- package/skills/video-reference-analysis/SKILL.md +32 -0
- package/skills/video-reference-analysis/agents/openai.yaml +2 -0
- package/skills/video-reference-analysis/references/case-format.md +95 -0
- package/skills/video-reference-analysis/references/production-method.md +21 -0
- package/skills/video-reference-analysis/scripts/library.py +371 -0
- package/skills/video-resource-access/SKILL.md +35 -0
- package/skills/video-resource-access/online.enabled +1 -0
- package/skills/video-resource-access/scripts/asset_client.py +159 -0
- package/skills/video-resource-access/scripts/remote_library.py +50 -0
- package//345/256/211/350/243/205/350/257/264/346/230/216.txt +5 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import * as fs from 'node:fs/promises';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import os from 'node:os';
|
|
4
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
5
|
+
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
6
|
+
import { setTimeout as delay } from 'node:timers/promises';
|
|
7
|
+
|
|
8
|
+
export const CONTROL = '00_本期控制';
|
|
9
|
+
const STORE = `${CONTROL}/.storage`;
|
|
10
|
+
const LOCK = `${CONTROL}/.workflow-lock`;
|
|
11
|
+
const PENDING = `${STORE}/pending.json`;
|
|
12
|
+
const TARGETS = Object.freeze({
|
|
13
|
+
state: `${CONTROL}/state.json`,
|
|
14
|
+
qa: '06_审片与QA/QA状态表.md',
|
|
15
|
+
plan: `${CONTROL}/制作大段表.md`,
|
|
16
|
+
});
|
|
17
|
+
const WRITE_ORDER = ['qa', 'state', 'plan'];
|
|
18
|
+
const PHASES = new Set(['before-journal', 'after-journal', 'after-qa', 'after-state', 'after-plan']);
|
|
19
|
+
const PROCESS_START = `${new Date(Date.now() - process.uptime() * 1000).toISOString()}:${randomUUID()}`;
|
|
20
|
+
const lockContext = new AsyncLocalStorage();
|
|
21
|
+
|
|
22
|
+
function failure(code, message, details = {}) {
|
|
23
|
+
return Object.assign(new Error(message), { code, ...details });
|
|
24
|
+
}
|
|
25
|
+
function digest(value) { return createHash('sha256').update(value).digest('hex'); }
|
|
26
|
+
function rootKey(value) {
|
|
27
|
+
const resolved = path.resolve(value);
|
|
28
|
+
return process.platform === 'win32' ? resolved.toLowerCase() : resolved;
|
|
29
|
+
}
|
|
30
|
+
function parseJson(value, code, label) {
|
|
31
|
+
try { return JSON.parse(value.toString('utf8').replace(/^\uFEFF/, '')); }
|
|
32
|
+
catch { throw failure(code, `${label} is not valid JSON.`); }
|
|
33
|
+
}
|
|
34
|
+
async function statIfPresent(file) {
|
|
35
|
+
try { return await fs.lstat(file); }
|
|
36
|
+
catch (error) { if (error.code === 'ENOENT') return null; throw error; }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// All persistent paths are fixed descendants. Check every existing component,
|
|
40
|
+
// including project ancestors: a junction cannot silently redirect control files.
|
|
41
|
+
async function checkedPath(projectRoot, relative = '') {
|
|
42
|
+
if (typeof projectRoot !== 'string' || !projectRoot) throw failure('PATH_INVALID', 'A project directory is required.');
|
|
43
|
+
const root = path.resolve(projectRoot);
|
|
44
|
+
const target = path.resolve(root, relative);
|
|
45
|
+
const below = path.relative(root, target);
|
|
46
|
+
if (below === '..' || below.startsWith(`..${path.sep}`) || path.isAbsolute(below)) {
|
|
47
|
+
throw failure('PATH_ESCAPE', 'Path is outside the project.');
|
|
48
|
+
}
|
|
49
|
+
const parsed = path.parse(target);
|
|
50
|
+
let current = parsed.root;
|
|
51
|
+
const parts = target.slice(parsed.root.length).split(path.sep).filter(Boolean);
|
|
52
|
+
for (let index = 0; index < parts.length; index++) {
|
|
53
|
+
current = path.join(current, parts[index]);
|
|
54
|
+
const info = await statIfPresent(current);
|
|
55
|
+
if (!info) continue;
|
|
56
|
+
if (info.isSymbolicLink()) throw failure('PATH_REDIRECTED', 'Symbolic links and directory junctions are not supported in storage paths.', { path: current });
|
|
57
|
+
if (index < parts.length - 1 && !info.isDirectory()) throw failure('PATH_NOT_DIRECTORY', 'An intermediate storage path is not a directory.', { path: current });
|
|
58
|
+
}
|
|
59
|
+
const rootInfo = await statIfPresent(root);
|
|
60
|
+
if (!rootInfo?.isDirectory()) throw failure('PROJECT_NOT_FOUND', 'The project directory must already exist.', { path: root });
|
|
61
|
+
return target;
|
|
62
|
+
}
|
|
63
|
+
async function ensureDirectory(projectRoot, relative) {
|
|
64
|
+
await checkedPath(projectRoot, relative);
|
|
65
|
+
let current = '';
|
|
66
|
+
for (const part of relative.split('/').filter(Boolean)) {
|
|
67
|
+
current = current ? `${current}/${part}` : part;
|
|
68
|
+
const destination = await checkedPath(projectRoot, current);
|
|
69
|
+
try { await fs.mkdir(destination); }
|
|
70
|
+
catch (error) { if (error.code !== 'EEXIST') throw error; }
|
|
71
|
+
const info = await fs.lstat(destination);
|
|
72
|
+
if (info.isSymbolicLink() || !info.isDirectory()) throw failure('PATH_REDIRECTED', 'Storage directory has been redirected or replaced.', { path: destination });
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
async function readOptional(projectRoot, relative) {
|
|
76
|
+
const file = await checkedPath(projectRoot, relative);
|
|
77
|
+
const info = await statIfPresent(file);
|
|
78
|
+
if (!info) return null;
|
|
79
|
+
if (!info.isFile()) throw failure('PATH_NOT_FILE', 'Expected a regular file.', { path: file });
|
|
80
|
+
return fs.readFile(file);
|
|
81
|
+
}
|
|
82
|
+
async function syncDirectory(directory) {
|
|
83
|
+
// Windows does not expose directory fsync through Node. File flush + same-volume
|
|
84
|
+
// rename is retained; unsupported rename is an error, never an overwrite fallback.
|
|
85
|
+
if (process.platform === 'win32') return;
|
|
86
|
+
const handle = await fs.open(directory, 'r');
|
|
87
|
+
try { await handle.sync(); } finally { await handle.close(); }
|
|
88
|
+
}
|
|
89
|
+
async function atomicWrite(projectRoot, relative, contents) {
|
|
90
|
+
const directory = path.posix.dirname(relative);
|
|
91
|
+
await ensureDirectory(projectRoot, directory);
|
|
92
|
+
const destination = await checkedPath(projectRoot, relative);
|
|
93
|
+
const existing = await statIfPresent(destination);
|
|
94
|
+
if (existing && !existing.isFile()) throw failure('PATH_NOT_FILE', 'Cannot replace a non-file storage target.', { path: destination });
|
|
95
|
+
const temporaryRelative = `${relative}.${randomUUID()}.tmp`;
|
|
96
|
+
const temporary = await checkedPath(projectRoot, temporaryRelative);
|
|
97
|
+
let handle;
|
|
98
|
+
try {
|
|
99
|
+
handle = await fs.open(temporary, 'wx', 0o600);
|
|
100
|
+
await handle.writeFile(contents);
|
|
101
|
+
await handle.sync();
|
|
102
|
+
await handle.close();
|
|
103
|
+
handle = undefined;
|
|
104
|
+
await checkedPath(projectRoot, relative);
|
|
105
|
+
await fs.rename(temporary, destination);
|
|
106
|
+
await syncDirectory(path.dirname(destination));
|
|
107
|
+
} finally {
|
|
108
|
+
if (handle) await handle.close();
|
|
109
|
+
// Only this invocation's exact temporary file is disposable.
|
|
110
|
+
await fs.unlink(temporary).catch(error => { if (error.code !== 'ENOENT') throw error; });
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function processStatus(pid) {
|
|
115
|
+
if (!Number.isSafeInteger(pid) || pid <= 0) return 'unknown';
|
|
116
|
+
try { process.kill(pid, 0); return 'alive'; }
|
|
117
|
+
catch (error) { return error.code === 'ESRCH' ? 'dead' : 'unknown'; }
|
|
118
|
+
}
|
|
119
|
+
async function readOwner(projectRoot) {
|
|
120
|
+
const raw = await readOptional(projectRoot, `${LOCK}/owner.json`);
|
|
121
|
+
if (!raw) throw failure('LOCK_OWNER_UNKNOWN', 'Lock owner is missing; automatic takeover is unsafe.');
|
|
122
|
+
const owner = parseJson(raw, 'LOCK_OWNER_UNKNOWN', 'Lock owner');
|
|
123
|
+
if (!owner || typeof owner.token !== 'string' || typeof owner.hostname !== 'string' ||
|
|
124
|
+
typeof owner.processStart !== 'string' || !Number.isSafeInteger(owner.pid) || owner.pid <= 0 ||
|
|
125
|
+
owner.project !== rootKey(projectRoot)) {
|
|
126
|
+
throw failure('LOCK_OWNER_UNKNOWN', 'Lock owner identity is incomplete or belongs to a different project.');
|
|
127
|
+
}
|
|
128
|
+
return owner;
|
|
129
|
+
}
|
|
130
|
+
async function archiveDeadLock(projectRoot, observed) {
|
|
131
|
+
const claim = await checkedPath(projectRoot, `${LOCK}/recovery.claim`);
|
|
132
|
+
let claimHandle;
|
|
133
|
+
try { claimHandle = await fs.open(claim, 'wx', 0o600); }
|
|
134
|
+
catch (error) {
|
|
135
|
+
if (error.code === 'EEXIST') throw failure('LOCK_RECOVERY_IN_PROGRESS', 'Another recovery claim exists; its ownership must be resolved.');
|
|
136
|
+
if (error.code === 'ENOENT') return false;
|
|
137
|
+
throw error;
|
|
138
|
+
}
|
|
139
|
+
let archived = false;
|
|
140
|
+
try {
|
|
141
|
+
await claimHandle.writeFile(JSON.stringify({ pid: process.pid, hostname: os.hostname(), processStart: PROCESS_START, at: new Date().toISOString() }));
|
|
142
|
+
await claimHandle.sync();
|
|
143
|
+
await claimHandle.close();
|
|
144
|
+
claimHandle = undefined;
|
|
145
|
+
const owner = await readOwner(projectRoot);
|
|
146
|
+
if (owner.token !== observed.token || owner.hostname !== os.hostname() || processStatus(owner.pid) !== 'dead') return false;
|
|
147
|
+
await ensureDirectory(projectRoot, `${STORE}/recovered-locks`);
|
|
148
|
+
const archive = await checkedPath(projectRoot, `${STORE}/recovered-locks/${randomUUID()}`);
|
|
149
|
+
await fs.rename(await checkedPath(projectRoot, LOCK), archive);
|
|
150
|
+
archived = true;
|
|
151
|
+
return true;
|
|
152
|
+
} finally {
|
|
153
|
+
if (claimHandle) await claimHandle.close();
|
|
154
|
+
if (!archived) await fs.unlink(claim).catch(error => { if (error.code !== 'ENOENT') throw error; });
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
async function assertOwnedLock(projectRoot) {
|
|
158
|
+
const token = lockContext.getStore()?.get(rootKey(projectRoot));
|
|
159
|
+
if (!token) throw failure('LOCK_REQUIRED', 'commitFiles and recoverFiles must run inside withProjectLock.');
|
|
160
|
+
const owner = await readOwner(projectRoot);
|
|
161
|
+
if (owner.token !== token || owner.pid !== process.pid || owner.processStart !== PROCESS_START) {
|
|
162
|
+
throw failure('LOCK_LOST', 'The storage lock no longer belongs to this operation.');
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export async function withProjectLock(projectRoot, callback) {
|
|
167
|
+
const key = rootKey(projectRoot);
|
|
168
|
+
if (lockContext.getStore()?.has(key)) throw failure('LOCK_REENTRANT', 'Do not acquire a second lock inside the same project operation.');
|
|
169
|
+
await ensureDirectory(projectRoot, CONTROL);
|
|
170
|
+
const lockDirectory = await checkedPath(projectRoot, LOCK);
|
|
171
|
+
const deadline = Date.now() + 2000;
|
|
172
|
+
const owner = { project: key, hostname: os.hostname(), pid: process.pid, processStart: PROCESS_START,
|
|
173
|
+
token: randomUUID(), operationId: randomUUID(), acquiredAt: new Date().toISOString() };
|
|
174
|
+
for (;;) {
|
|
175
|
+
try { await fs.mkdir(lockDirectory); break; }
|
|
176
|
+
catch (error) { if (error.code !== 'EEXIST') throw error; }
|
|
177
|
+
let existing;
|
|
178
|
+
try { existing = await readOwner(projectRoot); }
|
|
179
|
+
catch (error) {
|
|
180
|
+
// An active acquirer may be between mkdir and writing owner.json. Give it a
|
|
181
|
+
// bounded opportunity to finish, without ever reclaiming an unknown owner.
|
|
182
|
+
if (error.code === 'LOCK_OWNER_UNKNOWN' && Date.now() < deadline) { await delay(25); continue; }
|
|
183
|
+
throw error;
|
|
184
|
+
}
|
|
185
|
+
if (existing.hostname !== os.hostname()) throw failure('LOCK_FOREIGN_HOST', 'A lock from another host cannot be reclaimed automatically.');
|
|
186
|
+
const status = processStatus(existing.pid);
|
|
187
|
+
if (status === 'dead') {
|
|
188
|
+
if (await archiveDeadLock(projectRoot, existing)) continue;
|
|
189
|
+
} else if (status === 'unknown') {
|
|
190
|
+
throw failure('LOCK_OWNER_UNKNOWN', 'The lock owner process cannot be checked safely.');
|
|
191
|
+
}
|
|
192
|
+
if (Date.now() >= deadline) throw failure('LOCK_BUSY', 'A live writer holds the project lock.');
|
|
193
|
+
await delay(25);
|
|
194
|
+
}
|
|
195
|
+
const ownerPath = await checkedPath(projectRoot, `${LOCK}/owner.json`);
|
|
196
|
+
try {
|
|
197
|
+
const handle = await fs.open(ownerPath, 'wx', 0o600);
|
|
198
|
+
try { await handle.writeFile(`${JSON.stringify(owner, null, 2)}\n`); await handle.sync(); }
|
|
199
|
+
finally { await handle.close(); }
|
|
200
|
+
} catch (error) {
|
|
201
|
+
// Preserve an uncertain lock rather than deleting something another process
|
|
202
|
+
// may have changed. A missing owner is reported on the next attempt.
|
|
203
|
+
throw failure('LOCK_CREATE_FAILED', 'Could not record lock ownership.', { causeCode: error.code });
|
|
204
|
+
}
|
|
205
|
+
const context = new Map(lockContext.getStore() || []);
|
|
206
|
+
context.set(key, owner.token);
|
|
207
|
+
try { return await lockContext.run(context, callback); }
|
|
208
|
+
finally {
|
|
209
|
+
const current = await readOwner(projectRoot);
|
|
210
|
+
if (current.token !== owner.token) throw failure('LOCK_LOST', 'Refusing to release a different writer lock.');
|
|
211
|
+
await fs.unlink(ownerPath);
|
|
212
|
+
await fs.rmdir(lockDirectory);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function validateJournal(journal) {
|
|
217
|
+
if (!journal || journal.format !== 1 || typeof journal.transactionId !== 'string' ||
|
|
218
|
+
!/^[0-9a-f-]{36}$/i.test(journal.transactionId) || typeof journal.createdAt !== 'string' ||
|
|
219
|
+
!Array.isArray(journal.entries) || journal.entries.length !== 3) {
|
|
220
|
+
throw failure('JOURNAL_INVALID', 'Pending transaction has an unsupported structure.');
|
|
221
|
+
}
|
|
222
|
+
const seen = new Set();
|
|
223
|
+
for (const entry of journal.entries) {
|
|
224
|
+
if (!entry || !Object.hasOwn(TARGETS, entry.id) || seen.has(entry.id) || entry.target !== TARGETS[entry.id]) {
|
|
225
|
+
throw failure('JOURNAL_INVALID', 'Pending transaction must contain exactly the three fixed targets.');
|
|
226
|
+
}
|
|
227
|
+
seen.add(entry.id);
|
|
228
|
+
if (typeof entry.content !== 'string' || entry.sha256 !== digest(entry.content) ||
|
|
229
|
+
!(entry.previousHash === null || /^[0-9a-f]{64}$/.test(entry.previousHash))) {
|
|
230
|
+
throw failure('JOURNAL_INVALID', 'Pending transaction content or digest is invalid.');
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const state = parseJson(journal.entries.find(item => item.id === 'state').content, 'JOURNAL_INVALID', 'Pending state');
|
|
234
|
+
if (!state || typeof state !== 'object' || Array.isArray(state)) throw failure('JOURNAL_INVALID', 'Pending state must be an object.');
|
|
235
|
+
return journal;
|
|
236
|
+
}
|
|
237
|
+
async function readJournal(projectRoot) {
|
|
238
|
+
const raw = await readOptional(projectRoot, PENDING);
|
|
239
|
+
return raw ? validateJournal(parseJson(raw, 'JOURNAL_INVALID', 'Pending transaction')) : null;
|
|
240
|
+
}
|
|
241
|
+
export async function inspectPending(projectRoot) {
|
|
242
|
+
const journal = await readJournal(projectRoot);
|
|
243
|
+
return journal ? { requiresRecovery: true, transactionId: journal.transactionId, createdAt: journal.createdAt,
|
|
244
|
+
targets: journal.entries.map(entry => entry.target) } : null;
|
|
245
|
+
}
|
|
246
|
+
export async function readState(projectRoot) {
|
|
247
|
+
const pending = await inspectPending(projectRoot);
|
|
248
|
+
if (pending) throw failure('RECOVERY_REQUIRED', 'A prepared transaction must be recovered before reading authoritative state.', pending);
|
|
249
|
+
const raw = await readOptional(projectRoot, TARGETS.state);
|
|
250
|
+
if (!raw) return null;
|
|
251
|
+
const state = parseJson(raw, 'STATE_INVALID', 'State');
|
|
252
|
+
if (!state || typeof state !== 'object' || Array.isArray(state)) throw failure('STATE_INVALID', 'State must be an object.');
|
|
253
|
+
return state;
|
|
254
|
+
}
|
|
255
|
+
async function finishJournal(projectRoot, journal, recovered) {
|
|
256
|
+
await ensureDirectory(projectRoot, `${STORE}/history`);
|
|
257
|
+
const archive = await checkedPath(projectRoot, `${STORE}/history/${journal.transactionId}.${recovered ? 'recovered' : 'completed'}.json`);
|
|
258
|
+
if (await statIfPresent(archive)) throw failure('JOURNAL_CONFLICT', 'A transaction archive with the same ID already exists.');
|
|
259
|
+
await fs.rename(await checkedPath(projectRoot, PENDING), archive);
|
|
260
|
+
await syncDirectory(path.dirname(archive));
|
|
261
|
+
}
|
|
262
|
+
async function checkTargetVersions(projectRoot, journal) {
|
|
263
|
+
// Redo may replace only the captured old version or the exact prepared version.
|
|
264
|
+
// A user edit after interruption is a conflict, not permission to overwrite it.
|
|
265
|
+
for (const entry of journal.entries) {
|
|
266
|
+
const current = await readOptional(projectRoot, entry.target);
|
|
267
|
+
const hash = current === null ? null : digest(current);
|
|
268
|
+
if (hash !== entry.previousHash && hash !== entry.sha256) {
|
|
269
|
+
throw failure('RECOVERY_CONFLICT', 'A transaction target was independently changed; preserve it and resolve the conflict.', { target: entry.target });
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export async function commitFiles(projectRoot, { state, qaMarkdown, planMarkdown }, { fault } = {}) {
|
|
275
|
+
await assertOwnedLock(projectRoot);
|
|
276
|
+
if (!state || typeof state !== 'object' || Array.isArray(state) || typeof qaMarkdown !== 'string' || typeof planMarkdown !== 'string') {
|
|
277
|
+
throw failure('COMMIT_INVALID', 'State, QA Markdown and plan Markdown are required.');
|
|
278
|
+
}
|
|
279
|
+
if (fault !== undefined && (state.testOnly !== true || process.env.TABLE_VIDEO_TEST_FAULTS !== '1')) {
|
|
280
|
+
throw failure('FAULT_NOT_ALLOWED', 'Fault injection requires testOnly state and TABLE_VIDEO_TEST_FAULTS=1.');
|
|
281
|
+
}
|
|
282
|
+
if (fault !== undefined && typeof fault !== 'function' && !PHASES.has(fault)) throw failure('FAULT_INVALID', 'Unknown test fault phase.');
|
|
283
|
+
const inject = async phase => {
|
|
284
|
+
if (typeof fault === 'function') await fault(phase);
|
|
285
|
+
else if (fault === phase) throw failure('TEST_FAULT', `Injected interruption at ${phase}.`, { phase });
|
|
286
|
+
};
|
|
287
|
+
if (await readJournal(projectRoot)) throw failure('RECOVERY_REQUIRED', 'Recover the existing transaction before preparing another.');
|
|
288
|
+
const transactionId = randomUUID();
|
|
289
|
+
const contents = { state: `${JSON.stringify(state, null, 2)}\n`, qa: qaMarkdown, plan: planMarkdown };
|
|
290
|
+
const entries = [];
|
|
291
|
+
const snapshotDirectory = `${STORE}/snapshots/${transactionId}`;
|
|
292
|
+
await ensureDirectory(projectRoot, snapshotDirectory);
|
|
293
|
+
for (const id of ['state', 'qa', 'plan']) {
|
|
294
|
+
const previous = await readOptional(projectRoot, TARGETS[id]);
|
|
295
|
+
entries.push({ id, target: TARGETS[id], previousHash: previous === null ? null : digest(previous),
|
|
296
|
+
content: contents[id], sha256: digest(contents[id]) });
|
|
297
|
+
if (previous !== null) await atomicWrite(projectRoot, `${snapshotDirectory}/${id}.previous`, previous);
|
|
298
|
+
}
|
|
299
|
+
const journal = { format: 1, transactionId, createdAt: new Date().toISOString(), entries };
|
|
300
|
+
await atomicWrite(projectRoot, `${snapshotDirectory}/manifest.json`, `${JSON.stringify({ transactionId,
|
|
301
|
+
files: entries.map(({ id, target, previousHash }) => ({ id, target, previousHash })) }, null, 2)}\n`);
|
|
302
|
+
await inject('before-journal');
|
|
303
|
+
await checkTargetVersions(projectRoot, journal);
|
|
304
|
+
await atomicWrite(projectRoot, PENDING, `${JSON.stringify(journal, null, 2)}\n`);
|
|
305
|
+
await inject('after-journal');
|
|
306
|
+
for (const id of WRITE_ORDER) {
|
|
307
|
+
await assertOwnedLock(projectRoot);
|
|
308
|
+
const entry = entries.find(item => item.id === id);
|
|
309
|
+
await atomicWrite(projectRoot, entry.target, entry.content);
|
|
310
|
+
await inject(`after-${id}`);
|
|
311
|
+
}
|
|
312
|
+
await finishJournal(projectRoot, journal, false);
|
|
313
|
+
return { transactionId, revision: state.revision };
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export async function recoverFiles(projectRoot) {
|
|
317
|
+
await assertOwnedLock(projectRoot);
|
|
318
|
+
const journal = await readJournal(projectRoot);
|
|
319
|
+
if (!journal) return { recovered: false };
|
|
320
|
+
await checkTargetVersions(projectRoot, journal);
|
|
321
|
+
for (const id of WRITE_ORDER) {
|
|
322
|
+
await assertOwnedLock(projectRoot);
|
|
323
|
+
const entry = journal.entries.find(item => item.id === id);
|
|
324
|
+
await atomicWrite(projectRoot, entry.target, entry.content);
|
|
325
|
+
}
|
|
326
|
+
await finishJournal(projectRoot, journal, true);
|
|
327
|
+
return { recovered: true, transactionId: journal.transactionId };
|
|
328
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {status,apply,validate,renderPlan,recover,prepareMigration,commitMigration,cancelMigration} from './core.mjs';
|
|
2
|
+
import {WorkflowError} from './schema.mjs';
|
|
3
|
+
import {options,allowed,requestFile,run} from './cli.mjs';
|
|
4
|
+
await run(async () => {
|
|
5
|
+
const [command,...args]=process.argv.slice(2),o=options(args);
|
|
6
|
+
allowed(o,['project',...(command==='validate'?['action','scope']:[]),...(['apply','adopt','migrate-prepare','migrate-commit','migrate-cancel'].includes(command)?['request']:[])]);
|
|
7
|
+
switch(command) {
|
|
8
|
+
case 'status': return status(o.project);
|
|
9
|
+
case 'next': return (await status(o.project)).next;
|
|
10
|
+
case 'apply': return apply(o.project,await requestFile(o));
|
|
11
|
+
case 'adopt': {
|
|
12
|
+
const request=await requestFile(o);
|
|
13
|
+
if(request.type!=='adopt') throw new WorkflowError('ARGUMENT','adopt requires an adopt request');
|
|
14
|
+
return apply(o.project,request);
|
|
15
|
+
}
|
|
16
|
+
case 'validate': return validate(o.project,{action:o.action,scope:o.scope});
|
|
17
|
+
case 'render-plan': return renderPlan(o.project);
|
|
18
|
+
case 'recover': return recover(o.project);
|
|
19
|
+
case 'migrate-prepare': return prepareMigration(o.project,o.request?await requestFile(o):{});
|
|
20
|
+
case 'migrate-commit': return commitMigration(o.project,await requestFile(o));
|
|
21
|
+
case 'migrate-cancel': return cancelMigration(o.project,await requestFile(o));
|
|
22
|
+
default: throw new WorkflowError('ARGUMENT','Use status, next, apply, adopt, validate, render-plan, recover, migrate-prepare, migrate-commit or migrate-cancel');
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 口播动效制作
|
|
3
|
+
description: 为口播选动效风格、写逐拍分镜、做有声预览与独立片段,覆盖 13 种预设、透明叠加、全屏动效、镜间接续及返修。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 口播动效制作|从一句话定一拍画面
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## 素材访问方式(服务器适配)
|
|
10
|
+
|
|
11
|
+
使用工具站线上发布包,或配置 `LUNAGREM_SKILL_TOKEN` 时,先读[在线素材交接](../video-resource-access/SKILL.md)。素材检索与交接以该说明为准:先按台词用途/组件编号检索,再按需取回一个组件及依赖。不要打开内部素材库、案例预览或整库目录,也不要向用户返回库内预览链接;只预览本次任务输出的作品。原文里的本机盘符、assets 模板和素材库入口在此模式下通过接口取用,不假定这些目录已安装。
|
|
12
|
+
|
|
13
|
+
源码工作区未配置凭证时保留原本地流程;检索脚本可显式传 `--local --library 路径` 继续使用本地库。用户自己的原片、项目和导出仍在本地处理;线上模式不向素材库写入内容。
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## 先决定这一拍要看哪里
|
|
17
|
+
|
|
18
|
+
接收剪后口播、确认稿、风格决定以及上一镜停在哪里。新项目取样看人物位置、手势、录屏和重音,结合[风格预设](references/style-presets.md)给出选择依据。续集从已确认的风格接;第 13 种轨道风和 GitHub 系列读取[逐镜要求](references/style-13-scene-performance.md)及[工程做法](references/style-13-github-production.md)。只给文稿时先写暂定分镜,拿到声音再定准确起止。
|
|
19
|
+
|
|
20
|
+
## 写可演出来的文字分镜
|
|
21
|
+
|
|
22
|
+
按镜号写清原话、触发词或动作、第一眼看见什么、哪个对象发生变化、结果停在哪里、下一镜从哪里接。表情和指向已能传意时可保留真人。需要看软件真实反馈时选录屏。观众需要看清物体关系的段落再设计图形。已选风格下按用途查组件;明确取哪一段动作、哪个主体、哪一声,本期对象和配色写进分镜。依现有项目约定交文字版确认。只需判断风格时交建议即可。
|
|
23
|
+
|
|
24
|
+
## 做能逐个改的有声片段
|
|
25
|
+
|
|
26
|
+
按[制作细则](references/production-requirements.md)和[声音与安全区](references/safe-areas-and-sound.md)制作。一个会动的东西对应独立层,重复出现的实例可分别调位置。用原人声标出第一动、接触和读完的时刻;拟音可独立交 WAV,配回旁白试听,给语气和停顿留余量。新工程默认 60 fps,旧工程按真实时间迁移。透明叠加检查实际 Alpha、人脸和手势,实拍保留原色。默认画面内不烧台词字幕。
|
|
27
|
+
|
|
28
|
+
## 交接与局部返修
|
|
29
|
+
|
|
30
|
+
从同版工程导出完成态帧、逐拍或连续预览,以及本次约定的分层工程、透明或全屏片段。注明镜号、台词区间、实际素材出处、参考借用点及声点。改一镜时连上前后镜听看。留给后续的可复用部分按总控索引登记。内附 Table 代码的署名随[MIT 声明(线上素材按需检索)](../video-resource-access/SKILL.md)保留;工程里另行引入的素材分别注明出处。
|
|
31
|
+
|
|
32
|
+
## 执行已有工程
|
|
33
|
+
|
|
34
|
+
选用内置音效时可从[逐文件音效来源(线上素材按需检索)](../video-resource-access/SKILL.md)回查录音作者和合成方式。镜头所用文件与独立音轨对应登记。
|
|
35
|
+
|
|
36
|
+
实际运行时,同时读取[本机运行手册(线上素材按需检索)](../video-resource-access/SKILL.md)中与当前阶段有关的章节,沿用其命令参数、项目路径、数据格式与既有验收约定。该手册是此次改编前的本地版本,保留原有技术细节及来源记录。
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# 连续镜头、逐拍预览与口播对齐
|
|
2
|
+
|
|
3
|
+
适用于拼贴镜头设计、预览修订和收到粗剪后的制作。这里保存鼠标里程器项目中可复用的要求;具体 M 编号、角色和道具见 [项目案例](mouse-meter2-case.md)。本期新要求优先。
|
|
4
|
+
|
|
5
|
+
## 1. 将修改落实为现行方案
|
|
6
|
+
|
|
7
|
+
- 记录每条反馈的作用范围、最新要求、被替换方案、素材版本、关联片段和验收方法。后续只说“继续”时沿用它们。旧 CSV、旧预览及助手之前的推测不能覆盖较新的用户修正。
|
|
8
|
+
- 分清文字方案、预览图、动效、对齐、交付阶段。“先预览,不直接生成特效”只生成预览;“预览后直接生成”已有后续授权,不再询问。只改指定片段时保留其余设计,若共用组件修正会影响其他段,则检查受影响输出。
|
|
9
|
+
- 动效需要更复杂时增加有因果的动作链。例如预备蓄力 → 入画 → 接触 → 回弹 → 继续行动 → 结果 → 交接。不要用更多随机飞入、闪烁或更长镜头代替叙事。
|
|
10
|
+
|
|
11
|
+
## 2. 全屏到全屏的连续演变
|
|
12
|
+
|
|
13
|
+
每镜写清原台词、主动作、被强调对象、构件增减、镜头景别/位置/运动、进入与退出触发词、音效及下一镜的共用对象。
|
|
14
|
+
|
|
15
|
+
- 先建立完整空间,再通过增加、移除、展开、重排已有部件变成下一全屏。可用车身占屏、管壁遮挡、相册翻页、场景从窗口向外展开等可见动作承接。简单左右卡片配一根箭头不能承担整段全屏叙事。
|
|
16
|
+
- 镜头随信息变化。全景交代关系,中景跟随动作,特写展示按钮、驾驶员、指针或真实数据,完成后拉回结果。按需要做推拉、跟移、轻摇与焦点转移;清晰的截图阅读区不做无意义虚焦。
|
|
17
|
+
- 同一主体跨镜保持身份、朝向、比例与运动相位。全屏舞台切到局部再回到全屏时,观众能理解原对象去了哪里。已获批准的比较镜头可以同框,需有揭开、变成书页、滑轨等承接。
|
|
18
|
+
- 版面在动作过程中同样饱满。用相关环境、大小层级、透视与遮挡支撑主体,不能只在最终停帧补满。短暂空场服务于节奏,避免整段半屏闲置。饱满服从本期人物/字幕安全区配置。
|
|
19
|
+
- 碰撞要有接近、接触、压缩、回弹、衰减;冲镜头要有远近尺度和透视。车轮与车身共用变换,抖动附在正确层级。持续颤抖会破坏读取与停顿。
|
|
20
|
+
- 道路从远处铺近时,分段按消失点组织,近段横向宽度、纵向可见长度和厚度同时增大。每段起落与投影有先后,拼合后车道线连续。案例中至少 10 段、实际用 16 段;一般项目按视觉需要确定数量。
|
|
21
|
+
- 指定立体翻页时采用曲面/网格弯曲或分条变形,表现书脊约束、页边卷曲、正背面、厚度、遮挡及阴影变化。技术可用 Canvas 网格、WebGL、3D 或其他可复现方式,不强制某个软件。
|
|
22
|
+
|
|
23
|
+
## 真人与动效之间的接续
|
|
24
|
+
|
|
25
|
+
- 读相邻两句。优先让同一件道具、文字或结果从前镜的可见状态发展成后镜。需要匹配切时,明确相同的轮廓、位置、尺度或方向,并在两镜的接缝核对。纸签、按钮和图标的出现由台词、动作或已有物件触发。
|
|
26
|
+
- 中间需要留真人反应时,写清道具何时退出,以及回来时如何用同一外形、用色或位置接回。需要切全屏时,让交接道具在接缝两侧的位置和大小可追踪。真人叠加段先按安全区检查。
|
|
27
|
+
- 独立章节可在口播转折或停顿处直接切。说明观众应跟随的线索。关键交接在分镜里把前镜出点、中间变化和后镜入点放在一起,有动态预览时连起来看一次。
|
|
28
|
+
|
|
29
|
+
## 口播重构与图形来源
|
|
30
|
+
|
|
31
|
+
- 图形需要空间时,在全幅实拍底片上先推近以放大真人,再向左或向右横移。按头部、手势、麦克风和素材边缘确认移动后的取景,另用透明图层把图形安排在人物对侧。机位和移动速度跟随台词重音,对侧空间让出后再展开图形。
|
|
32
|
+
- 叠加板块从画面内可见的来源出现,例如手机屏内的网页缩略图、小票上的实际金额、视频里抽出的流程条。镜头跟随这个对象,先交代来源,再分层展开并保留结果。用图形动作表达群内外、数量、时间和因果,保留必要短词。
|
|
33
|
+
- 强调拍点检查主次是否真的换位。重点图形放大时,可在实拍底片内稍拉远真人,也可让店面、手机、标题等支撑物缩小、退后或退出。侧窗作为单独的版式选项。保留能说明来源的线索,随后收走只负责解释上一拍的元素。结果读完后按下一句重新分配画面。
|
|
34
|
+
- 逐段动态预览检查可见变化量。按台词选择全景建立、推近细节、拉回结果、对位切换或分层展开,并核对动作前后的构图。需要验证动态时直接播放原片叠加预览,观察人物重新取景与图形出现的因果关系。
|
|
35
|
+
|
|
36
|
+
## 动效步骤审查
|
|
37
|
+
|
|
38
|
+
每次生成分镜文稿都按下列问题审查全部镜头。改版也复查本轮调整关联的出入点、共用对象及相邻镜头。
|
|
39
|
+
|
|
40
|
+
1. 观众在动作前能认出画面来源和起始状态吗?哪些元素在上一镜就已出现?
|
|
41
|
+
2. 台词中哪个词、手势或操作让画面开始改变?画得出中间状态和最终反馈吗?
|
|
42
|
+
3. 目前的拍法是否只给出弹卡、文字或图标?需要时补上让观众能跟得上的取景、拖拽、碰触、重排、推近、拉远或界面状态变化。
|
|
43
|
+
4. 新增的步骤分别解释了什么?把看不出叙事作用的动作去掉,把时间留给可读反馈。需要保留真人表情或停顿时,写清回人和接下一镜的时机。
|
|
44
|
+
5. 按动作顺序读一遍文稿。发现遗漏关键中间状态、来源和结果断开,或内容贫乏时,先补写分镜,再按台词重音核对一次。
|
|
45
|
+
|
|
46
|
+
手机画面里的卡片从屏内原位置被拖出时,先让观众看到抓取点,再让卡片跟着手指或光标逐渐放大。释放后落定,现出需要讲的网页或结果。群聊演示可以从列表点击进入具体群,看到对应对话、输入、按下发送、消息进入列表和相关反馈。用真实界面或标明示意的复原画面呈现实际涉及的步骤。更多环节由本句内容和时间决定。
|
|
47
|
+
|
|
48
|
+
## 3. 预览数量跟随台词与动作
|
|
49
|
+
|
|
50
|
+
- 每个语义拍点需要能说明它的状态。一个段落包含多个动作就提供多张;不能把 M08–M12 理解成总共只交五张。
|
|
51
|
+
- 按建立空间、动作启动、中间过程/接触、重点特写、结果、交接选取关键帧。连续滚动、鼠标联动、轮轴或场景变形需给相邻时刻对照,静止完成图无法证明运动。
|
|
52
|
+
- 预览来自将来导出的同一场景与时间逻辑。每张标注片段 ID、拍点、时间、对应台词与用途,标注置于审核页而不烧进成片。涉及 AI 预留的图明确是分镜示意。
|
|
53
|
+
- 提供总览联系图、按片段查看的多帧图集、文件索引。标明当前版本,将历史版本单独归档;更新图集时删除索引中旧图的现行引用,不删除用户原素材。
|
|
54
|
+
- 布局预览通过后仍需检查实际编码视频。车轮、鼠标停动、3D 翻页和桌面展开不能仅凭一张海报宣布合格。
|
|
55
|
+
|
|
56
|
+
## 4. 粗剪、重音和情绪卡点
|
|
57
|
+
|
|
58
|
+
1. 读取实际视频的分辨率、帧率/时间基、帧数、时长和音轨,读取 SRT。SRT 是初始定位,实际听取句首、停顿、重复词、笑点及重音;它不自动授权制作字幕。
|
|
59
|
+
2. 建立每段完整原台词、绝对起止时间/帧号、动作事件、情绪强弱、可读停留、音效落点及 AI 预留位置。保留粗剪的时间零点、讲话速度和有效总时长。涉及变帧率源时先确认输出时间网格并保持原时长,不能只改 fps。
|
|
60
|
+
3. 固定重要语义锚点,再分配中间过程。对象在被说到时进入,在强调词落地;停顿处可以预备、短留或减速,下一重音才完成冲近/撞击。重复的词可以对应多次短动作,但需保留结果可读时间。
|
|
61
|
+
4. 根据语气调节镜头推近速度、入场加速度、震动幅度/频率和衰减。响亮、急促的强调可短促有力;解释段平稳且能读;反问或笑点保留人物反应。音量包络可辅助找点,但要结合语义,避免每个响字都随机摇晃。
|
|
62
|
+
5. 重定时针对动作各阶段进行,保护点击、接触、回弹、停留和退出。使用连续、可控的时间映射,避免整段简单加速导致按钮看不清、轮子跳转或停顿丢失。
|
|
63
|
+
6. **将镜头/分镜相位与运行状态时钟分开。** 语气停顿不必冻结本来在行驶的场景;但台词明确示范“鼠标停止”时,其驱动的轮子、道路、背景和速度必须按输入停住。不可让全局镜头漂移掩盖这个停顿。联动实现见 [运行界面参考](live-interface-motion.md)。
|
|
64
|
+
7. 音效跟随最终事件重新定位,按 [音效规则](safe-areas-and-sound.md) 控制峰值与人声避让。独立片段只带所需 SFX,合成审核版保留真实口播。用户自制 AI 片段未给时保留明确的插入区或当前真人镜头,并在交付清单注明未替换。
|
|
65
|
+
|
|
66
|
+
## 5. 验证与修订传播
|
|
67
|
+
|
|
68
|
+
- 以实际输出视频为准检查动作前、中、后和跨段接缝;按目标时间网格验证帧数、时长及 PTS 连续性。检查人声没有累计漂移、断裂或重复,音效在事件落点,人声重点没被盖过。
|
|
69
|
+
- 总视频、分段特效、每段 WAV、全程 SFX、台词/入出点表、缩略图和下载索引属于同一版本。修订关键组件后使受影响的渲染缓存失效,依赖判断包括代码、素材、配置、计时与音效,不能仅凭旧文件存在而跳过。
|
|
70
|
+
- 同时维护估时独立素材包与实际口播版时,修正共有视觉问题需覆盖两者;各自保持正确时长和对应音效。若只更新其中一个,交付中明确哪个已更新。
|
|
71
|
+
- ZIP 测试可解压、文件数与类型吻合、链接指向当前文件。旧版本可留作归档,入口指向新版,避免用户再次下载旧包。
|
|
72
|
+
- 4K 合成片如果使用 1080p 动效放大,注明实际动效渲染分辨率,不能称为全程原生 4K。工具或素材缺失如实列出,不把静态替代或 AI 占位说成完成。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# 经典蓝白界面风
|
|
2
|
+
|
|
3
|
+
用于原版口播动效:克莱因蓝、白色圆角卡片、清晰图标和轻松讽刺的节奏。
|
|
4
|
+
|
|
5
|
+
- 软件界面、电脑桌面、文件比喻可采用白底全屏,类似精简 PPT;适合口播的其他解释可用透明叠加。不是所有段落必须白底。
|
|
6
|
+
- 图标底板尺寸、圆角、描边和视觉大小统一。橙色提示风险,红色强调危险动作;避免为装饰堆叠警示色。
|
|
7
|
+
- 窗口、导航、卡片、按钮、结果分别组织;点击必须有结果,共享模块连续移动到新位置。
|
|
8
|
+
- 文字与解释板块跟随对应对象,共享对齐线;局部说明依次放出,避免一次铺满。
|
|
9
|
+
- 场景插画可用粗黑描边、黑白人物、克莱因蓝环境;需要时读取 [场景插画](scene-illustrations.md)。透明段不能把插画背景铺满口播画面。
|
|
10
|
+
|
|
11
|
+
调用示例:“使用口播视频动效工作流,经典蓝白界面风,16:9,先给文字版。”
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# 历史要求覆盖表
|
|
2
|
+
|
|
3
|
+
按最终修正保留,不把旧版错误当偏好。当前明确要求优先。
|
|
4
|
+
|
|
5
|
+
| 用户反复强调的要求 | 落地位置 |
|
|
6
|
+
|---|---|
|
|
7
|
+
| 同一 skill 可选蓝白 UI / 美式波普拼贴,并能按文稿选取十二套风格预设 | SKILL.md、style-presets.md、classic-ui.md、pop-collage.md |
|
|
8
|
+
| 先文字版,逐段完整原台词、素材截图对位;口误只改明显转录错误 | production-requirements.md §1;事实有歧义先标注 |
|
|
9
|
+
| 先预览图;确认后继续;授权「预览后直接做」不再停下来审批 | SKILL.md 阶段授权;预览是布局检查,不替代动态成片 |
|
|
10
|
+
| 必须实际看三张排版参考图,保留历史好案例 | layout-references.md、images 三张 PNG、迁移案例 |
|
|
11
|
+
| 全屏与透明都要有设计版面、信息饱满、左右均衡 | safe-areas-and-sound.md;pop-collage.md |
|
|
12
|
+
| 每段背景不只换色,网点/装饰/载体/空间均变化 | pop-collage.md 背景对照表 |
|
|
13
|
+
| 真 UI 页面直边与载体融合,不统一生硬撕纸框 | production-requirements.md §2;layout-references.md |
|
|
14
|
+
| 素材完整,不用截断信封,图14换35;保留编号 | production-requirements.md §1 |
|
|
15
|
+
| 素材不要过度复用,可按情境 AI 生成,及时说缺口 | scene-illustrations.md;每个新段审查是否复用同一主物件只换标签,必要时生成新物件/动作 |
|
|
16
|
+
| AI 剪辑系列逐段接收新台词,继承风格、素材方式和已有阶段授权 | SKILL.md 先定文字版;layered-assets-and-characters.md |
|
|
17
|
+
| 分别生成透明底素材,用素材变化演绎,避免整幅插画切割问题 | layered-assets-and-characters.md;pop-collage.md 素材与构图 |
|
|
18
|
+
| 《刚开张,就清仓?》按图 1 替换整个可见人物,保持原有风格效果 | layered-assets-and-characters.md 人物替换范围与检查 |
|
|
19
|
+
| 保留特写和半身的选择,手脚按镜头需求决定可见范围 | SKILL.md 素材完整性;scene-illustrations.md 人物提示词 |
|
|
20
|
+
| 大肥鱼必须用用户提供的蓝发女仆角色 | DSH 素材随案例保存;角色外观与表情依本期素材,不自行换成鱼图标 |
|
|
21
|
+
| 不制作字幕,默认留底部字幕区;本次明确允许满屏不预留,透明段仍保护 | safe-areas-and-sound.md;按项目与段落类型记录例外 |
|
|
22
|
+
| 透明段左边人物右边特效,改透明需重排非只删底图 | safe-areas-and-sound.md;DSH 05/08/10 最终修正 |
|
|
23
|
+
| 分段独立导出,不一次铺满;有各自逻辑的入场/变化/出场 | production-requirements.md §3 |
|
|
24
|
+
| 流畅,箭头左右逐笔画出,头部后出现 | production-requirements.md §3;原生和 Remotion 示例 |
|
|
25
|
+
| 聊天输入、发送、等待、回复要真有过程 | production-requirements.md §2;Grok Bot / Search 案例 |
|
|
26
|
+
| 真实截图和新闻,不能臆造界面能力或实测结果 | production-requirements.md §2 |
|
|
27
|
+
| 必要时 3D 解释;用户自生成 AI 视频留位和提示词 | production-requirements.md §4 |
|
|
28
|
+
| 音效与内容对应且每段单独给 | safe-areas-and-sound.md;Superagent / DSH WAV |
|
|
29
|
+
| 透明归透明,满屏合背景,真实下载不能只给网页 | production-requirements.md §5 |
|
|
30
|
+
| 每段完整台词对应表,不只给标题 | production-requirements.md §5 |
|
|
31
|
+
| 新电脑可调用并复现,不丢参考、源码和素材 | portable-production.md、迁移包运行脚本和验证报告 |
|
|
32
|
+
| 反馈按最终版本生效,先预览不擅自导出;预览数量跟随台词/动作量 | cinematic-motion-and-sync.md §1、§3 |
|
|
33
|
+
| 全屏到全屏通过构件增减与重组承接,具有特写、跟移和焦点变化 | cinematic-motion-and-sync.md §2 |
|
|
34
|
+
| 动作具体且有过程,接近/接触/回弹/余振,复杂度服务叙事 | cinematic-motion-and-sync.md §1、§2 |
|
|
35
|
+
| M01 改全屏、大标题、六条同色整齐淡黄半透明英文滚动带 | mouse-meter2-case.md M01;旧贴脸方案作废 |
|
|
36
|
+
| M02 全屏夜路、左上砸车、车窗飞表、行驶昼夜变化与顺序退出 | mouse-meter2-case.md M02 |
|
|
37
|
+
| M03 至少十段道路按远小近大跳拼,车冲镜头接 M04 | mouse-meter2-case.md M03;连续镜头 §2 |
|
|
38
|
+
| M05 用户 AI 双视频提示词,戴墨镜必须是指定新版房车/司机 | mouse-meter2-case.md M05 与素材锁定 |
|
|
39
|
+
| 奶龙车/奶蛙/讲解人帅脸按用户映射,不擅自生成奶蛙 | mouse-meter2-case.md 素材锁定、M12 |
|
|
40
|
+
| M06 旧车持续行驶入横躺占屏水管,摇管后新版驶出,前后展示仪表 | mouse-meter2-case.md M06;旧竖管堆叠方案作废 |
|
|
41
|
+
| M07 真立体曲面翻页、右下女生开心转圈变疑惑、三个问号 | mouse-meter2-case.md M07;cinematic-motion-and-sync.md §2 |
|
|
42
|
+
| M05 后及所有嵌入运行界面的车、景、表继续动,历史证据保真 | live-interface-motion.md §1、§5;mouse-meter2-case.md M08–M19 |
|
|
43
|
+
| 车轮精确对轴,车身/司机/车轮共享变换,轮角按距离积分 | live-interface-motion.md §2、§3、§7 |
|
|
44
|
+
| 鼠标停—动—停—再动驱动车、背景和读数,不能背景自转 | live-interface-motion.md §4、§7 |
|
|
45
|
+
| 当前窗口路景连续放大成桌面,桌面图标处于上层 | live-interface-motion.md §6;M04/M09/M12 |
|
|
46
|
+
| 粗剪对准台词和停顿,镜头、入场、抖动速度随重音情绪 | cinematic-motion-and-sync.md §4;safe-areas-and-sound.md |
|
|
47
|
+
| 分镜相位和运行状态时钟分开,保留原声与整片时间基 | cinematic-motion-and-sync.md §4、§5 |
|
|
48
|
+
| 修订检查实际编码视频与完整下载包,不沿用失效缓存或旧缩略图 | cinematic-motion-and-sync.md §5;live-interface-motion.md §7 |
|
|
49
|
+
|
|
50
|
+
新制作的默认验收还包括 60 fps 连续动作、动态安全区、透明编码实测、音画等长、逐段导出与 ZIP 清单校验。过去某个工程未达到这些项,不得用其历史状态覆盖这里的最终要求。
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# 透明素材分层与人物替换
|
|
2
|
+
|
|
3
|
+
适用于 AI 剪辑/AI 动效解说系列的续作,以及拼贴人物替换、独立透明素材制作。这里保留用户在本轮明确提出的要求;具体人物、道具、时长与比喻按当前台词确定。
|
|
4
|
+
|
|
5
|
+
## 用户已确认的制作方式
|
|
6
|
+
|
|
7
|
+
- 这个系列沿用美式波普拼贴。用户逐段提供台词,按当前阶段授权制作独立片段,并继承本系列的素材和交付偏好。
|
|
8
|
+
- 人物、道具及需要独立运动的部件各自生成透明底图文件,用它们的位置、缩放、旋转、姿态或状态变化演绎台词。先列出本段的运动对象,再生成对应资产。
|
|
9
|
+
- 用户指出整幅插画后切割会产生画面切割问题。动态主体应从生成阶段独立成层;运动后露出的环境也应有完整背景。整幅预览用于检查构图,正式合成绑定各对象的独立素材。
|
|
10
|
+
- 对《刚开张,就清仓?》的修改,用户要求用其提供的图 1 替换人物,并延续原有风格效果。该参考人物绑定到指定片段;后续其他人物的身份按各自需求确定。
|
|
11
|
+
- 用户随后要求重新生成整个可见人物,并明确喜欢原有特写。按参考图统一生成头部、颈肩、服装、可见身体和手势,形成连贯姿态;单独贴换脸或头不能满足这次人物替换要求。
|
|
12
|
+
- 特写、胸像和半身构图继续使用。按镜头实际需要保留头部、表情、手势或道具,身体与画面边缘可有自然裁切;全身景别仅在站姿、步态等叙事需要时选用。
|
|
13
|
+
|
|
14
|
+
## 资产生成与合成
|
|
15
|
+
|
|
16
|
+
- 为独立运动对象记录语义名称、素材路径、景别、朝向、锚点和前后遮挡关系。同一人物出现多个姿态时共用身份与风格参考,生成每个完整可见姿态,再按动作拍点切换。
|
|
17
|
+
- 提示词描述主体本身、姿态、视角、光线、印刷质感、纸边和透明画布。主体画布按轮廓与运动范围选择,拼贴背景按成片比例设计。具体模板见 [素材提示词](scene-illustrations.md)。
|
|
18
|
+
- 生成后检查实际 Alpha,在浅色和深色背景上查看头发、眼镜、手指、服装边缘和道具。背景应透明,局部纸边可保留。素材表与下载包使用同一版文件。
|
|
19
|
+
- 构图中的前后遮挡用图层关系或主体自己的局部蒙版实现。例如篮球、篮筐各自生成,球进入篮筐后由前沿和球网遮住;这种局部遮挡保留独立资产及其完整轮廓。
|
|
20
|
+
- 通过素材的交接、接触、变化和镜头推拉讲述动作。按实际需要选择全景、中景或特写,并检查放大、转动和出画过程中的边缘。
|
|
21
|
+
- 人物替换时先记录原镜头的景别、位置、朝向、动作和风格,新的可见人物整体匹配这些条件。检查脸、颈肩、服装、手势的连续性,以及与原场景的比例和光线关系。
|
|
22
|
+
|
|
23
|
+
## 可复用的演绎方法
|
|
24
|
+
|
|
25
|
+
以下是本轮制作采用的方法,作为选题时的参考。具体题材和镜头数由新台词决定。
|
|
26
|
+
|
|
27
|
+
| 台词关系 | 可采用的视觉动作 |
|
|
28
|
+
|---|---|
|
|
29
|
+
| 以前夸赞作品,现在先怀疑 AI | 重放同一件作品,让观看者的表情、评论和注意力发生变化,作品本身保持可对照 |
|
|
30
|
+
| 操作门槛降低,创作问题仍需处理 | 一个操作先完成素材整理或初排,随后把剪点、节奏等仍需决定的事项表现为可见选择 |
|
|
31
|
+
| 同样工具,不同人得到不同效果 | 共用同一素材和工具起点,通过实际的剪点、景别、节奏或停留产生可观看的差别 |
|
|
32
|
+
|
|
33
|
+
“同一次投篮 → 快切/留半拍”是第三种方法的一个例子。使用此方法时,共用球员、球和篮筐的场景状态,让各版本的剪辑时间与镜头取景控制观看效果。发生暂停、重放或慢放时,同步对应的播放头和声音。新的题材可以使用适合其内容的其他动作与素材。
|
|
34
|
+
|
|
35
|
+
## 交付与验收
|
|
36
|
+
|
|
37
|
+
- 沿用本系列的独立透明 PNG 交付要求。素材文件按语义命名并打包,包含制作中实际使用的版本;满屏动效按既定流程合成后交付。
|
|
38
|
+
- 独立片段、对应音效、整段预览及完整台词映射使用同一版本。未收到真实口播时标明估时,时长依本段台词调整。
|
|
39
|
+
- 人物修订检查身份、整体可见姿态、原有风格与景别;透明分层检查运动后的背景、边缘和遮挡;比较镜头检查两个结果的实际变化。以导出视频中的连续帧作为验收依据。
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# 用户指定的拼贴排版参考
|
|
2
|
+
|
|
3
|
+
制作美式波普拼贴时,先用图像查看工具实际打开以下三张本地 PNG,再阅读解析。图片随 skill 永久保存,不依赖临时剪贴板、聊天附件、旧预览服务器或记忆。它们是布局与质感参考,不是让新视频照抄海报文字、人物、商标或建筑。
|
|
4
|
+
|
|
5
|
+
## R01 编辑杂志式密集拼贴
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
- 观察:蓝色界面作后景;标题由不同大小与角度的纸片组成;椅子、猫与车辆形成大中小尺度;白色剪贴边统一摄影素材;前景爆炸形、手写线、路标有方向性,画面几乎没有孤立漂浮的素材。
|
|
10
|
+
- 可迁移:把实际软件界面作为舞台,关联人物或道具在其外侧建立前景;用局部白边、少量手写注释和贴纸衔接不同材质。不同元素错时进入,完成态紧凑且左右呼应。
|
|
11
|
+
- 不照搬:照片里的整句小字、猫/车辆等无关物件、不必要的 emoji;不能用密集装饰挡住真实 UI。
|
|
12
|
+
|
|
13
|
+
## R02 城市舞台式空间拼贴
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
- 观察:顶部斜切大标题,中央竖向地标,两侧建筑与人物海报支撑版面;车辆、路牌、地面构成前景,月亮与旧纸在后方,透视与遮挡建立空间。
|
|
18
|
+
- 可迁移:让两侧载体包围中心主动作,用柜台、屏幕、工作站等与本段台词相关的实体组织前中后景;比较或多岗位内容可形成两侧舞台,工作交接沿空间方向运动。
|
|
19
|
+
- 不照搬:把每段都做成中央圆盘、两侧卡片、棋盘地面的同款布局;也不能把横屏硬塞进竖版海报比例。
|
|
20
|
+
|
|
21
|
+
## R03 复古旅行海报式层叠
|
|
22
|
+
|
|
23
|
+
用户首选的拼贴风格参考。米白单色底留出呼吸区,纪念柱贯穿中轴,巨字退到后景,两侧建筑与色块解释地点,前景植物和人物用遮挡把各层收在一起。复用这一层级关系和留白比例,按本段主题替换主体及配景。
|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
- 观察:巨大窄体标题作后景字墙;中间竖向主体贯穿全幅,橙色色面、洋红建筑和深绿植物互相压叠;照片单色处理与旧纸质感统一,底部前景丰富。
|
|
28
|
+
- 可迁移:用简短关键词建立字层,以一个明确主物件贯穿空间;两侧用相关环境或工作道具平衡,采用局部单色和有限强调色统一素材。
|
|
29
|
+
- 不照搬:不能只把背景改成绿、橙、粉就称复刻;不能让字墙穿过需要阅读的页面内容。
|
|
30
|
+
|
|
31
|
+
## 如何落实到每个片段
|
|
32
|
+
|
|
33
|
+
在文字方案中标记 R01/R02/R03 或合理组合,写清本段借用的布局关系、最大主体、前中后景、两侧平衡方式、界面载体、独有纹理和装饰。不是每段都硬用三种,也不是固定按 R01→R02→R03 循环;根据台词选择并改变结构。
|
|
34
|
+
|
|
35
|
+
真实页面通常保留直边和原结构。外围可用相纸裱框、账本页、胶片框、夹板、日历页、显示器等自然承接;胶带、纸层、阴影和前景物件只在阅读区外衔接。不能把方形截图硬压在不匹配的锯齿撕纸底板上,也不能为“融合”撕掉实际内容。
|
|
36
|
+
|
|
37
|
+
完整构图必须包含主视觉与有意义的次级素材,并有尺度和层级差异;不能退化成“底色+一张居中截图+几个图标”。满屏段应紧凑、充实、两侧视觉重量均衡;可读性优先于堆量,透明口播段则以人物安全区为边界。
|
|
38
|
+
|
|
39
|
+
制作前检索当前可访问的以往拼贴工程和已确认结果,复用其素材组织、空间关系或经过验证的动作,不复制其整套背景。以往输出并非全部被认可;用户明确指出的问题始终优先。找不到旧工程就使用本地三张参考图继续,不声称已看过。
|
|
40
|
+
|
|
41
|
+
检查时把所有片段主状态排成对照图,并与三张参考图并看:是否确有层叠、尺度、实体载体和视觉密度;是否每段都只是同一模板换颜色。参考图只能提供设计依据,不能替代实际导出的视频检查。
|