visual-analysis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVisual Analysis
视觉分析
Use fresh pixels to decide visual questions: whether an edit appears, when an
animation changes, how a crop or overlay composes, or which source shot fits.
The Antigravity host filesystem and ChatCut's backend workspace are separate.
使用新渲染的像素判断视觉问题:剪辑是否呈现、动画何时发生变化、裁剪或叠加如何合成,或哪个源 shot 最合适。
Antigravity 宿主文件系统与 ChatCut 的后端 workspace 相互独立。
Keep coordinates and subjects explicit
明确坐标与主体
| Subject | Tool and coordinates | What the image proves |
|---|---|---|
| Placed timeline composition | | Clips with their placement, crop, captions, overlays, effects, and framing |
| Original video / Motion Graphic | | The source media at those positions |
| Original image / SVG | | The source image, without timeline placement |
| Readable original file in this host | The host's local inspection tools | Source bytes; no temporary timeline or cloud upload is needed |
Use when scope could be ambiguous. Viewer metadata reports the
actual , , and FPS. Source metadata reports .
Do not label a source timestamp as timeline time. Read a placed item's start,
source offset, playback rate and timeline FPS before mapping between them.
timelineIdframetimelineTimeMssourceTimeMsTimeline ranges are half-open . Frames at or the
duration are outside the renderable range. The hosted tool may skip invalid
requested moments and report adjustments; it fails when none are renderable.
Check the returned frames rather than assuming every request was rendered.
and are alternatives; bounded transcript
context uses the separate field.
[fromFrame,toFrame)toFramesourceTimesMssourceFrameCounttranscriptRangesMs| 主体 | 工具与坐标 | 图像能够证明什么 |
|---|---|---|
| 已放置的 timeline 合成 | | 片段及其放置位置、裁剪、字幕、叠加层、特效和构图 |
| 原始视频 / Motion Graphic | | 相应位置上的源媒体 |
| 原始图像 / SVG | 使用默认图像预览调用 | 未放置于 timeline 的源图像 |
| 此宿主中可读取的原始文件 | 宿主的本地检查工具 | 源文件字节;无需临时 timeline 或云上传 |
当范围可能不明确时,使用 。Viewer 元数据报告实际的 、 和 FPS。Source 元数据报告 。不要将源时间戳标记为 timeline 时间。在映射二者之前,读取已放置项目的起始位置、源偏移、播放速率和 timeline FPS。
timelineIdframetimelineTimeMssourceTimeMsTimeline 范围采用半开区间 。位于 或时长处的帧不在可渲染范围内。托管工具可能跳过无效的请求时刻并报告调整;当没有任何帧可渲染时会失败。检查返回的帧,不要假定每个请求都已渲染。 和 是替代方案;有界的转录上下文使用单独的 字段。
[fromFrame,toFrame)toFramesourceTimesMssourceFrameCounttranscriptRangesMsRead the actual delivery
读取实际交付结果
Preview tools can return an inline image, temporary per-frame
URIs, or written workspace paths on a workspace-backed runtime. Hosted plugins
have no backend workspace. Inspect inline images directly when the host shows
them. For image links, use the full returned URI with a host-supported image
reader, or an allowed download into the host's own analysis directory. Never
infer local files from names such as , and never treat a
backend as a path on the user's computer.
resource_linktimeline-frames/...workspacePathIf rendering is unavailable, read its diagnostic. Source-frame requests on
this connector need the target project open in a capable editor; there is no
automatic cloud fallback. Inspect a readable original locally when that is the
subject, or surface the returned editor URL for composed proof. A metadata read
or successful tool call without visible pixels does not establish appearance.
预览工具可能返回内联图像、每帧临时的 URI,或者在由 workspace 支撑的 runtime 上返回已写入的 workspace 路径。托管插件没有后端 workspace。宿主显示内联图像时,直接检查这些图像。对于图像链接,使用完整返回的 URI 和宿主支持的图像读取器,或在获准的情况下下载到宿主自己的分析目录。绝不根据 之类的名称推断本地文件,也绝不把后端 当作用户计算机上的路径。
resource_linktimeline-frames/...workspacePath如果无法渲染,读取其诊断信息。此 connector 上的源帧请求要求目标项目在具备相应能力的 editor 中打开;没有自动云端回退。如果检查对象是可读取的原始文件,则在本地检查;否则提供返回的 editor URL 作为合成效果的证据。仅读取元数据或成功调用工具但没有可见像素,不能证明外观。
Narrow a change
缩小变化范围
Start with a frame before and after the suspected change. Sample a few moments
between them, then refine the adjacent pair that brackets the difference.
Stop at adjacent timeline frames when exact onset matters. For source footage,
refine source milliseconds instead. An overview proves only sampled moments.
Read full frames before cropping. Use the same crop rectangle and scale for
comparisons, and label the returned frame/time, timeline or source identity.
Keep chronological order left-to-right, then top-to-bottom. Render fresh
evidence after editing; an old contact sheet describes the old state.
先选取疑似变化前后各一帧。在两者之间采样若干时刻,再细化到夹住差异的相邻帧对。若需要确定精确起点,则收敛到相邻的 timeline 帧。对于源视频,则改为细化源毫秒时间。概览只能证明采样时刻。
裁剪前先查看完整帧。比较时使用相同的 crop 矩形和缩放比例,并标注返回的帧或时间、timeline 或 source 身份。按从左到右、再从上到下的顺序排列。编辑后重新渲染证据;旧 contact sheet 描述的是旧状态。
Straightening across shots
跨 Shot 拉直
A clip can contain different camera angles. Choose a reliable level reference
for each affected shot; a doorway viewed in perspective is not enough to infer
camera roll. Apply one rotation to the whole clip only when it suits all shots;
otherwise limit the correction to the intended shot or range and preserve the
others. If the intended reference is unclear, clarify that choice before editing.
Compare matching timeline frames before and after the correction, including
shots that should stay unchanged. Check level, framing and cropped edges together.
Await the edit before requesting its preview, and inspect fresh pixels after an
undo too. Report straightening or restoration only to the extent those frames
verify it.
一个 clip 可能包含不同的 camera angle。为每个受影响的 shot 选择可靠的水平参考;以透视方式看到的门框不足以推断 camera roll。只有当统一旋转适合所有 shot 时,才对整个 clip 应用一次旋转;否则将校正限制在目标 shot 或范围,并保留其他 shot 不变。如果目标参考不明确,编辑前先确认。
同时比较校正前后匹配的 timeline frames,包括应保持不变的 shots。一起检查水平、构图和裁剪边缘。编辑完成后等待其生效,再请求 preview;undo 后同样检查新像素。仅在这些帧能够验证的范围内报告拉直或恢复结果。
Contact sheets from host-local images
基于宿主本地图像生成 Contact Sheet
Use the tool's returned labeled sheet when available. For custom comparisons,
the shared concat-images helper accepts images that
already exist on the host. It needs Node and an available ImageMagick command;
if those are absent, use the host's existing image tools or inspect frames
individually. This skill does not require a new package installation.
bash
node <this-skill-dir>/scripts/concat-images.mjs \
--output <host-analysis-dir>/title-change.jpg --columns 3 \
--caption "timeline frame 120" --caption "timeline frame 123" \
--caption "timeline frame 126" \
<host-analysis-dir>/frame-120.jpg <host-analysis-dir>/frame-123.jpg \
<host-analysis-dir>/frame-126.jpg--crop WIDTHxHEIGHT+X+Y--tile-widthoutputPath可用时,使用工具返回的带标签 sheet。对于自定义比较,共享的 concat-images helper 接受已存在于宿主上的图像。它需要 Node 和可用的 ImageMagick 命令;如果这些不可用,则使用宿主现有的图像工具或逐帧检查。此 skill 不需要安装新 package。
bash
node <this-skill-dir>/scripts/concat-images.mjs \
--output <host-analysis-dir>/title-change.jpg --columns 3 \
--caption "timeline frame 120" --caption "timeline frame 123" \
--caption "timeline frame 126" \
<host-analysis-dir>/frame-120.jpg <host-analysis-dir>/frame-123.jpg \
<host-analysis-dir>/frame-126.jpg--crop WIDTHxHEIGHT+X+Y--tile-widthoutputPath