visual-analysis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Visual 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

明确坐标与主体

SubjectTool and coordinatesWhat the image proves
Placed timeline composition
preview_timeline
,
views:["viewer"]
,
viewerFrames
in timeline frames
Clips with their placement, crop, captions, overlays, effects, and framing
Original video / Motion Graphic
inspect_asset
,
sourceFrameCount
for an overview or
sourceTimesMs
in source milliseconds
The source media at those positions
Original image / SVG
inspect_asset
with its default image preview
The source image, without timeline placement
Readable original file in this hostThe host's local inspection toolsSource bytes; no temporary timeline or cloud upload is needed
Use
timelineId
when scope could be ambiguous. Viewer metadata reports the actual
frame
,
timelineTimeMs
, and FPS. Source metadata reports
sourceTimeMs
. 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.
Timeline ranges are half-open
[fromFrame,toFrame)
. Frames at
toFrame
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.
sourceTimesMs
and
sourceFrameCount
are alternatives; bounded transcript context uses the separate
transcriptRangesMs
field.
主体工具与坐标图像能够证明什么
已放置的 timeline 合成
preview_timeline
、
views:["viewer"]
,timeline 帧中的
viewerFrames
片段及其放置位置、裁剪、字幕、叠加层、特效和构图
原始视频 / Motion Graphic
inspect_asset
,使用
sourceFrameCount
获取概览,或使用以毫秒为单位的
sourceTimesMs
相应位置上的源媒体
原始图像 / SVG使用默认图像预览调用
inspect_asset
未放置于 timeline 的源图像
此宿主中可读取的原始文件宿主的本地检查工具源文件字节;无需临时 timeline 或云上传
当范围可能不明确时,使用
timelineId
。Viewer 元数据报告实际的
frame
、
timelineTimeMs
和 FPS。Source 元数据报告
sourceTimeMs
。不要将源时间戳标记为 timeline 时间。在映射二者之前,读取已放置项目的起始位置、源偏移、播放速率和 timeline FPS。
Timeline 范围采用半开区间
[fromFrame,toFrame)
。位于
toFrame
或时长处的帧不在可渲染范围内。托管工具可能跳过无效的请求时刻并报告调整;当没有任何帧可渲染时会失败。检查返回的帧,不要假定每个请求都已渲染。
sourceTimesMs
和
sourceFrameCount
是替代方案;有界的转录上下文使用单独的
transcriptRangesMs
字段。

Read the actual delivery

读取实际交付结果

Preview tools can return an inline image, temporary per-frame
resource_link
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
timeline-frames/...
, and never treat a backend
workspacePath
as a path on the user's computer.
If 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.
预览工具可能返回内联图像、每帧临时的
resource_link
URI,或者在由 workspace 支撑的 runtime 上返回已写入的 workspace 路径。托管插件没有后端 workspace。宿主显示内联图像时,直接检查这些图像。对于图像链接,使用完整返回的 URI 和宿主支持的图像读取器,或在获准的情况下下载到宿主自己的分析目录。绝不根据
timeline-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
applies a common pixel crop;
--tile-width
limits tile size. Read the helper's JSON and inspect the resulting
outputPath
using the host's image viewer. Label strips are analysis annotations, not video content. Analysis images stay separate from project media; import one through asset-import only if the user wants to keep or use it.
可用时,使用工具返回的带标签 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-width
限制 tile 尺寸。读取 helper 的 JSON,并使用宿主的图像查看器检查生成的
outputPath
。标签条是分析标注,不是视频内容。分析图像应与项目媒体分开保存;仅当用户希望保留或使用某个图像时,才通过 asset-import 导入。