收录视频创作原生应用的固定源码

This commit is contained in:
yige committed 2026-10-25 16:40:49 +08:00
1 parent 70f3132ec4
commit 77bd2b4334
7 files changed
+266 -4

No files matched your search

@@ -0,0 +1,116 @@
{
"$schema": "../../schemas/catalog-metadata.v1.schema.json",
"schemaVersion": 1,
"identity": {
"kind": "app",
"id": "video-creation"
},
"presentation": {
"defaultLocale": "zh-CN",
"i18n": {
"zh-CN": {
"name": "视频创作",
"summary": "可编辑影片、原创动效和带版本时点的真实画面审片;与视频导演协作并保留人工修改。",
"description": "可编辑影片、原创动效和带版本时点的真实画面审片;与视频导演协作并保留人工修改。 复用OpenFilm渲染与编辑内核,支持HTML/SVG/Canvas/WebGL自主场景、时间窗总览、多尺寸与修订对照。需单独准备Node.js、pnpm、浏览器和FFmpeg;可选生成服务的许可、账户与费用另计。安装前检查app-authoring-v1的release/runtime-binding能力;目录来源或端口声明不等于已安装、已授权或当前在线。"
},
"en-US": {
"name": "Video Creation",
"summary": "Editable films, original motion scenes and versioned timed visual review, preserving human edits.",
"description": "Reuses the OpenFilm editor and renderer for autonomous HTML/SVG/Canvas/WebGL scenes, temporal overviews, size comparison and revision pairs. Requires Node.js, pnpm, browser/FFmpeg and app-authoring-v1 release/runtime-binding capabilities. Optional model/media licenses, accounts and usage fees are separate. Catalog ports are adjustable installation defaults, not proof of a live runtime."
}
},
"tags": [
"video",
"motion",
"editing",
"visual-review"
]
},
"release": {
"state": "known",
"version": "0.3.0",
"versionScheme": "semver"
},
"timestamps": {
"catalogUpdatedAt": {
"state": "known",
"value": "2026-10-25",
"precision": "day"
},
"releasePublishedAt": {
"state": "unknown"
},
"reviewedAt": {
"state": "known",
"value": "2026-10-25",
"precision": "day"
},
"upstreamObservedAt": {
"state": "known",
"value": "2026-10-25",
"precision": "day"
}
},
"provenance": {
"content": {
"kind": "git",
"url": "https://github.com/desirecore-agent/video-creation.git",
"ref": "f44e7f53ba928b77ce30db843a1d17d6c3163d52"
}
},
"governance": {
"stewardship": "pointer",
"availability": "installable",
"redistribution": "source-pointer-only",
"listingMaintainer": {
"name": "DesireCore Registry maintainers",
"url": "https://github.com/desirecore/registry"
},
"upstreamMaintainer": {
"name": "desirecore-agent",
"url": "https://github.com/desirecore-agent/video-creation"
},
"branding": {
"relationship": "independent-listing",
"nameUsage": "nominative",
"logoStatus": "not-used"
},
"compliance": {
"licenseEvidencePath": "LICENSE",
"noticePath": "THIRD_PARTY_NOTICES.md",
"reviewedRef": "f44e7f53ba928b77ce30db843a1d17d6c3163d52",
"reviewedAt": "2026-10-25",
"reviewedBy": "repository-and-runtime-validation (see review.md)",
"upstreamEndorsed": false
},
"license": {
"state": "known",
"value": "MIT",
"evidencePath": "LICENSE"
}
},
"compatibility": {
"platforms": {
"state": "known",
"values": [
"windows",
"macos",
"linux"
]
},
"requiredClientVersion": "10.0.186"
},
"spec": {
"kind": "app",
"category": "tools",
"placementPolicy": {
"showInMyApps": true,
"allowNavPin": true,
"allowAgentBinding": true
},
"productKind": "application",
"entrypointKinds": [
"agent"
]
}
}
+35
View File
@@ -0,0 +1,35 @@
# 视频创作:安装、更新与卸载
本条目固定源码提交,不携带用户配置、模型额度、素材或已安装事实。安装者先读取同目录manifest.json、review.md以及固定源的LICENSE、TRADEMARK.md、THIRD_PARTY_NOTICES.md和desirecore/RUNTIME.md。浏览器、字体、FFmpeg及可选媒体服务按各自实际许可和费用使用;目录元数据不授予文件、工具或模型权限。
## 准备固定材料
使用manifest.source.url克隆到安装者自己的源码目录,检出manifest.source.ref的完整提交,核对Git对象与许可。不要从可变main、未核验镜像或上游原版替代。需要Node.js >=22.18与pnpm 9.15.9,在该固定源码根执行:
```sh
pnpm install --frozen-lockfile
pnpm build
node desirecore/release.mjs --output <新的材料目录>
```
生成器提供app-authoring-v1清单与明确列出的运行payload,不登记或启动应用。材料不含node_modules、用户工程、身份、凭据或安装ledger;用清单逐文件摘要核验,包含完整运行依赖LICENSE/NOTICE。实际生成内容与已审源不符时停止,不篡改清单迁就。
## 正式安装
先GET平台公开的/apps/authoring/capabilities(实际路由前缀以平台合同为准),确认app-authoring-v1的release和runtime-binding均supported、authorized、available。条目采用10.0.186作为已验证支持下限,不表示所有同版本构建的能力都已启用;缺失时报告需要兼容客户端,不伪装成Docker、MCP或已安装应用。
沿当前平台正式prepare、原owner的真实Bash/TaskHost接纳、runtime/contracts、commit流程,参数遵循公开Schema和RUNTIME.md。安装目标沿当前目录来源与稳定appId=video-creation解析;已有安装则使用其实际installationId和expectedRevision,不新建第二条事实或换来源覆盖。
本目录安装约定Studio管理端口为6390、只读影片origin为相邻6391,均仅回环。这是目录声明的可调安装约定;源码CLI默认port0动态分配,不能拿目录值当在线端口。端口占用时,原owner可选择另一对实际可用连续端口,检查两者并把真实端口写入正式运行合同;不要结束别人的进程。
在平台返回的固定材料根准备prod依赖,并在明确候选home中setup-runtime;浏览器与FFmpeg可能需首次下载。通过原owner执行候选start命令并保存实际terminalId、端口及身份路径/api/desirecore/runtime-identity。正式commit前由原owner关闭候选,确认精确进程及端口退出。正式启动使用平台登记的数据根与注入的PORT,核当前release/revision/generation的binding和实际页面;激活available、安装核验记录或HTTP200单项不等于完整可用。
视频导演单独从市场安装。只从真实安装结果读Agent ID,沿正式配置和弱关联流程接线;不把显示名、仓库slug或个人ID写进公共包。顶层AppHost使用有限桥,交接需宿主真实确认;影片iframe不获得平台权限。
## 更新和卸载
更新前核真实实例、活动Actor/审批/导出/审片队列与未保存工作,保留当前工程及人工参数、DOM和锁。正常AppStop、核精确端口退出后,再prepare固定新源、比较数据合同并以expectedRevision CAS更新;响应未知先查询原submissionId,不重复登记。用户工程、偏好、身份、凭据和ledger不手写、不复制覆盖。更新Agent内容沿平台Git更新/冲突合并,保留本地修改与偏好。
卸载先停止该精确安装,使用正式卸载入口;数据合同默认保留数据。作品与素材不属于release文件,不能随材料清理顺手删除。目录本身不删除或更改用户数据。
English: Install the exact pinned source using existing app-authoring-v1 prepare, owner admission, runtime contract and CAS commit. Node/pnpm/browser/FFmpeg are separate prerequisites; optional model/media licenses and costs are not bundled. Ports6390/6391 are adjustable catalog installation defaults, while the CLI defaults to automatic allocation. Use actual receipts, preserve human edits and app data, query uncertain submissions, and uninstall through the precise lifecycle owner. No internal MCP registration or permission grant is implied.
+85
View File
@@ -0,0 +1,85 @@
{
"id": "video-creation",
"name": "视频创作",
"type": "native-app",
"version": "0.3.0",
"author": "desirecore-agent",
"description": "可编辑影片、原创动效和带版本时点的真实画面审片;与视频导演协作并保留人工修改。",
"shortDesc": "可编辑影片、原创动效和带版本时点的真实画面审片;与视频导演协作并保留人工修改。",
"fullDesc": "可编辑影片、原创动效和带版本时点的真实画面审片;与视频导演协作并保留人工修改。 复用OpenFilm渲染与编辑内核,支持HTML/SVG/Canvas/WebGL自主场景、时间窗总览、多尺寸与修订对照。需单独准备Node.js、pnpm、浏览器和FFmpeg;可选生成服务的许可、账户与费用另计。安装前检查app-authoring-v1的release/runtime-binding能力;目录来源或端口声明不等于已安装、已授权或当前在线。",
"tags": [
"video",
"motion",
"editing",
"visual-review"
],
"icon": "film",
"iconLetter": "影",
"platformSupport": [
"windows",
"macos",
"linux"
],
"category": "tools",
"githubUrl": "https://github.com/desirecore-agent/video-creation",
"requiredClientVersion": "10.0.186",
"install": {
"method": "native-node",
"requirements": {
"docker": false,
"node": ">=22.18",
"minMemory": "未声明固定最低值;渲染开销随影片内容和尺寸变化。",
"minDisk": "未声明固定最低值;需按浏览器、依赖、素材和输出实际空间核对。",
"ports": [
6390
]
},
"configNeeded": [
"pnpm 9.15.9、浏览器与FFmpeg运行依赖;不包含模型额度或付费媒体服务。",
"本目录安装约定管理端口6390、只读影片端口6391;这是可调安装约定,源码CLI默认port0。若占用,可由原owner选择可用连续端口,以正式运行回执记录实际端口。",
"支持app-authoring-v1的release/runtime-binding能力;先检查公开capabilities,缺失时停止并报告需要升级。"
]
},
"placementPolicy": {
"showInMyApps": true,
"allowNavPin": true,
"allowAgentBinding": true
},
"source": {
"kind": "git",
"url": "https://github.com/desirecore-agent/video-creation.git",
"ref": "f44e7f53ba928b77ce30db843a1d17d6c3163d52"
},
"stewardship": "pointer",
"availability": "installable",
"license": "MIT",
"redistribution": "source-pointer-only",
"listingMaintainer": {
"name": "DesireCore Registry maintainers",
"url": "https://github.com/desirecore/registry"
},
"upstreamMaintainer": {
"name": "desirecore-agent",
"url": "https://github.com/desirecore-agent/video-creation"
},
"branding": {
"relationship": "independent-listing",
"nameUsage": "nominative",
"logoStatus": "not-used"
},
"compliance": {
"licenseEvidencePath": "LICENSE",
"noticePath": "THIRD_PARTY_NOTICES.md",
"reviewedRef": "f44e7f53ba928b77ce30db843a1d17d6c3163d52",
"reviewedAt": "2026-10-25",
"reviewedBy": "repository-and-runtime-validation (see review.md)",
"upstreamEndorsed": false
},
"entrypoints": [
{
"id": "manage",
"name": "委派Agent安装、打开与维护视频创作",
"kind": "agent"
}
]
}
+9
View File
@@ -0,0 +1,9 @@
# 固定源审阅边界
- 产品源码固定为manifest.source.ref;0.3.0取自该源码package声明,不捏造新的上游发布号。此目录为源码指针,没有另发二进制Release或打包上游桌面版。
- 源码保留OpenFilm历史、MIT、TRADEMARK与第三方通知,使用独立产品名和自身发行流程;可选媒体服务、浏览器、字体和编解码器许可另按实际组件处理。
- 固定源经core与Linux runtime的PR检查后实际合并,自然main检查单独归源,不挪作合并前门槛。已记录macOS正式受管应用/导演审片、版本与时间点、图片字节、原片及人工锁保留;本次新增CLI副本能力在隔离macOS中以冻结候选客户端连接兼容的已安装服务端,实际读取既有三图,未把候选冒称新服务端安装。Linux运行和macOS原生分源,不推广为新版Windows/Linux GUI验收。
- 已验证构建为DesireCore10.0.186,目录要求实际app-authoring-v1能力准入。代码默认动态port0;目录安装材料选择6390作为可调管理端口约定,并披露相邻只读影片端口6391。实际端口、安装、授权与健康仍由正式运行合同和回执决定。
- 不复制用户影片、私人部署路径、身份、凭据、审片记录或运行标识到公共目录。目录发布本身不改生产安装,不默认创建模型、启用外部服务或注册内部MCP。
English: The catalog pins reviewed source, preserves upstream provenance and notices, and declares a tested client floor rather than a client release promise. Runtime ports and readiness require actual lifecycle evidence. Platform-specific validation stays scoped; private projects and runtime identifiers are not published here.
+13
View File
@@ -0,0 +1,13 @@
# 视频创作使用
从真实安装的应用入口打开工程,film.html仍是唯一时间线;支持自主HTML/CSS/SVG/Canvas/WebGL场景,也可使用构件与组合,不要求字幕或预设模板。人工参数、DOM overrides及锁保持各自权威。
先用公开review --schema发现实际合同。工程顶部“审片”可选择带版本和实际时点的观察材料、点总览格、放大已有PNG,并播放仍核验匹配的历史输出。只有已保存版本、静态源输入与可证明时间映射都匹配时,才允许跳当前工程;缺失明确unknown,不猜时间。
可选data-review-intent按唯一Draft-07Schema记录目标宽度和必要/辅助/装饰信息,它帮助理解用途,不命令删字、排版或改锁。时间窗序列、同捕获尺寸对照和已有两版review-pair沿同一个review入口;对照复用原PNG,不再渲染。每侧来源、版本、实际时间、原图尺寸与摘要独立记录;数字秒数相同不保证语义对齐,数据变化不自动证明画面改善。
导演应对必要图片以完整expected_sha256实际Read,再结合可见像素给出意见;生成回执或HTTP成功不等于已经看图。可选用CLI的--copy-to把核SHA的PNG副本保存到已授权工作目录,用--read <reviewId>读取既有材料而不重新捕获;也可只登记必要的精确制品目录。副本不授予目录权限,不预授权整个应用数据根,文件冲突不覆盖。导出先固定输入快照,读取真实jobs终态;超时未知先查原任务,不重提付费或耗时工作。
新建付费媒体、外部生成服务或模型调用遵循平台原许可、审批和费用边界。若缺依赖、权限或证据,保留工程并报告可恢复的缺项,不伪称成功。技术量值不是审美、节奏、字形对比度或听感认证。
English: Use the installed app and public review contract. Original scenes and human locks remain editable under their existing rules. Review materials retain source/version/time/size identity; comparisons reuse existing PNGs. Optionally copy existing review PNGs into an already authorized workspace with --read/--copy-to, without permission grants or recapture. Read required images with exact digests, verify current inputs before engineering seek, preserve unknown mappings, and use real job receipts for completion. Optional model/media services, licensing, approvals and costs remain separate.